280x Filetype PDF File size 0.59 MB Source: vergil.chemistry.gatech.edu
C++ Tutorial
Part I : Procedural Programming
C. David Sherrill
School of Chemistry and Biochemistry
School of Computational Science and Engineering
Georgia Institute of Technology
Purpose
To provide rapid training in elements of C++ syntax,
C++ procedural programming, and C++ object-
oriented programming for those with some basic
prior programming experience
To provide a handy programming reference for
selected topics
To provide numerous, actual C++ code examples for
instruction and reference
Why C++?
“Intermediate”-level language: allows for fine (low-
level) control over hardware, yet also allows certain
complex tasks to be done with relatively little code
(high-level)
Good for scientific applications: produces efficient,
compiled code, yet has features that help one
develop and maintain a complicated, large code
(e.g., namespaces, object-oriented design)
Recommended reading
These notes were developed during my reading of
th
“Sams Teach Yourself C++ in One Hour a Day,” 7
Edition, by Siddhartha Rao (Sams, Indianapolis,
2012). I recommend the book, it’s readable and to
the point.
A good mastery of C++ will probably require
working through a book like that one, and doing
some examples; notes like these only serve as a basic
introduction or a quick review
no reviews yet
Please Login to review.