Search:

Type: Posts; User: JukeBoxHero

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,943

    double number, min=9999, max=0; don't need to...

    double number, min=9999, max=0;

    don't need to give number a initial value, thats what the cin is for(though you can if you want too). The min must be set as 9999, otherwise it will always stay at...
  2. Replies
    12
    Views
    2,943

    #include #include using...

    #include <iostream>
    #include <vector>

    using namespace std;

    int main()
    {
    int number,max=0,min=9999;
    vector<int> randomNumbers;
    cout << "Type in random numbers 0 - 9999. Enter -1 to...
  3. Replies
    5
    Views
    1,752

    thanks again for the quick reply

    thanks again for the quick reply
  4. Replies
    5
    Views
    1,752

    thanks for the help :) oh and one more thing,...

    thanks for the help :)

    oh and one more thing, right now I can only enter a game title one word long, how do you enter whole sentences using cin?
  5. Replies
    5
    Views
    1,752

    vector problem with erase()

    ok im reading a c++ book called beginning c++ game programming and doing one of the exercises in it which is:

    write a program using vectors and iterators that allows a user to maintain a list of...
Results 1 to 5 of 5