-
69
pages
-
English
-
Documents
Description
C+ + TutorialJava 1.5 BasedUniversity of WaterlooVersion 1.0cPeter A. Buhr 2005last update: December 4, 2007Good code has good design elements;good code also uses the dominant metaphors in a languageto make it easy for other programmers to understand.Permission is granted to make copies for personal or educational use.2 C+ + TutorialContents1 Introduction 42 Brief History of C/C++ 43 C/C++ Source File 44 Compilation 45 Execution 56 Program Structure 56.1 Comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56.2 Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 First Program 68 Declaration 78.1 Identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78.2 Basic Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78.3 Variable Declaration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78.4 Type Qualifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88.5 Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98.6 Type Constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98.6.1 Enumeration . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
-
Publié par
-
Langue
English