cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Simple 2 second question.
Simple 2 second question.
Oct 7, 2012 at 6:36pm UTC
insane24illusions
(36)
How would I write 6.673*10^-8 in code?
It is a gravitational constant in one of my programs..
I have somewhat an idea on how to code it, but i'm not sure.
I would really appreciate a second opinion.
Oct 7, 2012 at 6:44pm UTC
insane24illusions
(36)
Please really simple . Anyone?
Oct 7, 2012 at 6:44pm UTC
Chervil
(7320)
const
float
g = 6.673e-8;
"floating point numbers"
http://www.cplusplus.com/doc/tutorial/constants/
"Fundamental data types"
http://www.cplusplus.com/doc/tutorial/variables/
Oct 7, 2012 at 6:49pm UTC
insane24illusions
(36)
Wow thanks you so much. References really help! I bookmarked them lol
:D
Topic archived. No new replies allowed.