MOOS 0.2375
/home/toby/moos-ivp/MOOS-2375-Oct0611/Docs/Essentials/Antler/code/C.cpp
Go to the documentation of this file.
00001 
00002 #include <MOOSGenLib/MOOSGenLibGlobalHelper.h>
00003 
00004 
00005 int main(int argc,char *argv[])
00006 {
00007     MOOSTrace("This example App has no MOOSApp or Comms Client - it could be anything...\n");              
00008     
00009     for(int i = 0;i<argc;i++)
00010     {
00011         MOOSTrace("arg[%d] = %s\n",i,argv[i]);
00012     }
00013     
00014     const char* q="-/|\\";
00015     int i = 0;
00016     while(1)
00017     {
00018         MOOSPause(100);
00019         MOOSTrace("pretending to do something %c\r",q[i++%3]);
00020     }
00021 }
00022 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines