Search:

Type: Posts; User: UnderGod

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    2,395

    When you use #define, aren't you required to use...

    When you use #define, aren't you required to use two parms?

    For instance...

    #define macro mylongfunctionname();
  2. Replies
    4
    Views
    873

    If you wanted to get advanced, you could use...

    If you wanted to get advanced, you could use string.h functions, but a more novice way would be to input a string using getline() and pick out specific characters with a for loop and if statements.
  3. Replies
    4
    Views
    969

    Thats no problem though. Now I just need to...

    Thats no problem though.

    Now I just need to figure out on my own a "search" feature which I am thinking would work with using getline() and setting every line to a variable, and then use str...
  4. Replies
    4
    Views
    969

    It is still overwriting each time a new entry is...

    It is still overwriting each time a new entry is added.


    cout << "Is this information correct? (Y or N)";
    ch = getch();

    if(ch == 'y' ||...
  5. Replies
    4
    Views
    969

    Help with output to files

    I am trying to make a simple phone book. I've got everything all right right down to the actual output to the file.


    cout << "Is this information correct? (Y or N)";
    ch =...
  6. Replies
    8
    Views
    2,957

    What I would do is set each intiger to a...

    What I would do is set each intiger to a variable, and then compare variables.

    This way, you can easily control each number.

    I think this can be done with a for loop and an array.


    int...
Results 1 to 6 of 6