is there not something in C++ that has the preset value of pi? like in the math.h file?
Also does anyone remeber the formula for finding the value of a shpere and the area of a circle?
Type: Posts; User: zalbag
is there not something in C++ that has the preset value of pi? like in the math.h file?
Also does anyone remeber the formula for finding the value of a shpere and the area of a circle?
One more thing...
When I compile the program and build the .exe when I run it it automatically closes, is there a way to stop it from doing this or at least get it to wait long enough to see the...
oh I forgot to mention that I am using Microsoft Visual C++ 6.0 so that must be the problem. (I am most likely wrong here).
I have Dev C++ at home, but at school they only have Microsoft Visual...
Hey everyone, I am new so be nice.
I was wondering how to pause the program to let the user read the output so far I have (note that this program is stupid and was just to figure out how to pause...