CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: JMac89

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    562

    Vectors and Multiple classes

    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...
  2. Replies
    8
    Views
    662

    Re: command line arguments function

    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...
  3. Replies
    8
    Views
    662

    Re: command line arguments function

    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...
  4. Replies
    8
    Views
    662

    Re: command line arguments function

    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...
  5. Replies
    6
    Views
    7,142

    Re: I need help with for loops

    Not entirely sure if this is correct, but can't you simply use the cmath library and use the abs() function?
  6. Replies
    8
    Views
    662

    command line arguments function

    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...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured