Preprocessor Directive “Using” (C++)?

Using is not a preprocessor directive. It is seen and analyzed by the compiler proper.

Using is not a preprocessor directive. It is seen and analyzed by the compiler proper. The fact that you often don't put a ; at the end of #define macros is because they are processed as "simple" text replacement by the preprocessor, e.

G: #define SOMETHING "abcd"; ... if (strcmp(thing, SOMETHING) == 0) { ... } ... would be a compiler error since the compiler would see: if (strcmp(thing, "abcd";) == 0) { ... } // ^ invalid here.

Using can be thought as being a declaration, like e.g. Typedef is. And you can ask the compiler to output the result of preprocessing, e.g. With g++ -C -E but there is no simple way to ask it to output the effects of using.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions