slovo | definícia |
explicit type conversion (foldoc) | explicit type conversion
cast
(Or "cast" in C and elsewhere). A programming
construct (syntax) to specify that an expression's value
should be converted to a different type.
For example, in C, to convert an integer (usually 32 bits)
to a char (usually 8 bits) we might write:
int i = 42;
char *p = &buf;
*p = (char) i;
The expression "(char)" (called a "cast") converts i's value
to char type. Casts (including this one) are often not
strictly necessary, due to automatic coercions performed by
the compiler, but can be used to make the conversion obvious
and to avoid warning messages.
(1999-09-19)
|
| |
Nenašli ste slovo čo ste hľadali ? Doplňte ho do slovníka.
na vytvorenie tejto webstránky bol pužitý dictd server s dátami z sk-spell.sk.cx a z iných voľne dostupných dictd databáz. Ak máte klienta na dictd protokol (napríklad kdict), použite zdroj slovnik.iz.sk a port 2628.
online slovník, sk-spell - slovníkové dáta, IZ Bratislava, Malé Karpaty - turistika, Michal Páleník, správy, údaje o okresoch V4