|
|
Introduction to C++ for Non C Programmers TopicsC Topics - first two days Introduction why C? applications which compiler software tools information sources definitions Running the C compiler and linker compiling a simple program memory models C Data Types data types & ranges type conversion typedef casting C Storage Classes storage classes scope duration summary Declaring variables & constants Identifiers & keywords Preprocessor commands #define constants #include header files Screen input/output (I/0) printf() scanf() puts() gets() Writing readable code Flow control structures if else for while do-while switch case default break continue return goto C operators operator precedence C functions declaring and using C functions K&R C functions ANSI C functions ANSI prototype functions run-time library functions Arrays declaring & initializing arrays 1D arrays 2D arrays C++ Topics - final three days Introduction C++ vocabulary C++ vs. ANSI C superset of ANSI C enhancements to ANSI C C++ & OOP concepts classes & objects encapsulation inheritance polymorphism data hiding C++ mechanics & syntax new comment style casts declarations data types mixing data types anonymous unions anonymous enumerations pointers to void const modifier stream i/o insertion and extraction operators i/o manipulators ios formatting flags dynamic memory allocation prototype functions inline functions default function arguments references classes & objects class definitions data hiding member data member functions constructor constructor with parameter destructor static member variables static member functions friend functions friend classes libraries |
|
Copyright 2000 - 2026 by DeepSoft, LLC, All Rights Reserved |