Browsing '2013': Students starting in 2013
Programming 3 second week.
This is the second blog post of programming 3. What I am going to talk about today is about networking, mainly about receiving packages from peers. Throughout the week the class has been creating a simple (not that simple) chat program. To start with you have to activate WSA data and then sockets in order to start networking. When receiving packages the program must also determine what to do with the package and peers. Therefore a basic networking program requires […]
Programming 3 second week.
This is the second blog post of programming 3. What I am going to talk about today is about networking, mainly about receiving packages from peers. Throughout the week the class has been creating a simple (not that simple) chat program. To start with you have to activate WSA data and then sockets in order to start networking. When receiving packages the program must also determine what to do with the package and peers. Therefore a basic networking program requires […]
Programming 3 second week.
This is the second blog post of programming 3. What I am going to talk about today is about networking, mainly about receiving packages from peers. Throughout the week the class has been creating a simple (not that simple) chat program. To start with you have to activate WSA data and then sockets in order to start networking. When receiving packages the program must also determine what to do with the package and peers. Therefore a basic networking program requires […]
Programming 3 second week.
This is the second blog post of programming 3. What I am going to talk about today is about networking, mainly about receiving packages from peers. Throughout the week the class has been creating a simple (not that simple) chat program. To start with you have to activate WSA data and then sockets in order to start networking. When receiving packages the program must also determine what to do with the package and peers. Therefore a basic networking program requires […]
My first Webserver!,*cough*…kind of.
So this week I have been working on assignment 2, making a web server using C++ and Winsock2 API. It went quite well at the start and in basically one day I got a simple server (if you can call it that) that could handle one connection. I received data from the user and I displayed some text in the web browser to the user.
As you can see the browser in the back and in […]
My first Webserver!,*cough*…kind of.
So this week I have been working on assignment 2, making a web server using C++ and Winsock2 API. It went quite well at the start and in basically one day I got a simple server (if you can call it that) that could handle one connection. I received data from the user and I displayed some text in the web browser to the user.
As you can see the browser in the back and in […]
Game Programming III Week Two: Network programming
I haven’t really done anything on my personal projects (or assignments) this week, therefore I feel that the only thing I can write about is what we did on the lectures: an introduction to network programming using sockets.
For the uninitiated, sockets can be somewhat likened to electrical plugs. You decide on a port where you send or receive data, similar to choosing one specific outlet to plug in whatever electrical appliance you might have. You then create a socket and […]
Game Programming III Week Two: Network programming
I haven’t really done anything on my personal projects (or assignments) this week, therefore I feel that the only thing I can write about is what we did on the lectures: an introduction to network programming using sockets.
For the uninitiated, sockets can be somewhat likened to electrical plugs. You decide on a port where you send or receive data, similar to choosing one specific outlet to plug in whatever electrical appliance you might have. You then create a socket and […]
Game Programming III Week Two: Network programming
I haven’t really done anything on my personal projects (or assignments) this week, therefore I feel that the only thing I can write about is what we did on the lectures: an introduction to network programming using sockets.
For the uninitiated, sockets can be somewhat likened to electrical plugs. You decide on a port where you send or receive data, similar to choosing one specific outlet to plug in whatever electrical appliance you might have. You then create a socket and […]
Game Programming III Week Two: Network programming
I haven’t really done anything on my personal projects (or assignments) this week, therefore I feel that the only thing I can write about is what we did on the lectures: an introduction to network programming using sockets.
For the uninitiated, sockets can be somewhat likened to electrical plugs. You decide on a port where you send or receive data, similar to choosing one specific outlet to plug in whatever electrical appliance you might have. You then create a socket and […]
Programming Blog – Week 2
This week I created my linked list for the first assignment of this course.
The first idea I had for this was a struct Node shown below.
struct Node {
int data;
Node *next;
}
Then I had to tackle the problem of having several Nodes and where to store them, and while thinking of using actual std::lists or vectors a friend told me that I only needed to define the root-node and the rest would just be layered through the Node *next without needing a way […]
Programming Blog – Week 2
This week I created my linked list for the first assignment of this course.
The first idea I had for this was a struct Node shown below.
struct Node {
int data;
Node *next;
}
Then I had to tackle the problem of having several Nodes and where to store them, and while thinking of using actual std::lists or vectors a friend told me that I only needed to define the root-node and the rest would just be layered through the Node *next without needing a way […]
Programming Blog – Week 2
This week I created my linked list for the first assignment of this course.
A linked list is essentialy a number of nodes containing its data as well as having a pointer to the next node in the list.
The first idea I had for this was a struct Node shown below.
struct Node {
int data;
Node *next;
}
Then I had to tackle the problem of having several Nodes and where to store them, and while thinking of using actual std::lists or vectors a friend told me that I […]
Programming Blog – Week 2
This week I created my linked list for the first assignment of this course.
A linked list is essentialy a number of nodes containing its data as well as having a pointer to the next node in the list.
The first idea I had for this was a struct Node shown below.
struct Node {
int data;
Node *next;
}
Then I had to tackle the problem of having several Nodes and where to store them, and while thinking of using actual std::lists or vectors a friend told me that I […]
Game Programming III – Second Week
This week I finished my linked list. I used templates for the data given to the nodes, and so all functions for the list are written in the header file. All methods have been completed and tested, now all that’s left for the linked list to be fully completed is some kind of unit testing.
In class we have been creating a UDP Chat, which also helped us to get ready for our second assignment, which is about writing a web […]
Game Programming III – Second Week
This week I finished my linked list. I used templates for the data given to the nodes, and so all functions for the list are written in the header file. All methods have been completed and tested, now all that’s left for the linked list to be fully completed is some kind of unit testing.
In class we have been creating a UDP Chat, which also helped us to get ready for our second assignment, which is about writing a web […]
Spelprogrammering III – 2nd Post
This week we’ve been working on creating a UDP Chatprogram, as a part of learning the class basic network coding.
In a nutshell, the program we are creating uses UDP to send packets of data to one and another containing messages using the console (It’s a mess when you get 26 people to do this at once though).
I’ll just dedicate this little bloggpost to what I’ve been learning, as I’ve been trying to define what everything is, and what everything does […]
Spelprogrammering III – 2nd Post
This week we’ve been working on creating a UDP Chatprogram, as a part of learning the class basic network coding.
In a nutshell, the program we are creating uses UDP to send packets of data to one and another containing messages using the console (It’s a mess when you get 26 people to do this at once though).
I’ll just dedicate this little bloggpost to what I’ve been learning, as I’ve been trying to define what everything is, and what everything does […]
Game Programming III – the second week, linked lists part three (3)
Hello again!
Let’s try to finish up the linked list. Last time I put up a completely functional linked list for integer variables. We now need to remake it into a list that can story data any type, in other words we need to make it generic.
There are a few things different about this version. First off we will need to write it all in the header file and not use any source file at all because we are […]
Game Programming III – the second week, linked lists part three (3)
Hello again!
Let’s try to finish up the linked list. Last time I put up a completely functional linked list for integer variables. We now need to remake it into a list that can story data any type, in other words we need to make it generic.
There are a few things different about this version. First off we will need to write it all in the header file and not use any source file at all because we are […]
Game Programming III – the second week, linked lists part three (3)
Hello again!
Let’s try to finish up the linked list. Last time I put up a completely functional linked list for integer variables. We now need to remake it into a list that can story data any type, in other words we need to make it generic.
There are a few things different about this version. First off we will need to write it all in the header file and not use any source file at all because we are making use […]
Game Programming III – the second week, linked lists part three (3)
Hello again!
Let’s try to finish up the linked list. Last time I put up a completely functional linked list for integer variables. We now need to remake it into a list that can story data any type, in other words we need to make it generic.
There are a few things different about this version. First off we will need to write it all in the header file and not use any source file at all because we are making use […]
The Ent Chef
We were having a drawing/programming night last night, we were given key words to paint from. I got the words “organic”, “cook” and “forest”, so this is what you get! I had a lot of with it, worked a lot with different ways to create textures and experimented with different blending modes.
The Ent Chef
We were having a drawing/programming night last night, we were given key words to paint from. I got the words “organic”, “cook” and “forest”, so this is what you get! I had a lot of with it, worked a lot with different ways to create textures and experimented with different blending modes.