By the end of this chapter the students should be able to
One of the difficulties in learning a programming language is the fact that no element exists in isolation, but on the contrary, the language components work in relationship to each other. This is similar to the spoken languages. Knowing vocabulary is not sufficient to speak the language, one should also know the grammar of the language. In this chapter we will introduce a general idea about what constitutes a C++ program, including some basic control structures, operators and functions. Details will be given in later chapters.