Hide menu

TDDD33 Programming (C++)



IMPORTANT! If you intend to follow this course, the very first thing you should do is to make sure you are registered to it. You will not get access to the computers until you are!. You should be familiar with those information pages about registration and LiU-ID. If something is not clear, talk to your study counsellor about the procedure. The examiner or course leader can not do the registration for you.

Once you have you LiU-ID you can log on to the Student Portal ("Studentportalen"). Get familiar with it. There you can see your program and course registrations (and more). If this course neither appear in "my registrations" nor can be selected as optional for your for your programme you must fill in a complementary course selection form (change of courses) to get registered (sv: komplettering av kursval). Refer to the information given at the orientation day or ask your study counsellor. The form should be handed in to "Studerandeexpeditionen" to be processed. After a few days (talk to the people at "Studerandeexpeditionen") you can get it back and hand it to your study counsellor. (Optionally you can follow the instructions on "Director of studies" door. Current director of studies are found in the "Contact" section.) The following links may be of help:

It may feel like a lot of administration for you at first, but once you are in the system it will get smoother. Get you LiU-ID fast.


The course run over both autumn study periods with a computer examination at the end. The course start with a "soft" (if you know UNIX) week of STONE. Then the fun but demanding programming starts with lecture followed by lesson followed by one or more lab sessions, next lecture next lesson and so on. In December there will be a computer exam, more information on this is given on the computer exam page pages.

Lab environment

During the labs you will use one of the computer systems available at the Department of Computer and Information Science. The particular system we use is a SunRay thin client system (learn more in the STONE material). It is an UNIX environment running Solaris 10. The computer rooms are called SUN-PUL, with 10 up to 24 SunRays in each.

If you have a computer of your own you can install C++ compiler and tools on it as well. This enables you to work on the lab assignments at home. Software with a student license can be downloaded form the Student portal, check first if it is available there. If not you have to search the internet for freeware or open source tools available for your operating system.

For C++ programming I recommend installing Ubuntu with emacs and gcc. If you run Windows I recommend you install VirtualBox and install Ubuntu as a virtual machine. It's actually suprisingly simple.

Course personell will only support our computer environment. If you have problems on your own computer, you're on your own.


Most of the course content will only be presented orally during lectures, lessons and laborations. It is thus very important to participate and to ask questions (lectures), suggest solutions (lessons) and practice (labs) in order to get maximum benefit from the activities. There is no obligation to attend, but if you do not attend you will most likely fail.

Programming is demanding, not something you learn in a coffee break. Not something you learn by reading a book. Not something you learn by doing a few labs. You need to do many labs, experiment, and practice on your own problems. It's hard work. But it is very rewarding and satifying when you get your programs to work, and when you figured out clever solutions to the problem at hand.

Ultimately it is your responsibility to learn the course contents and complete the labs. To pass the course you ARE required to demonstrate each and every lab, and your ARE required to pass the final examination. If you are present and active on activities you will be considerably better prepared for the final exam. You will also have the chance to ask questions that may result in discussions and experience you would have otherwise missed. Two question you should ask yourself early on is: "What can I do to make me pass the exam with almost 100% certitude? How can the teachers support me in this?". This way you can help us improve the coure.

Emails to You

If we send mails to you personally we send it to you student mail account ("your login"@student.liu.se). Mass mail to all course members is sent to "course_code-term"@student.liu.se. You can administer which lists you are on in the "Student Portal" (link above). If you are not registered to the course you will not get any mail. You may find additional information about student mail and mailing lists at the IT-service and support pages. All problems and questions regarding email should be directed to helpdesk in the Zenit building.

Emails to us

If you send emails to us you should:

  • Use your student mail (we only answer mail from student adresses).
  • Start the topic with the course code (or you mail is sorted wrong or lost).
  • Use good language and structure (a few time year i receive mail from student be just bunch word that no structure or sentence and be very hard deciper and very longer and very worse than this see?).

Printing course material, lab reports or papers

It is no longer possible to print "for free". From autumn 2010 a new print system is utilized. Please refer to the information at the support pages. The page with quick-guides seems to be in Swedish at first glance, but they are in English versions too, look for a united-kingdom flag on the small picture at each guide.


The examination consist of three parts (refer to the syllabus). Refer to respective section for more information. Course grade are based on the computer exam.

UPG1 Introduction practice1 hp(Fail/Pass)
UPG2 Computer labs3 hp(Fail/Pass)
DAT1 Computer exam2 hp(Fail/3/4/5)

As each hp correspond to about 30 hours and the course run approximately 3.5 months (September, October, November, Dec) or about 100 days or about 70 workdays, you need to spend about 2.5 hours on the course each workday (or about 2 hours every day). This is including exam periods and other non-scheduled time. If you only intend to work on the course Monday-Friday during scheduled time you may need to spend 3-4 hours each day.

Page responsible: Klas Arvidsson
Last updated: 2012-08-25