Browsing '2013': Students starting in 2013

Unit Testing

So this time I’ll be blogging about what Unit testing is and how I applied it to both my projects(BST and L.List).
Generally unit testing follows your functions you’ve created and makes sure they return the correct values or just does what they are suppose to do.
The way you configure them is dependent on what your functions does.
I will state here what kind of testing my class does and how it does so.
As a whole this is my unit testing:
 
bool are_equal(T […]

/ Comments Off on Unit Testing
Program: Programming

Unit Testing

So this time I’ll be blogging about what Unit testing is and how I applied it to both my projects(BST and L.List).
Generally unit testing follows your functions you’ve created and makes sure they return the correct values or just does what they are suppose to do.
The way you configure them is dependent on what your functions does.
I will state here what kind of testing my class does and how it does so.
As a whole this is my unit testing:
 
bool are_equal(T […]

/ Comments Off on Unit Testing
Program: Programming

Unit Testing

So this time I’ll be blogging about what Unit testing is and how I applied it to both my projects(BST and L.List).
Generally unit testing follows your functions you’ve created and makes sure they return the correct values or just does what they are suppose to do.
The way you configure them is dependent on what your functions does.
I will state here what kind of testing my class does and how it does so.
As a whole this is my unit testing:
 
bool are_equal(T […]

/ Comments Off on Unit Testing
Program: Programming

Unit Testing

So this time I’ll be blogging about what Unit testing is and how I applied it to both my projects(BST and L.List).
Generally unit testing follows your functions you’ve created and makes sure they return the correct values or just does what they are suppose to do.
The way you configure them is dependent on what your functions does.
I will state here what kind of testing my class does and how it does so.
As a whole this is my unit testing:
 
bool are_equal(T […]

/ Comments Off on Unit Testing
Program: Programming

Two weeks of programming

Well, it’s been two weeks since my last post, so I’ll go through what I’ve done the past weeks.
Last week we were introduced to network programming, which I’m very interested in and have been ever since I played Diablo II with my best friend, wanting to learn how it ticked.
It isn’t my first contact with networking in practice or theory, back in high-school I went to a networking course where we learned the OSI-model among others. even if it was […]

/ Comments Off on Two weeks of programming
Program: Programming

Two weeks of programming

Well, it’s been two weeks since my last post, so I’ll go through what I’ve done the past weeks.
Last week we were introduced to network programming, which I’m very interested in and have been ever since I played Diablo II with my best friend, wanting to learn how it ticked.
It isn’t my first contact with networking in practice or theory, back in high-school I went to a networking course where we learned the OSI-model among others. even if it was […]

/ Comments Off on Two weeks of programming
Program: Programming

Two weeks of programming

Well, it’s been two weeks since my last post, so I’ll go through what I’ve done the past weeks.
Last week we were introduced to network programming, which I’m very interested in and have been ever since I played Diablo II with my best friend, wanting to learn how it ticked.
It isn’t my first contact with networking in practice or theory, back in high-school I went to a networking course where we learned the OSI-model among others. even if it was […]

/ Comments Off on Two weeks of programming
Program: Programming

Two weeks of programming

Well, it’s been two weeks since my last post, so I’ll go through what I’ve done the past weeks.
Last week we were introduced to network programming, which I’m very interested in and have been ever since I played Diablo II with my best friend, wanting to learn how it ticked.
It isn’t my first contact with networking in practice or theory, back in high-school I went to a networking course where we learned the OSI-model among others. even if it was […]

/ Comments Off on Two weeks of programming
Program: Programming

Game Programming III – Blog Post 3

Gah! I just remembered that I forgot to write this. Oh well, I’ll just get right to it, I suppose.

The main thing that was accomplished this week was the completeness of the binary search tree. While the linked list wasn’t too difficult and the logic wasn’t too strange, the binary search tree was something different. The creation of the tree was probably the easiest as it simply followed a somewhat basic logic and most of the work was to […]

/ Comments Off on Game Programming III – Blog Post 3
Program: Programming

Game Programming III – Blog Post 3

Gah! I just remembered that I forgot to write this. Oh well, I’ll just get right to it, I suppose.

The main thing that was accomplished this week was the completeness of the binary search tree. While the linked list wasn’t too difficult and the logic wasn’t too strange, the binary search tree was something different. The creation of the tree was probably the easiest as it simply followed a somewhat basic logic and most of the work was to […]

/ Comments Off on Game Programming III – Blog Post 3
Program: Programming

Done with the Web Server! (Week 48)

So I managed to finish my web server. 

When I started coding I managed to get something up and working in a few hours and I blogged about it last week, but then I realized that there was much more to assignment 2 so I got down to business.

First of all I had to figure out how a web browser operates. Something I knew nothing about. My classmate Jonas explained how the browser sends a “GET” request (e.g. GET […]

/ Comments Off on Done with the Web Server! (Week 48)
Program: Programming

Done with the Web Server! (Week 48)

So I managed to finish my web server. 

When I started coding I managed to get something up and working in a few hours and I blogged about it last week, but then I realized that there was much more to assignment 2 so I got down to business.

First of all I had to figure out how a web browser operates. Something I knew nothing about. My classmate Jonas explained how the browser sends a “GET” request (e.g. GET […]

/ Comments Off on Done with the Web Server! (Week 48)
Program: Programming

Programming 3 3D triangles.

A bit late to post but better late than ever, this week has been all about 3D-graphics, we have gotten a small introduction on how to initialize DirectX in a program. But we have also gained knowledge on how the computer sees graphical structures. When we see a box the computer actually sees it as triangles, well…if you go even deeper the computer sees the triangles as vertices (dots) in a 3D-space, between these dots it connects with lines in […]

/ Comments Off on Programming 3 3D triangles.
Program: Programming

Programming 3 3D triangles.

A bit late to post but better late than ever, this week has been all about 3D-graphics, we have gotten a small introduction on how to initialize DirectX in a program. But we have also gained knowledge on how the computer sees graphical structures. When we see a box the computer actually sees it as triangles, well…if you go even deeper the computer sees the triangles as vertices (dots) in a 3D-space, between these dots it connects with lines in […]

/ Comments Off on Programming 3 3D triangles.
Program: Programming

Programming 3 3D triangles.

A bit late to post but better late than ever, this week has been all about 3D-graphics, we have gotten a small introduction on how to initialize DirectX in a program. But we have also gained knowledge on how the computer sees graphical structures. When we see a box the computer actually sees it as triangles, well…if you go even deeper the computer sees the triangles as vertices (dots) in a 3D-space, between these dots it connects with lines in […]

/ Comments Off on Programming 3 3D triangles.
Program: Programming

Programming 3 3D triangles.

A bit late to post but better late than ever, this week has been all about 3D-graphics, we have gotten a small introduction on how to initialize DirectX in a program. But we have also gained knowledge on how the computer sees graphical structures. When we see a box the computer actually sees it as triangles, well…if you go even deeper the computer sees the triangles as vertices (dots) in a 3D-space, between these dots it connects with lines in […]

/ Comments Off on Programming 3 3D triangles.
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

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

The day i asked for help and made a cube.

Got to school a proper time today as I was hoping to finish the first assignment and also ask for help with some things I was unsure about. Thanks to asking around I was able to fix the issues I was having with my traversal functions. The issue was solved by moving the node struct to the top of the class rather than the end. This was because the function called for a node to be used as an argument […]

/ Comments Off on The day i asked for help and made a cube.
Program: Programming

The day i asked for help and made a cube.

Got to school a proper time today as I was hoping to finish the first assignment and also ask for help with some things I was unsure about. Thanks to asking around I was able to fix the issues I was having with my traversal functions. The issue was solved by moving the node struct to the top of the class rather than the end. This was because the function called for a node to be used as an argument […]

/ Comments Off on The day i asked for help and made a cube.
Program: Programming

Game Programming III – the third week, binary search tree part one (1)


Hello!
This week I finally managed to finalize the binary search tree that I’ve been working on. I’ve had a lot of trouble since I did not have the sense to look up tutorials on the subject even though that is usually the first thing I do. I guess I got too cocky and figured I should be able to do it all on my own pretty quick. I was wrong, and I would have saved myself a lot of […]

/ Comments Off on Game Programming III – the third week, binary search tree part one (1)
Program: Programming

Game Programming III – the third week, binary search tree part one (1)


Hello!
This week I finally managed to finalize the binary search tree that I’ve been working on. I’ve had a lot of trouble since I did not have the sense to look up tutorials on the subject even though that is usually the first thing I do. I guess I got too cocky and figured I should be able to do it all on my own pretty quick. I was wrong, and I would have saved myself a lot of […]

/ Comments Off on Game Programming III – the third week, binary search tree part one (1)
Program: Programming