Click here to Skip to main content
15,917,645 members

Comments by ydlrr (Top 4 by date)

ydlrr 28-Mar-21 17:12pm View    
Thank you. With a little research and your solution I was able to make the code work.
ydlrr 28-Mar-21 17:00pm View    
If I enter a number for x that is more than imax the result is always the imax number instead of cout << "overflow\n";
ydlrr 28-Mar-21 15:11pm View    
If cout << imax; no matter the input of the integer lets say 5 by the user the result will be 2147483647 so not sure what you mean by adding cout << imax;
ydlrr 28-Mar-21 2:08am View    
I am new to C++ programming and have not gone over signed and unsigned but will research it. Thanks for your help.