How do I find the Rand_Max on my system using C++ code? Just a theory question.
vinochick
0
Newbie Poster
Recommended Answers
Jump to Post#include <iostream> #include <cmath> using namespace std; int main() { cout << "RAND_MAX = " << RAND_MAX << "\n"; return 0; }
All 3 Replies
vinochick
0
Newbie Poster
vinochick
0
Newbie Poster
Dave Sinkula
2,398
long time no c
Team Colleague
restrictment
commented:
Smart Guy, knows how to use google.
+1
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.