Содержание
- 2. A structure of a program A program in C++ programming language consists of functions, descriptions and
- 3. Input/Output functions There is no built-in input/output functions in C++ programming language. It is implemented using
- 4. Basic I/O functions in a C style: int scanf (const char* format...) //input printf(const char* format...)
- 5. Example #include int main() { int i; printf(“Enter number\n"); scanf("%d", &i); printf(“You‘ve entered a number%d, thanks!",
- 6. And here is what the same program looks like using the BORLAND C ++ class library
- 7. Basic data types in BORLAND C++:
- 8. Named constants A named constant is a constant that has a name. A named constant is
- 9. Declaration of variables The declaration of a variable has the form: type list_of_identifiers; A list of
- 11. Скачать презентацию