Monthly Archives: November 2014

Weekly programming – sending images with a C++ web server (v48)

I’ve completed our second assignment of the course, the C++ web server.
After having completed the required tasks for the assignment I challenged myself by trying to send images with the server as well. It seems easy, you need to load the image into memory and send it as usual with a HTTP-header. Well, it wasn’t as easy as that for me, I needed to make some major changes to my previous code.
The first step, loading the image into memory. I had […]

/ Comments Off on Weekly programming – sending images with a C++ web server (v48)
Program: Programming

Weekly programming – sending images with a C++ web server (v48)

I’ve completed our second assignment of the course, the C++ web server.
After having completed the required tasks for the assignment I challenged myself by trying to send images with the server as well. It seems easy, you need to load the image into memory and send it as usual with a HTTP-header. Well, it wasn’t as easy as that for me, I needed to make some major changes to my previous code.
The first step, loading the image into memory. I had […]

/ Comments Off on Weekly programming – sending images with a C++ web server (v48)
Program: Programming

Weekly programming – sending images with a C++ web server (v48)

I’ve completed our second assignment of the course, the C++ web server.
After having completed the required tasks for the assignment I challenged myself by trying to send images with the server as well. It seems easy, you need to load the image into memory and send it as usual with a HTTP-header. Well, it wasn’t as easy as that for me, I needed to make some major changes to my previous code.
The first step, loading the image into memory. I had […]

/ Comments Off on Weekly programming – sending images with a C++ web server (v48)
Program: Programming

Weekly programming – sending images with a C++ web server (v48)

I’ve completed our second assignment of the course, the C++ web server.
After having completed the required tasks for the assignment I challenged myself by trying to send images with the server as well. It seems easy, you need to load the image into memory and send it as usual with a HTTP-header. Well, it wasn’t as easy as that for me, I needed to make some major changes to my previous code.
The first step, loading the image into memory. I had […]

/ Comments Off on Weekly programming – sending images with a C++ web server (v48)
Program: Programming

GAME PROGRAMMING I: WEEK THREE

This week we started using classes and inheritance. Again subjects that I know from earlier courses, but again nice with a refresher. We did touch on structs last week which are similar but are less usefull than classes.
Classes are a collection of data, that could either be methods(function that belongs to a class) or variables. If a class inherits from a base class, it receives the methods and variables from the base class.
When using classes we create objects, a defining feature of […]

/ Comments Off on GAME PROGRAMMING I: WEEK THREE
Program: Programming

GAME PROGRAMMING I: WEEK THREE

This week we started using classes and inheritance. Again subjects that I know from earlier courses, but again nice with a refresher. We did touch on structs last week which are similar but are less usefull than classes.
Classes are a collection of data, that could either be methods(function that belongs to a class) or variables. If a class inherits from a base class, it receives the methods and variables from the base class.
When using classes we create objects, a defining feature of […]

/ Comments Off on GAME PROGRAMMING I: WEEK THREE
Program: Programming

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 […]

/ Comments Off on Week 3
Program: Programming

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 […]

/ Comments Off on Week 3
Program: Programming

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 […]

/ Comments Off on Week 3
Program: Programming

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 […]

/ Comments Off on Week 3
Program: Programming

Alumni Days 2014

Brjann Sigurgeirsson driver spelstudion Image & Form och berättar om sin mångåriga erfarenhet som indieutvecklare. Föreläsningen ges på göteborgska.

Jens Berglind and Peter Stråhle talks about the development of Shelter 2:

Nicodemus Mattisson berättar om sina erfarenheter av att jobba som frilans och erfarenheter att ta hjälp av en agent för att söka jobb.

Alumnipanelen: en panel full med prominenta alumner som diskuterar sina erfarenheter och svarar på frågor från studenter. I år höll vi till i Studentbaren Rindi.

November 29, 2014 / Comments Off on Alumni Days 2014

Alumni Days 2014

Brjann Sigurgeirsson driver spelstudion Image & Form och berättar om sin mångåriga erfarenhet som indieutvecklare. Föreläsningen ges på göteborgska.

Jens Berglind and Peter Stråhle talks about the development of Shelter 2:

Nicodemus Mattisson berättar om sina erfarenheter av att jobba som frilans och erfarenheter att ta hjälp av en agent för att söka jobb.

Alumnipanelen: en panel full med prominenta alumner som diskuterar sina erfarenheter och svarar på frågor från studenter. I år höll vi till i Studentbaren Rindi.

November 29, 2014 / Comments Off on Alumni Days 2014

// TemperatureConverter.h
#pragma once
class TemperatureConverter
{
public:
TemperatureConverter();
float CelsiusConvert(float& value, int& returnType);
float KelvinConvert(float& value, int& returnType);
float FahrenheitConvert(float& value, int& returnType);
};
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// TemperatureConverter.cpp
#include
#include
#include ”TemperatureConverter.h”
TemperatureConverter::TemperatureConverter()
{
}
float TemperatureConverter::CelsiusConvert(float& value, int& returnType)
{
switch (returnType)
{
case 1: //return fahrenheit
{
return (value + 273.15f);
break;
}
case 2: // return Kelvin
{
return (value * 9 / 5 + 32);
break;
}
default:
{
return 0;
break;
}
}
}
float TemperatureConverter::KelvinConvert(float& value, int& returnType)
{
switch (returnType)
{
case 1: //return celsius
{
return (value – 273.15f);
break;
}
case 2: // return fahrenheit
{
return ((value – 273.15f) * 9 / 5 + 32);
break;
}
default:
{
return 0;
break;
}
}
}
float TemperatureConverter::FahrenheitConvert(float& value, int& returnType)
{
switch (returnType)
{
case 1: // return celsius
{
return ((value – 32) […]

/ Comments Off on
Program: Programming

// TemperatureConverter.h
#pragma once
class TemperatureConverter
{
public:
TemperatureConverter();
float CelsiusConvert(float& value, int& returnType);
float KelvinConvert(float& value, int& returnType);
float FahrenheitConvert(float& value, int& returnType);
};
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// TemperatureConverter.cpp
#include
#include
#include ”TemperatureConverter.h”
TemperatureConverter::TemperatureConverter()
{
}
float TemperatureConverter::CelsiusConvert(float& value, int& returnType)
{
switch (returnType)
{
case 1: //return fahrenheit
{
return (value + 273.15f);
break;
}
case 2: // return Kelvin
{
return (value * 9 / 5 + 32);
break;
}
default:
{
return 0;
break;
}
}
}
float TemperatureConverter::KelvinConvert(float& value, int& returnType)
{
switch (returnType)
{
case 1: //return celsius
{
return (value – 273.15f);
break;
}
case 2: // return fahrenheit
{
return ((value – 273.15f) * 9 / 5 + 32);
break;
}
default:
{
return 0;
break;
}
}
}
float TemperatureConverter::FahrenheitConvert(float& value, int& returnType)
{
switch (returnType)
{
case 1: // return celsius
{
return ((value – 32) […]

/ Comments Off on
Program: Programming

Programming week 3 – Classes

This week we have been going through Classes and Class Inheritance. which felt like an easier concept to grasp than the previous, since we had already been working with this a bit when creating ”Pong” earlier in the course.
Classes are just like variables different data structures that can be called within the main function, they can have different functions inside of them. That way we can use classes to reduce the amount of code we have to write, making it […]

/ Comments Off on Programming week 3 – Classes
Program: Programming

Programming week 3 – Classes

This week we have been going through Classes and Class Inheritance. which felt like an easier concept to grasp than the previous, since we had already been working with this a bit when creating ”Pong” earlier in the course.
Classes are just like variables different data structures that can be called within the main function, they can have different functions inside of them. That way we can use classes to reduce the amount of code we have to write, making it […]

/ Comments Off on Programming week 3 – Classes
Program: Programming

Programming week 3 – Classes

This week we have been going through Classes and Class Inheritance. which felt like an easier concept to grasp than the previous, since we had already been working with this a bit when creating ”Pong” earlier in the course.
Classes are just like variables different data structures that can be called within the main function, they can have different functions inside of them. That way we can use classes to reduce the amount of code we have to write, making it […]

/ Comments Off on Programming week 3 – Classes
Program: Programming

Programming week 3 – Classes

This week we have been going through Classes and Class Inheritance. which felt like an easier concept to grasp than the previous, since we had already been working with this a bit when creating ”Pong” earlier in the course.
Classes are just like variables different data structures that can be called within the main function, they can have different functions inside of them. That way we can use classes to reduce the amount of code we have to write, making it […]

/ Comments Off on Programming week 3 – Classes
Program: Programming

BlogPosts[2] = new blogPost(3);

Hopefully this works now. Apparently my blog posts wasn’t showing up for some reason. I guess I just missed the right instructions or something. Anyways, this has been the result of week three:
It has been way too much and way too little at the same time. As I have programmed before the exercises seemed like a repetition of what I have already learned, but with some small changes in syntax, which was really annoying to find out about because there […]

/ Comments Off on BlogPosts[2] = new blogPost(3);
Program: Programming

BlogPosts[2] = new blogPost(3);

Hopefully this works now. Apparently my blog posts wasn’t showing up for some reason. I guess I just missed the right instructions or something. Anyways, this has been the result of week three:
It has been way too much and way too little at the same time. As I have programmed before the exercises seemed like a repetition of what I have already learned, but with some small changes in syntax, which was really annoying to find out about because there […]

/ Comments Off on BlogPosts[2] = new blogPost(3);
Program: Programming

Lots of lines.. Hello Perspective.

Hi again!
Last week was a difficult one. The lectures were held by Steven, who will be having a couple of our lectures along with Jerker and Pernilla. He introduced us to perspective drawing. The art of having a relation between the objects in the picture. How do you show that the car is on the ground up close, and how do you show that an airplane is flying of towards the horizon? By mastering perspective, you master how the viewer […]

/ Comments Off on Lots of lines.. Hello Perspective.
Program: Graphics

Lots of lines.. Hello Perspective.

Hi again!
Last week was a difficult one. The lectures were held by Steven, who will be having a couple of our lectures along with Jerker and Pernilla. He introduced us to perspective drawing. The art of having a relation between the objects in the picture. How do you show that the car is on the ground up close, and how do you show that an airplane is flying of towards the horizon? By mastering perspective, you master how the viewer […]

/ Comments Off on Lots of lines.. Hello Perspective.
Program: Graphics

Week 12: Fleshing Out a Character

This week we were tasked to choose one of the thumbnails we created from the first week and further develop it, creating a backstory and personality for it. I chose my engineer thumb, because I felt it was right for the setting I had originally envisioned her in, which is a post-apocalyptic society set in the 27th century. Below is my process from a doodle to a finished sketch.

For the assignment our job was to draw our character in […]

/ Comments Off on Week 12: Fleshing Out a Character
Program: Graphics

Week 12: Fleshing Out a Character

This week we were tasked to choose one of the thumbnails we created from the first week and further develop it, creating a backstory and personality for it. I chose my engineer thumb, because I felt it was right for the setting I had originally envisioned her in, which is a post-apocalyptic society set in the 27th century. Below is my process from a doodle to a finished sketch.

For the assignment our job was to draw our character in […]

/ Comments Off on Week 12: Fleshing Out a Character
Program: Graphics