Different Keywords And Commands In Dev C++

Now is a good time to talk about an important concept that can easily throw you off: case sensitivity. Basically, in C, whether you use uppercase or lowercase letters matters. The words Cat and cat mean different things to the compiler. In C, all language keywords. Nov 28, 2005  far keyword? Forum: Bloodshed Software Forum. Creator: Nobody. I want to create a far pointer but dev-c does not appear to have a far keyword. I know there is FAR in windows.h. Why don't you take a different tack and tell us what it is you are trying to achieve, and then perhaps someone can suggest a method that is compatible with a.

  1. Keywords (C); 2 minutes to read +2; In this article. Keywords are predefined reserved identifiers that have special meanings. They cannot be used as identifiers in your program. The following keywords are reserved for Microsoft C. Names with leading underscores, and names followed by (C/CLI) are Microsoft extensions.
  2. C# is a simple, modern, object oriented, and type-safe programming language derived from C and C. C# (pronounced C sharp) is firmly planted in the C and C family tree of languages, and will immediately be familiar to C and C programmers. C# aims to combine the high productivity of Visual Basic and the raw power of C.
< c
CKeywords
Language
Headers
Type support
Program utilities
Variadic function support
Error handling
Dynamic memory management
Date and time utilities
Strings library
Algorithms
Numerics
Input/output support
Localization support
Atomic operations(C11)
Thread support(C11)
Technical Specifications
C keywords
preprocessor-specific
conditionally-supported

This is a list of reserved keywords in C. Since they are used by the language, these keywords are not available for re-definition.

auto
break
case
char
const
continue
default
do
double
else
enum
extern

float
for
goto
if
inline(since C99)
int
long
register
restrict(since C99)
return
short

signed
sizeof
static
struct
switch
typedef
union
unsigned
void
volatile
while

_Alignas(since C11)
_Alignof(since C11)
_Atomic(since C11)
_Bool(since C99)
_Complex(since C99)
_Generic(since C11)
_Imaginary(since C99)
_Noreturn(since C11)
_Static_assert(since C11)
_Thread_local(since C11)

The most common keywords that begin with an underscore are generally used through their convenience macros:

keywordused asdefined in
_Alignas(since C11)alignasstdalign.h
_Alignof(since C11)alignofstdalign.h
_Atomic(since C11)atomic_bool, atomic_int, ..stdatomic.h
_Bool(since C99)boolstdbool.h
_Complex(since C99)complexcomplex.h
_Generic(since C11)(no macro)
_Imaginary(since C99)imaginarycomplex.h
_Noreturn(since C11)noreturnstdnoreturn.h
_Static_assert(since C11)static_assertassert.h
_Thread_local(since C11)thread_localthreads.h

Also, each name that begins with a double underscore __ or an underscore followed by an uppercase letter is reserved: see identifier for details.

Note that digraphs <%, %>, <:, :>, %:, and %:%:/best-auto-tune-plugin-old-school-effect.html. provide an alternative way to represent standard tokens.

The following tokens are recognized by the preprocessor when they are used within the context of a preprocessor directive:

if
elif
else
endif
defined

ifdef
ifndef
define
undef

include
line
error
pragma

The following tokens are recognized by the preprocessor when they are used outside the context of a preprocessor directive:

_Pragma(since C99)

The following additional keywords are classified as extensions and conditionally-supported:

asm
fortran

[edit]References

  • C11 standard (ISO/IEC 9899:2011):
  • 6.4.1 Keywords (p: 58-59)
  • J.5 Common extensions (p: 579-581)
  • C99 standard (ISO/IEC 9899:1999):
  • 6.4.1 Keywords (p: 50)
  • J.5 Common extensions (p: 511-513)
  • C89/C90 standard (ISO/IEC 9899:1990):
  • 3.1.1 Keywords
  • G.5 Common extensions

[edit]See also

Different Keywords And Commands In Dev C File

Retrieved from 'https://en.cppreference.com/mwiki/index.php?title=c/keyword&oldid=102327'