cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Preprocessor Wrapper?
Preprocessor Wrapper?
Mar 25, 2012 at 10:19pm UTC
BarringtonT
(23)
i read somewhere that a prepocessor wrapper prevent a code in the header file from being include into the same source code file more than once. my question is what the heck does it look like?
Last edited on
Mar 25, 2012 at 10:20pm UTC
Mar 25, 2012 at 10:33pm UTC
S G H
(2638)
http://www.cplusplus.com/forum/articles/10627/#msg49679
It's the
1
2
3
4
#ifndef ...
#define ...
/*code*/
#endif
part
Last edited on
Mar 25, 2012 at 10:33pm UTC
Topic archived. No new replies allowed.