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
what is _NO_PROTO
what is _NO_PROTO
Jul 7, 2011 at 12:20pm UTC
spra1323
(8)
I saw in many software's utility files ..something called #ifndef _NO_PROTO ..can some one explain me ..what is it ??
Jul 7, 2011 at 12:23pm UTC
Moschops
(7244)
It means that all the code following that, as far as the #endif, will be ignored if someone has already written
#define _NO_PROTO
It's commonly used in header guards.
http://en.wikipedia.org/wiki/Include_guard
Last edited on
Jul 7, 2011 at 12:24pm UTC
Jul 7, 2011 at 12:43pm UTC
spra1323
(8)
thanx moschops ...
Topic archived. No new replies allowed.