Exemple #1
0
int main (int commands, char *control [])
{
	int stat = 0;
	LocationData *program = 0;
	try {
		program = new LocationData ();
		stat = program->Start_Execution (commands, control);
	}
	catch (exit_exception &e) {
		stat = e.Exit_Code ();
	}
	if (program != 0) delete program;
	return (stat);
}
Exemple #2
0
int main (int commands, char *control [])
{
	LocationData *exe = new LocationData ();

	return (exe->Start_Execution (commands, control));
}