+ 2

Pragma ( preprocessor directive) is not working

5th Nov 2018, 6:15 AM
Pushkar Singh Bisht
Pushkar Singh Bisht - avatar
3 Respuestas
+ 5
if its not working, maybe it because pragma were introduced on c++11 standard library. Make sure you use c++11 or later version to make it working. Other than that, maybe you can use ifndef... (it was same as pragma) Example: #ifndef CLASS_H #define CLASS_H //Some code #endif
5th Nov 2018, 6:54 AM
オレンジ
オレンジ - avatar
+ 2
Where's your code ?
5th Nov 2018, 6:33 AM
Taste
Taste - avatar
+ 1
thank u Miya , yup maybe this is the reason
5th Nov 2018, 7:52 AM
Pushkar Singh Bisht
Pushkar Singh Bisht - avatar