tnotes
:
CConst
Categories
PageIndex
RecentChanges
RecentlyCommented
Login/Register
Search:
Const
1. Konstante Variable
const
int
*
x
;
2. Konstante Pointer
int
*
const
x
;
3. Verwenung von const in Funktionen
int
berechne
(
const
int
a
)
{
return
(
a
*
5
-
3
)
;
}
;
Effekt:
Der Compiler kann aufgrund dieser Information ggf. besser optimieren! Gehen sie großzügig damit um.
Voraussetzung:
Sie wollen die Variable nicht innerhalb der Funktion ändern
Siehe auch
Valid XHTML
::
Valid CSS:
::
Powered by WikkaWiki