where to find info?

I

Ips

hello!
Where can I find a reference to the information that the define names
starting with unserscores are reserved for compilers?
I mean something like this:

#define __MYFILE__ "test.h"

or
#ifndef __MYFILE__
#define __MYFILE__

#endif

any help appreciated

regards;
Ips
 
R

Rolf Magnus

Ips said:
hello!
Where can I find a reference to the information that the define names
starting with unserscores are reserved for compilers?

In the C++ standard. And it's not just #define, but rather any
identifiers starting with an underscore followed by an uppercase letter
or containing two consecutive underscores.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,477
Latest member
ColumbusMa

Latest Threads

Top