Download - Programming lab 1 lecture
Transcript
- 1. Programming Fundamentals Lab No. 1 Introduction to C++ Basics
- 2. Structure of C++ Programs A C++ program consists of three main parts. Preprocessor Directives The main Function C++ Statements
- 3. Preprocessor Directives #include #include // .h shows that its a header file Using namespace std;
- 4. Main Function Int main() { }
- 5. C++ Statements Coutname; Cout