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

Top Related