Beispiel #1
0
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;
}
Beispiel #2
0
int main (int argc, char **argv)
{  
  ThisSim sim;
  track = sim.contains(argv,argc,"-track") != 0;
  return sim.run(argc, argv) ? 0 : 1;
}