0

which library I can use instead of #Pragma Once on c++

I know that some compilers did not recognize the use of #Pragma Once what can use instead?

3rd Dec 2017, 6:00 AM
María José
María José - avatar
1 Answer
+ 4
You may use an #ifndef ... #endif block. #ifndef HEADER_NAME_H #define HEADER_NAME_H /* Your Header's Code here. */ #endif // Done!
3rd Dec 2017, 8:58 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar