[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
BCPL » CurlFAQ » TurboCpp » QbasicFAQ_LoadImages » Brainfuck » CppStl » CPP-Beginners-Tutorial-II » GUI » CppKeyWord » WhatLinksHere » CInt
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
BCPL » CurlFAQ » TurboCpp » QbasicFAQ_LoadImages » Brainfuck » CppStl » CPP-Beginners-Tutorial-II » GUI » CppKeyWord » WhatLinksHere » CInt
(C) int
Data type (and thus a keyword) that can hold a single whole number. If you assign it to a broken number, this value gets rounded down. Your compiler should give you a warning then, as in the example below.int main() { int myValue = 12; int myBrokenValue = 12.9; assert(myValue==myBrokenValue); return 0; }
- include <assert.h>
'int' links
Code links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
