R
ramu
HI,
Can anyone tell me about pragma? And can u give an example of how
to use it?
Can anyone tell me about pragma? And can u give an example of how
to use it?
Compiler specific, see you documentation. There is no such word as u.ramu said:HI,
Can anyone tell me about pragma? And can u give an example of how
to use it?
Sorry, should be "your documentation".Ian said:Compiler specific, see you documentation. There is no such word as u.
ramu said:HI,
Can anyone tell me about pragma? And can u give an example of how
to use it?
Compiler specific, see you documentation. There is no such word as u.
ramu said:Can anyone tell me about pragma? And can u give an example of how
to use it?
Kenny said:Not necessarily. Below I give a 100% ISO-standard C program that uses
'pragma'.
#include <stdio.h>
int main(void) { puts("pragma is an interestingly concept"); }
Now, you may think this is silly, but the fact that is that here in this
ng, we don't have a clue as to what the OP could possibly be talking
about,
Why?
so my solution is as good as any other take on it.
Could anyone disagree?
osmium said:
Keith Thompson said:In C90, the language defines the #pragma construct, but all pragmas
are implementation-defined.
In C99, there are several language defined #pragmas:
Wow. I did not know that. I thought/assumed that pragma was as much
"outside the box" as are the usual suspects (networking, graphics, blah,
blah, blah)
I stand corrected.
For those of you who have killfiled Kenny McCormack, I felt it
necessary to point out that he's posted something sensible.
Richard Heathfield said:Keith Thompson said:
One swallow doesn't make a summer. When he starts posting topical, useful
information on a regular basis, that might be a good time for a heads-up to
his killfilers.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.