Tuesday, June 18, 2013

C++ & Java: args and argv

aAutoDeleteEnginePath = AdaConstants.AUTODELETE_BIN_PATH;
aAutoDeleteEngineOutputFilePath = AdaConstants.AUTODELETE_OUTPUT_FILE_PATH;
aTerminal = args[0];
aTimestamp = args[1];
C++ the argv[0] is the command itself java the args[0] is the first argument

No comments:

Post a Comment