示例#1
0
文件: main.cpp 项目: Sosi/lpzrobots
int main (int argc, char **argv)
{
  ThisSim sim;
  track = sim.contains(argv, argc, "-track"); // check whether cmd-line contains -track
  return sim.run(argc, argv) ? 0 : 1;
}
示例#2
0
文件: main.cpp 项目: amr1985/playful
int main (int argc, char **argv)
{  
  ThisSim sim;
  track = sim.contains(argv,argc,"-track") != 0;
  return sim.run(argc, argv) ? 0 : 1;
}