Introduction to C++ (and C) Programming
IntroClassesE ciencyOOPIntroductionto C++(andC)ProgrammingHansPetterLangtangen 1; Informatics, Oslo2January LangtangenIntroductionto C++(andC)ProgrammingIntroClassesE ciencyOOPOutline1Introto C++programmingAboutC andC++Introductory C++exampleManipulatedata lesMatrix-vector productTheC preprocessorExercisesAboutclassesin C++A simpleclass2ClassprogrammingClassComplex A vector classStandard TemplateLibrary3E ciency;C++ :ODEsolversClassesfor LangtangenIntroductionto C++(andC)ProgrammingIntroClassesE ciencyOOPContentsGentleintroductionto C++FileI/OArrays andloopsDetailedexplanationof classeswithbuilt-inarithmeticsComputatio nale ciencyaspectsObject-orientedprogramminga ndclasshierarchiesUsingC++objectsin LangtangenIntroductionto C++(andC)ProgrammingIntroClassesE ciencyOOPRequiredbackgroundProgrammingex periencewitheitherJavaor Fortran/MatlabInterestin numericalcomputingwithC++Interestin low-leveldetailsof thecomputerKnowledgeof someC is advantageous(butnotrequired) LangtangenIntroductionto C++(andC)ProgrammingIntroClassesE ciencyOOPAboutlearningC++C++is a complicatedcomputerlanguageIt takes timeto masterC++{ oneyear is theruleof thumbFourdays canonlygivea tasteof C++Youneedto work intensivelywithC++in yourownprojectsto masterthelanguag}
- declare variables wherever you want - in/out function arguments use references (instead of pointers) classes for implementing user-de ned data types a standard library (STL) for frequently used data types (list, stack, queue, vector, hash, string, complex, ...) object-oriented programming generic programming, i.e., parameterization of ...
Download Introduction to C++ (and C) Programming
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: