Search:

Type: Posts; User: phantomotap

Search: Search took 0.07 seconds.

  1. Replies
    11
    Views
    1,572

    O_o You did "reseat" the range. I'll give you...

    O_o

    You did "reseat" the range. I'll give you that.

    Note: I've omitted range/error checking.

    Soma


    int random(int min, int max)
  2. Replies
    11
    Views
    1,572

    The macro `RAND_MAX' is provided to "tell" the...

    The macro `RAND_MAX' is provided to "tell" the program/programmer the highest value `std::rand' can naturally generate. You can use an outside implementation or "reseat" the range.



    The...
  3. Replies
    11
    Views
    1,572

    std::cout

    std::cout << RAND_MAX;

    Soma
Results 1 to 3 of 3