This document discusses types of devices including input, output, and input/output devices. It also outlines the basic structure of a C++ program including preprocessor directives, the main() function, and C++ statements terminated with a semicolon. Finally, it lists the three main types of errors as syntax errors, logical errors, and run time errors.
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
100 views
Lesson - 03: Basic Structure of C++ Program
This document discusses types of devices including input, output, and input/output devices. It also outlines the basic structure of a C++ program including preprocessor directives, the main() function, and C++ statements terminated with a semicolon. Finally, it lists the three main types of errors as syntax errors, logical errors, and run time errors.