C++ Programming Tutorial PDF
C++ Programming Tutorial PDF:
This guide provides a tutorial introduction to computing and the C++ computer programming language. It will help you teach yourself to write, compile, execute and test simple computer programs programs in C++ which read data from the keyboard, perform some computations on that data, and print out the results; and how to display the results graphically using gnuplot.
By the end of the course, you should be able to use computing to help you understand physics better.
Contents
- Introduction
- Editing, compiling and executing a simple program
- Variables and constants
- Assignment of variables
- Simple input and output
- Control Statements
- Functions
- Math library and system library built-in functions
- Arrays
- Reading and writing to files
- Direct allocation of arrays with “new”
- Modularizing
- Structures and packages
- Formatted output