#pragma directive in C++
- Compiler Warning (level 1) C4068
- #pragma
- Use of #pragma in C
- C/C++ #include directive with Examples
- #pragma Directive in C/C++
- Draw an ellipse divided by straight line into two colored part in C++ Graphics
- Speed up Code executions with help of Pragma in C/C++
- Pragma directives and the __pragma keyword
- cin get() in C++ with Examples
- Cin-Cout vs Scanf-Printf
- How to use getline() in C++ when there are blank lines in input?
- Difference between cin and cin.get() for char array
unknown pragma
The compiler ignored an unrecognized pragma. Be sure the pragma is allowed by the compiler you are using. The following sample generates C4068:
It is of two types #pragma startup, #pragma exit and #pragma warn.
#pragma startup allows us to specify functions called upon program startup.
#pragma exit allows us to specify functions called upon program exit.
#pragma warn tells the computer to suppress any warning or not.
cin.get() is used for accessing character array. It includes white space characters. Generally, cin with an extraction operator (>>) terminates when whitespace is found. However, cin.get() reads a string with the whitespace.
No comments:
Post a Comment