February 23rd, 2010, 07:01 PM
I have a vector of pointers to baseball players as indicated below
vector<BaseballPlayer*> team;
// stores information regarding a team
along with an iterator to traverse...
February 23rd, 2010, 01:00 AM
So, would this be correct then? I basically am using the parameter on the command line as a prefix for the file names by using the "+" operator.
iFileName = argv[1];
// store the...
February 22nd, 2010, 11:23 PM
Alright, but before I go, could you please explain what the create_names function is doing, specifically, the purpose of the string&? This is not suppose to be hard, but when I attempt to begin...
February 22nd, 2010, 11:08 PM
The reason I'm using the argc, etc. is when I invoke the program:
./MyProgram.exe xyz
where xyz is stored into the argv
This is the original instruction in the assignment:
You will...
February 22nd, 2010, 10:06 PM
Not entirely sure if this is correct, but can't you simply use the cmath library and use the abs() function?
February 22nd, 2010, 09:52 PM
I'm having an issue with writing the body statements for a function called create_names which purpose is to create the names for all of the files (my guess the output files).
Here is the function...