Chapter 1 Margin Notes

General Note: Give yourself about a half hour to read Chapter 1. It's not very intense. 

Page 2. Do you know the difference between compile and link?

Page 3. Wow, is that picture old!

Page 5. Don't worry about the symbols for Arithmetic and Logic yet--we'll learn more about those later.

Page 5. The author doesn't mention that Registers are typically very high speed memory.

Page 6. Bits and bytes can be very important when programming in Assembler---not as important in higher level languages. Still, a knowledge of them is important in C++.

Page 7. Notice how addresses begin with 0. In the computer world, everything begins with 0.

Page 10. It's not obvious from the author's discussion, but a C++ program that is compiled and linked on a computer with a particular CPU cannot be executed on a PC with a different type (ie manufacturer) of CPU. For instance, a program compiled and linked to run on an Intel Pentium microprocessor will not execute on an Apple. But what about an AMD?

Page 14. Make sure you know the difference between a compiler and an interpreter.

Page 16. C++ program source files usually end with a .cpp file extension, but they don't have to.

Page 16. It's the linker that produces the .exe file---not the compiler!

Page 17. Actually, Dennis Ritchie developed C because he was tired of having to re-write his game programs whenever AT&T came out with a new processor.

Page 17. ANSI is mentioned in reference to the C programming language. Curious as to what ANSI is or means. Check out this link

            http://www.ansi.org

Page 17. Bjarne Stroustrup is a pretty interesting guy. You can read more about him at his website

            http://www.research.att.com/~bs/homepage.html

Page 18, The Art and Science of Programming. This section is interesting, but until you write a program, you won't really understand the process.

Page 19. Ah, the ever popular "Hello World" program. Check it out. Most of this program is comments. Do you know what a comment is?

Page 20. Directives begin with the # sign.

Page 21. Programming comments can be important, but please don't kill me with them. A comment section with your name and the assignment number is really all I need.

Page 22. Interesting dilemma mentioned about including the .h extension for the header file. My preference is NOT to include it, but to include the 'using namespace' statement.

Page 23. Wow, it's easy to confuse a brace { with a bracket [. Be careful!