Week 3

This week’s lectures have mostly been focused on classes and using header files in visual studio. I find that I can keep up somewhat during the lectures, but have a bit of a challenge when I try to use what I have learned. The weekly exercise assignments greatly help me to really understand how to implement the things we hear about during the lectures. This week’s exercises are much harder to solve then earlier weeks (would be strange if they weren’t) but the higher the challenge are the more rewarding they are when I finally solve them.

One of the programs I wrote this week were a temperature converter that converts Kelvin Celsius and Fahrenheit between each other, using classes and methods. I wrote all of the code in the main.cpp so next I will try to split it to a header to make it more readable and structured. The assignment were to create a method for each of the calculation, Celsius to calving etc. I found some problems with the code I wrote and will update this post later with pieces of the code when it’s fixed.

About Sebastian Ringvold

2014  Programming