This course is discontinued

GEO4070 – C++ and C programming

Schedule, syllabus and examination date

Choose semester

Course content

This course primarily gives an introduction to the programming language C++, but at the same time also provides an overview of the C programming language. Applications of the knowledge learned at the course are aimed at writing efficient code for numerical calculations and data structures for arrays, grids, fields, particles, etc. Examples given in this course match a corresponding course in Fortran programming such that similarities/differences between Fortran 77/95 and C/C++ become evident.

Learning outcome

The objective is to provide the students with an overview and training in C++ such that they can efficiently do programming related to scientific simulation in their master-degree projects.


Students who are admitted to study programmes at UiO must each semester register which courses and exams they wish to sign up for in Studentweb.

If you are not already enrolled as a student at UiO, please see our information about admission requirements and procedures.


Recommended previous knowledge

Knowledge about at least one programming language

Overlapping courses

5 credits overlap with INF-VERK4830 – C++ and C programming (discontinued)


Intensive teaching over five days with lectures and hands-on exercises. The students must also independently finish a project assignment.

Attendance at the first lecture is compulsory. Students who fail to meet, are considered to have withdrawn from the course unless they have previously given notice to the Studies administration, email address:


Grades of pass or fail will be given on the basis of the submitted assignments and an oral exam.

General information about examinations at the faculty can be found at

Language of examination

In this course any written exam questions or assignment questions may be available in English only.

Explanations and appeals

Resit an examination

Students who can document a valid reason for absence from the regular examination are offered a postponed examination at the beginning of the next semester.

Re-scheduled examinations are not offered to students who withdraw during, or did not pass the original examination.

Facts about this course






There are no specific plans for when or if this course will be taught again.


Teaching language