|
Introduction
to Computing I/II
|
Back to Homepage Prof. Dr. Bodo Bartning
Jump directly to:
General:
Winter term 2007/08: Wednesday 10:00-13:30
Summer term 2008: Friday 08:00-11:30
4 hrs/week (winter), and 3 hrs/week (summer)
University of Oldenburg
| 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 |
| Chapter of the course | Content | File(s) |
| winter semester | ||
| exercises how to handle Windows | ||
| ch. 2 | algorithms | 02-1.pdf
Proposed solutions: exerc. 2: exerc. 3: |
| ch. 3.1, 3.2 | sequency, input, output, expressions | 03-1.cpp
solution hints: |
| ch. 4.2, 4.3 | selection | 04-1.cpp
solution hints: |
| ch. 4.3 | multiple selection (switch) | 04-2.cpp
solution hints: |
| ch. 4.4 | iteration | 04-3.cpp
solution hints: |
| ch. 4.1-4.4 | Easter date | 04-4.cpp
solution hints: |
| utility files for transformation of German
special sounds between Windows and DOS environment, needed |
ebstream.txt
(Engl. explanations)
bstream.h bstream.cpp |
|
| ch. 5.2 | streams cin, cout, character manipulations | 05-1.cpp
solution hints: |
| ch. 5.2 | counting words etc. in a text | 05-2.cpp
solution hints: |
| 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.1) | (optional additional exercise, more extensive, partly based on 07-1.cpp) | Assign.html |
| ch. 7.2 to 7.4 | function declaration, reference as function parameter | 07-2.cpp
solution hints: 07-2-s.txt |
| ch. 7.7 | recursive functions | 07-3.cpp |
| ch. 8 | scope, storage class, linkage | 08-1a.cpp, 08-1b.cpp
solution hints: -- see later -- |
| 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 |
| ch. 11.1, 11.2 | classes and objects, overload of operators | 11-1.h, 11-1a.cpp, 11-1b.cpp |
| ch. 11.3, 11.4 | inheritance, polymorphism | 11-2.h, 11-2a.cpp,
11-2b.cpp,
additionally the files 11-1*.* |
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).
Permitted for the written examination: only the overview of C++ ("Language C++"), nothing else, especially no lecture notes, no pocket calculator!