C vs. C++

What C does not have: It uses stdio.h for I/O. printf, scanf etc.

C strings (ie. char arrays)

zero for False, nonzero for True

#define for named constants

/* comments within slash star, star slash (can span muliple lines) */

Example quadratic.c computes quadratic formula.

pointer demo C++ program all about pointers and dynamically allocated memory.

pointer arguments to get the effect of pass-by-reference
Example plastics.c

Command line arguments example C++ program args.cpp