Sunteți pe pagina 1din 5

EEE 241 Computer Programming

http://eee241.gantep.edu.tr/

Introduction to the course

Note: all presentations can be found on the course website


Sayfa 1

Introduction
Computer programming is an essential part of the work of many scientists and engineers. This semester we will teach C++ which
is good at system and application programming is the prefered programming language of engineers is widely used in the software industry Is a huge language with a lot of technical details, but .....

We will concentrate on only a very basic/minimal subset of C++, enough for you to be able to solve problems effectively.

Sayfa 2

Web Resources for the Course


Course web page (for lecture notes, example questions ....) http://eee241.gantep.edu.tr/

University of Gaziantep C++ resource page http://cpp.gantep.edu.tr/


- Tutorials, Sample Programs, Howtos - We will follow the Basic tutorial section. C++ References http.//www.cplusplus.com/ http://www.cppreference.com/ Trke C Programlama Diline Giri http://www1.gantep.edu.tr/~bingul/c/ Online text book http://www.learncpp.com/

Also search Google and Wikipedia


Sayfa 3

Course Books
Programming with C++ John R. Hubbard Schaum Outline Series (2000) ~ 15 $ Practical C++ Programming Steve Qualline OReilly Media (2003) ~ 25 $ These days the Internet is doing a good job of replacing the printed page: http://www.learncpp.com/
Sayfa 4

Lectures
The basics of C++

two hours per week


Lecture 1 Lecture 2 Lecture 3 Lecture 4 Lecture 5 Lecture 6 Lecture 7 Lecture 8 Lecture 9 Lecture 10 Lecture 11 Lecture 12 Second mid-term exam topics First mid-term exam topics

Operators and intrinsic functions Control structures: selection Control structures: loops Summary and solved problems Numerical Methods * Functions Vectors Data structures File Input/Output Summary and solved problems Monte Carlo methods *

* example applications (these topics are not examined).


Sayfa 5

Computer Labs

one hour per week

Lab exercises will be performed in the BIM computer labs. We will compile our C++ programs using the Dev-C++ compiler (Windows) or the g++ compiler (Linux). Every week you should write a few programs yourself in the BIM lab (and more in your free time).
Note: in the BIM computer labs your programs will be deleted when the computer reboots. So you need to save them on a flash drive or on the internet.

BRING A FLASH DRIVE WITH YOU If you have a laptop or desktop at home, then you can install a free C++ compiler on it; see lecture 1 (on the web) for details.
Sayfa 6

Homework

not assessed

There is no formal homework. However, the only way to learn computer programming is to write computer programs. That means you need to practice in your own time.
Complete all lab exercises, make sure you understand them. Study the course website, and follow any links. Look for exercises under the relevant section of http://cpp.gantep.edu.tr/ Basic tutorial Continue to write as many programs as possible; create for your self problems - to solve by writing C++ programs. Study and solve the example exam questions provided on the course website.

Sayfa 7

Attendance, Assessment
Attendance
You must attend at least 70% of the course. i.e. 70% of 12 x (2 hours lectures + 1 hour lab).

Assessment

(written exams) 30% 30% 40%

First mid-term Second mid-term Final exam

Sayfa 8

Example of the kind of problem we can solve with C++

Sayfa 9

Next week In lecture 1 we look at

The basics of C++


Before then please browse through the course website and the links therein:

http://eee241.gantep.edu.tr/
And remember the most important part of this course is the time you spend at the computer writing computer programs!
Sayfa 10

S-ar putea să vă placă și