The main function goes like this:
void main( int argc, char** argv ){
// validate that an input was specified
if( argc != 2 )
{
printUsage();
return;
}
if( !strcmp(argv[1], "train") ) learn();
else if( !strcmp(argv[1], "test") ) recognize();
else
{
printf("Unknown command: %s\n", argv[1]);
printUsage();
}
}
When I execute the program the console disappears as soon as it appears.
Thanks so much for your patience and help! :)
Nil