C++ Programming PDF
Document Details
Uploaded by Deleted User
Tags
Summary
This document appears to be notes on C++ programming, covering introductory concepts and examples.
Full Transcript
C++ PROGRAMMING 1. C++ is a popular programming language. 2. C++ is used to create computer programs and is one of the most used languages in game development. 3. C++ was developed as an extension of C, and both languages have almost the same syntax. #include using namespace std; int main() {...
C++ PROGRAMMING 1. C++ is a popular programming language. 2. C++ is used to create computer programs and is one of the most used languages in game development. 3. C++ was developed as an extension of C, and both languages have almost the same syntax. #include using namespace std; int main() { cout first_number >> second_number; // sum of two numbers in stored in variable sumOfTwoNumbers sum = first_number + second_number; // prints sum cout n3; if(n1 >= n2 && n1 >= n3) cout = n3) cout = n2) cout