rand() generating numbers outside of expected range@ aleonard: Thank you for the clarification. When I run this code to learn a bit more about the ra...
rand() generating numbers outside of expected rangeThanks. 1st I changed the code to this: [code] v1 = rand() % 93 + 33; [/code] The result was th...
rand() generating numbers outside of expected rangeWhy does this code generate values outside of the expected range of 33 to 126? [code] int vi; ...
Passing file names as formal parameters from main to function in another .cpp fileThanks for the reply. You're right it works when I stop trying to pass std::ifstream and std::ofstr...
Passing file names as formal parameters from main to function in another .cpp fileI am trying to pass file names as formal parameters to a function in a separate .cpp file where the ...
This user does not accept Private Messages