Prof. Dr. Bodo Bartning

Introduction to Computing
Winter Term 2009/10
Run identification <ZP>

Back to Homepage Prof. Dr. Bodo Bartning

Jump directly to:

Time and location

Current schedule, and latest changes

General:
Wednesday 09:30-14:00, and additional exercises with a tutor
5 hrs/week
University of Oldenburg
 

Copyright

All documents are for personal study only. Further circulation or use is prohibited.
 

Lecture Notes, Syllabus

Core lecture notes (from 30/09/2009): internet version and print version; also the syllabus,
additionally the version to be printed by yourself (113 pages, includes print version of lecture notes, exercise 02-1, syntax description "Language C++").
 

Program Examples

Chapter of the course File(s)    -- all example files zipped --
ch. 3 e03-11.cpp, e03-12.cpp
ch. 4 e04-61.cpp
ch. 5 e05-23.cpp, e05-261.cpp, e05-262.cpp, e05-263.cpp, e05-264.cpp, e05-265.cpp, e05-35.cpp
ch. 7 e07-13.cpp, e07-15.cpp, e07-45.cpp, e07-61.cpp, e07-62.cpp, e07-71.cpp
ch. 8 e08-14.cpp, e08-25a.h, e08-25b.cpp, e08-25c.cpp, e08-26a.h, e08-26b.cpp, e08-26c.cpp
ch. 9 e09-22.cpp, e09-31a.h, e09-31b.cpp, e09-31c.cpp
ch. 11 e11-151.cpp, e11-152.cpp, e11-23.cpp, e11-24.cpp, e11-42.cpp, e11-53a.h, e11-53b.cpp, e11-53c.cpp
ch. 12 e12-66.cpp, e12-67.cpp, e12-741.cpp, e12-742.cpp
Example created during the lecture time.zip (lecture 27/01/10)

Exercises

How to make a project with MS Visual Studio 2005, German version: hints see here.
 
Chapter of the course Content File(s)
exercises how to handle Windows
ch. 2 algorithms 02-1.pdf
Proposed solutions:
   exerc. 1: 02-1-s1a.bmp, 02-1-s1b.bmp
   exerc. 2: 02-1-s2a.bmp, 02-2-s1b.bmp
   exerc. 3: 02-1-s3.pdf
ch. 3.1, 3.2 sequency, input, output, expressions 03-1.cpp
solution hints:  03-1-s.cpp
ch. 4.2, 4.3 selection 04-1.cpp
solution hints: 04-1-s.txt
ch. 4.3 multiple selection (switch) 04-2.cpp
solution hints: 04-2-s.txt
ch. 4.4 iteration 04-3.cpp
solution hints: 04-3-s.txt
ch. 4.1-4.4 Easter date 04-4.cpp
solution hints: 04-4-s.cpp
utility files for transformation of German special sounds between Windows and DOS environment, needed e. g. for additional exercises for ch. 5 ebstream.txt (Engl. explanations) 
bstream.h
bstream.cpp
ch. 5.2 streams cin, cout, character manipulations 05-1.cpp
solution hints: 05-1-s.cpp
ch. 5.2 counting words etc. in a text 05-2.cpp
solution hints: 05-2-s.cpp
ch. 5.4 two dimensional array 05-3.cpp
solution hints: 05-3-s.cpp
ch. 5.5 C string 05-4.cpp
solution hints: 05-4-s.txt
ch 7.1 function definition 07-1.cpp
ch. 7.2 to 7.4 function declaration, reference as function parameter 07-2.cpp
solution hints:  07-2-s.txt
ch. 9 classes 09-1.h, 09-1a.cpp, 09-1b.cpp
solution hints: 09-1-s.h, 09-1a-s.cpp, 09-1-s.txt

Please, pay attention: Here - as on all university web pages - the  Disclaimer/Haftungsausschluss of the university is valid. So I am not responsable for the following link.

An overview of free compilers can be found on  http://www.bloodshed.net  (e. g.). There you may also download the WxDevCpp compiler.

When you use this compiler (many other compilers have a similar behaviour), you should avoid that the output window will be closed automatically. This can be prevented e. g. with the following additional statement
    system("pause");
directly before the line  "return 0;" (an additional include line "#include <cstdlib>"  may be necessary).
 

Examinations

Note: Date and location of examinations may be changed.
Detailed description of the examinations see syllabus.

Permitted for the written examination: only the overview of C++ ("Language C++"), nothing else, especially no lecture notes, no pocket calculator!