Does anybody knows about #pragma
where they are used and what is the significance in using them.
If anybody knows about please reply. :?:
brnprasad630
0
Newbie Poster
Recommended Answers
Jump to Post#pragma is usally used to set compiler options within the source,like telling it to link to a static lib before compiling.That stuff usally need one to make a project but with an #pragma it's quite easy if you are in a hurry.
Oh,it's syntax is usually compiler specific.For example …
Jump to Post>I wanted to know where will the selected message will be printed?
It's a part of the preprocessor, therefore it's a compile-time operation. Logically, you can expect the message to be printed in the compiler's output. In Visual Studio that's the output window (Ctrl+Alt+O).>Can you give me a …
All 8 Replies
FireNet
64
Posting Whiz in Training
rishiraj_bayerd
0
Newbie Poster
Chainsaw
12
Posting Pro in Training
brnprasad630
0
Newbie Poster
TheAgent1982
0
Newbie Poster
TheAgent1982
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
Alex Edwards
commented:
That was a great example, I'll have to study the #pragma directive too
+1
TheAgent1982
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.