Lecture1 Introduction
Lecture1 Introduction
1
The figures in this presentation are taken from “Malik, C++ Programming: From Problem Analysis to Program Design,
5th edition.
Rasha Alkhansa GENG212 Spring 2020-21 1 / 23
Syllabus
Main objectives:
To acquire a good understanding of the basic principles
of programming.
Students will learn and practice the application of these programming
principles to the solution of engineering problems using the C++
high-level programming language.
Prerequisite: None.
Output
devices
display
results. They
include:
Screen
Printer
Second
ary
storag
Rasha Alkhansa GENG212 Spring 2020-21 8 / 23
Software
Software: Programs that do specific tasks
System programs take control of the computer, such as an
operating system
Application programs perform a specific task (games,...)
The operating system is the program that runs application
programs.
Many IDEs are available online for free download (e.g. C-Free, Visual
Studio or CodeBlocks)
There are also online compilers that allow you to write and test your C+
+ programs from the browser without installing any IDE.
It is recommended that you install an IDE on your laptops (do not rely
on online compilers); specifically, it is recommended that you install
CodeBlocks because it is the IDE that is used in the University labs. You
can use the following link for download:
http://www.codeblocks.org/downloads/bina
ries You will be given multiple options,
choose codeblocks-20.03mingw-setup.exe
(4th option, the last time I
checked the website), download it, run it, and follow the
istallation instructions.
Algorithm:
Step-by-step problem-solving process
Solution achieved in finite amount of time