- 10k Downloads
This introductory chapter discusses some of the features of C++ in terms of object-orientation and other “buzzwords”, such as polymorphism and inheritance, that are used to describe the language, and also in terms of its strengths and weaknesses. Methods for editing, compiling and running a simple C++ program are introduced, followed by basic information on declaring and using variables and arrays, and on input and output. Sadly, a large amount of the time that a programmer claims to be “programming” may actually be more accurately described as “debugging”: the chapter concludes with tips about simple ways that a novice C++ programmer might go about debugging a program, thus minimising the time spent on the excruciatingly frustrating process of hunting for errors in a code.
KeywordsLinear Solver Decimal Point Curly Bracket Code Fragment Executable File
- 5.Cline, M.P., Lomow, G., Girou, M.: C++ FAQs, 2nd edn. Addison–Wesley, Reading (1998) Google Scholar
- 6.Meyers, S.: Effective C++, 3rd edn. Addison–Wesley, Reading (2005) Google Scholar
- 7.Stroustrup, B.: The C++ Programming Language, 3rd edn. AT&T, New York (2000) Google Scholar
- 8.The website: http://www.cplusplus.com