Textbook: Mark Burgess, The GNU C Programming Tutorial, 4th Edition, 2002; Andrew Koenig, Barbara Moo, Accelerated C++, 2nd Edition, 2000; Bjarne Stroustrup, A tour of C++, 2013.
Objective
Become familiar with essential structures of C and C++ programming language; Become familiar with main issues involved in writing C/C++ code; Develop ability to write simple C/C++ programs; Develop skills in using an IDE for C/C++ programs.
Program
Introduction to C/C++, history and place of C and C++ in modern software development, comparison with other programming languages
C/C++ basics, data types, expressions, C program structure, simple C program
Functions in C/C++, function declarations, by value and reference parameter passing, understanding pointers in C/C++
Basic user input, put, printf, and scanf, working with strings and text in C programs
Program control structures, conditional operator, loop operators
IO to file and peripheral devices, concept of file, stream and buffering in C, main IO functions and their use
Miscellaneous C topics: hidden operators, passing command line arguments and environment variables, project compilation structure, header files and make file
MIDTERM
C++, key language differences (non object oriented)