What is the significance of #pragma directive? I read it in a book and still dont seem to understand it .
Printable View
What is the significance of #pragma directive? I read it in a book and still dont seem to understand it .
pragma directives are things specific to a certain computer architecure (hardware, or operating system).
Here's MSDN's explanation and list: Pragma Directives (C/C++) (so those are all directives that are specific to compiling for Microsoft operating systems
Pragma are compiler-specific stuff.
Some of them are OS-specific.