C Programming

Print

Objective

The goal of this course is to introduce basic programming principles using the C programming language. C is a principal programming language and a fundamental component of C++ and Java. During the course the students become familiar with the concepts and principles of structured programming, and they gain the basic knowledge for the comprehension and easier learning of other programming languages in the sequel.

Course Contents

  • Algorithms, pseudo code, concepts of programming languages, main elements of a c program.
  • Data types, variables, operands and expressions: types, declarations and variable initialization, type modifiers, type casting.
  • Flow control: if, if…else, for, while, do etc. Use of logical and relational operands.
  • Arrays and strings: use, creation and management of single-dimension and multi-dimensional arrays, use, creation and management of strings.
  • Pointers, definition and initialization, use of pointers.
  • Functions: function prototypes, recursive functions, function arguments/parameters, passing arguments to the main() function.
  • Input/output functions, file management.
  • Structures, unions and enumerations.
  • Kernighan B.W. & Ritchie D. M. (1998): C Programming Language, 2nd Edition, Prentice Hall.
  • Jones B.L. & Aitken P. (2002): Sams Teach Yourself C in 21 Days, 6th Edition, Sams.