ECE 114 Lecture Notes - Lecture 2: Backslash, Escape Character, Ender Wiggin
Document Summary
To write notes in your program, use the preface of // to indicate that the rest of that single line is your own comment on the coding. If it extends past that 1 line, use /*_______*/ as the comment wraps around the line(s) Iostream is included when you are inputting or outputting something with your program. Just like math, you need the same number of braces/parentheses. If you don"t, it"ll give you a build time error. Blank lines, space characters and tab characters are only used for your own ease of reading. White space is generally ignored by the compiler. The parentheses after main or _tmain are used to say that the program is a function enclosed by braces. A statement normally ends with a semicolon, and is called a statement ender. << is an operator to insert something into the operation.