This is the tutorial files for the revision of DCIT104 course as taught in 2020. This covers the Basics of c++, Control Structures, Arrays and Functions.
- Basic
- Variables
- iostream header file
- Operators
- arithmatic
- relational
- logical
- Control Structures
- Selection
- if
- if and else
- Repetition
- for
- while
- Selection
- Arrays
- Declaring
- Initializing
- Looping
- Functions
- Declaring
- Definig
- Header files
- source file:
file_name.cpp
- header file:
file_name.hpp
Using Gnu c++
c++ file_name -o app -Wall
The basics are all in int_main.cpp
file.
./app