+ 6
How to change syntax's name using "#define" tool?
For example can i replace "int" by "entier" that way: #define int entier; Am I true or False.
7 odpowiedzi
+ 7
+ 5
@Manual, For example can we replace "int" by entier that way:
#define int entier;
Am I true or False.
+ 5
@Manual did you know in C++ we can replace a keyword from the standard library so easily
By using the keyword not #define but "typedef" that's what I mean.
For more :
http://en.cppreference.com/w/cpp/language/typedef
+ 3
@I'm Muslim
Thank you again.
I will have to use typedef in a code.
+ 2
I have not done that before.
I do not believe you can replace a keyword, from the standard library so easily.
why do you want to replace int?
+ 1
@I'm Muslim
I define is does not have the same use in C++ as Java.
The C++ course refer to it for creating headers and sources for .cpp files.
Define for C++ can be used to name headers.
[Edit]
http://www.cplusplus.com/forum/beginner/14266/
0
I use #define for headers.
What do you mean by change the syntax name?
https://en.m.wikipedia.org/wiki/Syntax_(programming_languages)