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
c++ ques..!!
c++ ques..!!
Mar 9, 2012 at 7:54am UTC
wildcat
(10)
difference between #definePI 3.142 and #defineSQUARE(x)x*x ?
Mar 9, 2012 at 8:56am UTC
MrHutch
(1822)
One is a define (the PI one), which is usually used for storing constants or keywords.
The other is a macro, which is usually used for statements or expressions.
Topic archived. No new replies allowed.