Translations of this page?:

Słowa kluczowe

Poniższa lista przedstawia słowa kluczowe w C++. Ich znaczenie nie może być w żaden sposób zmienione przez programistę (nie można np. zadeklarować zmiennej o nazwie będącej słowem kluczowym).

Słowo kluczoweOpis
andalternatywa dla operatora &&
and_eqalternatywa dla operatora &=
asmwstawia instrukcje assemblera
autodeklaruje lokalną zmienną
booldeklaruje zmienną typu boolean (logiczną)
breakwychodzi z pętli
caseblok kodu w składni switch
catchobsługa wyjątków rzuconych przez throw
chardeklaracja zmiennej znakowej
classdeklaracja klasy
constdeclare immutable data or functions that do not change data
const_castrzutowanie ze zmiennej stałej (cast)
continueprzejście do następnej iteracji pętli
defaultdefault handler in a case statement
deletezwraca pamięć zadeklarowaną dynamicznie
dokonstrukcja pętli
doubledeclare a double precision floating-point variable
dynamic_castdokonuje rzutowania w trakcie działania programu
elsealternatywny blok kodu dla wyrażenia warunkowego if
enumcreate enumeration types
explicitonly use constructors when they exactly match
exportallows template definitions to be separated from their declarations
externtell the compiler about variables defined elsewhere
falsestała reprezentująca wartość boolean false
floatdeclare a floating-point variable
forkonstrukcja pętli
friendgrant non-member function access to private data
gotojump to a different part of the program
ifwywołuje blok kodu na w przypadku prawdziwości testu
inlineoptymilizuje wywołanie funkcji
intdeklaracja zmiennej typu całkowitego
longdeclare a long integer variable
mutableoverride a const variable
namespacepartition the global namespace by defining a scope
newalokuje dynamicznie pamięć dla nowej zmiennej
operatortworzy przeciążoną funkcję operatorową
privatedeklaruje prywatne pole klasy
protecteddeklaruje chronione pole klasy
publicdeklaruje publiczne pole klasy
registerrequest that a variable be optimized for speed
reinterpret_castchange the type of a variable
returnwyjście z funkcji (i ew. zrócenie wyniku)
shortdeclare a short integer variable
signedmodify variable type declarations
sizeofzwraca rozmiar zmiennej lub typu
staticcreate permanent storage for a variable
static_castperform a nonpolymorphic cast
structdefinicja struktury
switchexecute code based on different possible values for a variable
templatetworzy funkcję uogólnioną
thiswskaźnik do obecnego obiektu
throwthrows an exception
truestała reprezentująca wartość boolean true
trywykonuje kod, który może wyrzucić wyjątek
typedefcreate a new type name from an existing type
typeiddescribes an object
typenamedeclare a class or undefined type
uniona structure that assigns multiple variables to the same memory location
unsigneddeclare an unsigned integer variable
usingimport complete or partial namespaces into the current scope
virtualcreate a function that can be overridden by a derived class
voiddeclare functions or data with no associated data type
volatilewarn the compiler about variables that can be modified unexpectedly
wchar_tdeclare a wide-character variable
whiledeklaracja pętli while
 
• • • IndeksOstatnie zmianyRSScc