C++ Chapter 1 PDF
Document Details
Tags
Summary
This document is a C++ tutorial and explains C++ syntax.
Full Transcript
C++ Syntax [[❮ Previous](https://www.w3schools.com/cpp/cpp_getstarted.asp)[Next ❯](https://www.w3schools.com/cpp/cpp_statements.asp)] C++ Syntax Let\'s break up the following code to understand it better: Example \#include \\ using namespace std;\ \ int main() {\ cout \\> on cin to store a st...
C++ Syntax [[❮ Previous](https://www.w3schools.com/cpp/cpp_getstarted.asp)[Next ❯](https://www.w3schools.com/cpp/cpp_statements.asp)] C++ Syntax Let\'s break up the following code to understand it better: Example \#include \\ using namespace std;\ \ int main() {\ cout \\> on cin to store a string entered by a user: ### Example string firstName;\ cout \ firstName; // get user input from the keyboard\ cout \