English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-09-25 05:26:13 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

#pragma does nothing with C language, it is a compiler directive. Its uses are for changing the compiler settings for a particular part of code. For instance if you want to add some inline assembly code to a C routine, you would use #pragma ASM.

2006-09-25 09:51:59 · answer #1 · answered by justme 7 · 1 0

Although I do have some basic knowledge of C, I have not come across the #pragma directive. I can tell you though that pragma in Greek means thing if that is any help to you.

2006-09-25 05:35:14 · answer #2 · answered by Anonymous · 0 1

Pragma Directive In C

2016-12-12 08:58:24 · answer #3 · answered by ? 4 · 0 0

It was introduced to tell the compiler to do something differently from its usual way. Usually there were a pair of them, bracketing the part of a source file to be treated differently - whereas a compilation option would apply to the whole file.

The current view is that they were a very very bad idea, and should no longer be used. Whatever you thought you could do with them, there is some better way to do it.

2006-09-25 07:36:00 · answer #4 · answered by Anonymous · 2 1

fedest.com, questions and answers