oj mrJudge
Toggle navigation
  • Login
    • Forget Password
      Login
User Image

Hello, Stranger

Guest
  • Analysis Mode
  • Problems
    • All Problems
    • Latest Problems
  • Join Us Now
  • Registration
  • Contact Us
  • Infomation
  • C++ Reference
  • About
    • Help
    • Terms of Use
    • Technical Specifications
    • Credits

C++ Reference as of 28 May 2018

Basic concepts - cppreference.com

Basic concepts

From cppreference.com
< c‎ | language
 
C
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 language
 
Basic Concepts
comments
ASCII
Translation phases
identifier
scope
lifetime
lookup and name spaces
type
arithmetic types
the main() function
memory model and data races
 

This section provides definitions for the specific terminology and the concepts used when describing the C programming language.

A C program is a sequence of text files (typically header and source files) that contain declarations. They undergo translation to become an executable program, which is executed when the OS calls its main function (unless it is itself the OS or another freestanding program, in which case the entry point is implementation-defined).

Certain words in a C program have special meaning, they are keywords. Others can be used as identifiers, which may be used to identify objects, functions, struct, union, or enumeration tags, their members, typedef names, labels, or macros.

Each identifier (other than macro) is only valid within a part of the program called its scope and belongs to one of four kinds of name spaces. Some identifiers have linkage which makes them refer to the same entities when they appear in different scopes or translation units.

Definitions of functions include sequences of statements and declarations, some of which include expressions, which specify the computations to be performed by the program.

Declarations and expressions create, destroy, access, and manipulate objects. Each object, function, and expression in C is associated with a type.

See also

C++ documentation for Basic concepts
Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/language/basic_concepts&oldid=93791"
Navigation
  • Online version
  • Offline version retrieved 2018-04-14 22:05.
  • This page was last modified on 12 June 2017, at 03:10.
  • This page has been accessed 20,879 times.
mrJudge 31.05.2018 (F43DD)
Copyright © 2018 mrJudge. All rights reserved.

Under Construction

Stats Tab Content

Under Construction too