Welcome to the GDNet C++ Workshop – Ch. 3
For a complete introduction to this workshop, please look here.
Workshop Overview
This workshop is designed to aid people in their journey to learn beginning C++. This workshop is targeted at highly motivated individuals who are interested in learning C++ or who have attempted to learn C++ in the past, but found that without sufficient support and mentoring they were unable to connect all the pieces of this highly complex but powerful programming language. This is a 'guided' self-teaching C++ workshop. Each student is responsible for taking the time to read the material and learn the information. The community and tutors that arise out of this workshop are here for making the learning process run more smoothly, but are not obligated to baby-sit a person's progress. Because everyone will be working from the same textbook (
Teach Yourself C++ in 21 days 5th Ed.), students may find it easier to get answers to the specific questions they might have. There is no minimum age requirement, and there is no previous programming experience required.
Additionally, this workshop does not attempt to defend C++ as a language, nor does it attempt to demonstrate that C++ is either more or less useful then other programming languages for any particular purpose. People who intend to start a discussion about the differences between C++ and ANY other languages (except as are relevant to a particular discussion), are encouraged to do so elsewhere. This workshop is for educational, not philosophical discussions.
Quizzes & Exercises
Each week will have quizzes and exercises posted in the weekly threads. Please try and answer them by yourself. As well, please
DO NOT post the answers to Quizzes and Exercises within this thread. Once it becomes acceptable to post the answers to quizzes and exercises, an additional thread will be created each week specificaly for the purpose of posting quiz answers.
If you try with reasonable effort but are unable to answer the questions or complete the exercises, feel free to post a clarification question here on the thread. Tutors, myself, or others will do the best we can to point you in the right direction for finding the answer.
Chapter 3 – Working with Variables and Constants
Introduction
Greetings! This week we will be covering chapter 3 on variables and constants. The chapter is approximately 20 pages not including the summary, Q&A, and quiz questions at the end of the chapter. Roughly half way through the week myself, tutors, or anyone else simply wishing to challenge their teammates learning C++ can post review and quiz questions in
this thread. Please do not post the answers in this thread however, as a new thread will be created for that purpose. This is a shorter week, only 7 days instead of 10 and at the beginning of the next week (Monday morning) we will again move on, so try and keep up.
Participants are welcome to post their questions for this chapters within this thread and myself, the tutors, and other participants will do the best we can to answer your questions. As the thread is likely to grow to a hundred or more posts, the C++ workshop threads will be closely moderated. Discussions which become narratives, flame-wars, or philosophical will either be removed or moved to another forum, unless entirely relevant to the current chapters.
Finally, feel free to post quiz-like questions here in
this thread after about 3 days. This will give people an opportunity to test their knowledge and understanding after they’ve had a chance to absorb the information. For questions which require further research then what is in the book, mark the question with an
[Extra Credit] tag.
Topical Outline of the Reading (Not literal due to copyrights)
- Exploring the parts of a variable
- How Data is stored in memory
- Looking at size and range modifiers
- Exploring the standard C++ data types
- The nuances of creating variables
- C++ keywords which cannot be used as identifiers
- Working with variables
- Aliases
- Overflow/Underflow & Range limitations
- Interpreting integers as characters
- Special Characters
- Using constants
- Using enumerations
[Edited by - jwalsh on May 30, 2007 5:28:49 PM]