Lesson: Input and Output of Variables
Rooms on the shortest path to this room
- Programming Land MOO Entry Way
- C++ foyer
- Idea of a Variable
- Input and Output of Variables
Subordinate rooms and lessons:
- Introduction to Input and Output (I/O)(#577)
- Using cin for Input(#1213)
- Format of input statements(#590)
- What do the input lines look like?(#1231)
- IO Libaries(#606)
- White Space(#1233)
- Literals on Input(#1234)
- Float and Double Constants(#1200)
- Real Types(#707)
- Variable Modifiers(#708)
- C++Builder types and sizes(#710)
- Real Operators(#711)
- Precedence rules of arithmetic operators.(#713)
- Unary Arithmetic Operators(#714)
- Binary Arithmetic Operators(#715)
- ++ the AutoIncrement and -- the AutoDecrement Operators(#716)
- Side-Effect Operators(#717)
- Operator Precedence Workroom(#1987)
- Errors with reals(#712)
- Mantissa Size Problems(#1203)
- Binary Fractions(#1204)
- Some Background on Decimals(#1205)
- What makes a fraction repeat or terminate?(#1206)
- Binary Fractions Revisited(#1207)
- Problems with Money(#1208)
- Exponential Format(#1201)
- Typing Real Constants(#1202)
- Prompts(#1236)
- Input Errors(#1235)
- Compile-Time Errors with Input(#1239)
- Run-Time Errors of Input(#1240)
- Using Commas Input Error(#1242)
- Logic Errors(#1243)
- Example Input Error(#1241)
- Example of good and bad prompts(#1238)
- Some more on the newline(#1237)
- Cin_Input(#621)
- Using cout with variables(#1214)
- Curt's Room on Cout(#1077)
- Common Errors on Output(#1215)
- Output spacing(#1216)
- Solving the spacing problem(#1218)
- I/O Manipulators(#1219)
- Setting the width of numeric output(#1220)
- Persistance of setw(int)(#1221)
- What if the width is exceeded?(#1222)
- Form of Floating Point Output(#1223)
- Setting exponential or fixed output(#1224)
- Determine the number of digits to display(#1225)
- Displaying numbers in another base(#1229)
- What is cout?(#1217)
Return to the top lesson page.
Index of lessons.
This page created on 8/22/2006