C++ by Example UnderC Learning Edition.pdf
The book is organized into two parts. Part I concentrates on C++ arithmetic expressions, program flow control, and functions—what is often called structured programming. In Part I you will learn how to do calculations and make decisions, and you will learn how to output the results. Structured programming is the art of organizing actions, using divide-and-conquer techniques to break complex operations into simpler ones. Part II introduces object-oriented programming, which sees programs as consisting of objects that manage their own data and communicate with each other. In structured programming, there is a dictatorship of functions, and in objectoriented programming there is a democracy of objects. Neither programming approach, of course, is the full story. Some problems—for instance, those that handle simple tasks such as adding up numbers in a file—work best with structured programming.
下载地址
用户评论