what exactly does a #pragma?
if possible show an example
what exactly does a #pragma?
if possible show an example
here is what google told me ?
http://tigcc.ticalc.org/doc/cpp.html#SEC46
useful i think!
> what exactly does a #pragma?
A "get out of jail free card" for your compiler.
It's a means of specifying all sorts of highly implementation specific horridness to your compiler in a fairly organised manner. Example, packing structures is a common thing.
> if possible show an example
Who knows, they're entirely specific to your compiler (it may not have any at all).
Your best bet is read your compiler manual to find out what it supports, and if you're still stuck then ask what does "#pragma foo" mean for the codeMangler 3.0 compiler.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.