Yearly Archives: 2014

Programming a Guessing game!!

First week of programming has come to an end, I’ve learned a lot!  It feels like we’ve already gone through the basics, so it’s really going in a rapid speed, which is nice of course.
I’ve managed to create a simple guessing game which is run in CMD. What happens is that the system randomly assigns a number which the user has to guess. If the guess from the user is too high, it will be pointed out, if the guess […]

/ Comments Off on Programming a Guessing game!!
Program: Programming

Programming a Guessing game!!

First week of programming has come to an end, I’ve learned a lot!  It feels like we’ve already gone through the basics, so it’s really going in a rapid speed, which is nice of course.
I’ve managed to create a simple guessing game which is run in CMD. What happens is that the system randomly assigns a number which the user has to guess. If the guess from the user is too high, it will be pointed out, if the guess […]

/ Comments Off on Programming a Guessing game!!
Program: Programming

First week of programming

We started our programming course this week. After the introduction this monday, we went through different variables this tuesday. After tuesday’s lesson, I did some of the practise exercises on my own. The problem came when I ended up with exercise 11. Here’s the description of exercise 11:

Let the user input two integer values.

Square the first variable and divide by the second.

Assign the result to a floating point variable.

Output the result

Compile and run

The issue with this exercise was that my […]

/ Comments Off on First week of programming
Program: Programming

First week of programming

We started our programming course this week. After the introduction this monday, we went through different variables this tuesday. After tuesday’s lesson, I did some of the practise exercises on my own. The problem came when I ended up with exercise 11. Here’s the description of exercise 11:

Let the user input two integer values.

Square the first variable and divide by the second.

Assign the result to a floating point variable.

Output the result

Compile and run

The issue with this exercise was that my […]

/ Comments Off on First week of programming
Program: Programming

First week of programming

We started our programming course this week. After the introduction this monday, we went through different variables this tuesday. After tuesday’s lesson, I did some of the practise exercises on my own. The problem came when I ended up with exercise 11. Here’s the description of exercise 11:

Let the user input two integer values.

Square the first variable and divide by the second.

Assign the result to a floating point variable.

Output the result

Compile and run

The issue with this exercise was that my […]

/ Comments Off on First week of programming
Program: Programming

First week of programming

We started our programming course this week. After the introduction this monday, we went through different variables this tuesday. After tuesday’s lesson, I did some of the practise exercises on my own. The problem came when I ended up with exercise 11. Here’s the description of exercise 11:

Let the user input two integer values.

Square the first variable and divide by the second.

Assign the result to a floating point variable.

Output the result

Compile and run

The issue with this exercise was that my […]

/ Comments Off on First week of programming
Program: Programming

Game programming I – Week 1


 
As we leave week 1, we have learned about loops, conditional statements, debugging and other essential parts in programming.
Above is one of the exercises we were told to do,  tho in fact, I completed three exercises in an attempt to solve the first of them. It does however have a minor modification.
In the exercise I set out to complete, we were told to allow the user to input two values where the highest one would be represented on the screen, […]

/ Comments Off on Game programming I – Week 1
Program: Programming

Game programming I – Week 1


 
As we leave week 1, we have learned about loops, conditional statements, debugging and other essential parts in programming.
Above is one of the exercises we were told to do,  tho in fact, I completed three exercises in an attempt to solve the first of them. It does however have a minor modification.
In the exercise I set out to complete, we were told to allow the user to input two values where the highest one would be represented on the screen, […]

/ Comments Off on Game programming I – Week 1
Program: Programming

Game programming I – Week 1


 
As we leave week 1, we have learned about loops, conditional statements, debugging and other essential parts in programming.
Above is one of the exercises we were told to do,  tho in fact, I completed three exercises in an attempt to solve the first of them. It does however have a minor modification.
In the exercise I set out to complete, we were told to allow the user to input two values where the highest one would be represented on the screen, […]

/ Comments Off on Game programming I – Week 1
Program: Programming

Game programming I – Week 1


 
As we leave week 1, we have learned about loops, conditional statements, debugging and other essential parts in programming.
Above is one of the exercises we were told to do,  tho in fact, I completed three exercises in an attempt to solve the first of them. It does however have a minor modification.
In the exercise I set out to complete, we were told to allow the user to input two values where the highest one would be represented on the screen, […]

/ Comments Off on Game programming I – Week 1
Program: Programming

Bits and bytes

So first, I hate blogging. But it has to be done.
well then!
this week we started with programming in c++. I have never done any programming so everything so far have been… challenging and fun!
as a slow learner i need to do the same thing over and over until i understand something. To be honest i need to code alot more before i feel that i can contribute to anything interesting to read about.
sure i could explain the “hello world” program. […]

/ Comments Off on Bits and bytes
Program: Programming

Bits and bytes

So first, I hate blogging. But it has to be done.
well then!
this week we started with programming in c++. I have never done any programming so everything so far have been… challenging and fun!
as a slow learner i need to do the same thing over and over until i understand something. To be honest i need to code alot more before i feel that i can contribute to anything interesting to read about.
sure i could explain the “hello world” program. […]

/ Comments Off on Bits and bytes
Program: Programming

Bits and bytes

So first, I hate blogging. But it has to be done.
well then!
this week we started with programming in c++. I have never done any programming so everything so far have been… challenging and fun!
as a slow learner i need to do the same thing over and over until i understand something. To be honest i need to code alot more before i feel that i can contribute to anything interesting to read about.
sure i could explain the “hello world” program. […]

/ Comments Off on Bits and bytes
Program: Programming

Bits and bytes

So first, I hate blogging. But it has to be done.
well then!
this week we started with programming in c++. I have never done any programming so everything so far have been… challenging and fun!
as a slow learner i need to do the same thing over and over until i understand something. To be honest i need to code alot more before i feel that i can contribute to anything interesting to read about.
sure i could explain the “hello world” program. […]

/ Comments Off on Bits and bytes
Program: Programming

WOAH what WOAH

Two days into Game Programming I yields a simple number guessing game. Pliz click for larger image.

Art shamelessly borrowed from Emmy Cicierga. Go buy her stuff.
For-loop syntax explanation:

c Harvey and Paul Deitel

/ Comments Off on WOAH what WOAH
Program: Programming

WOAH what WOAH

Two days into Game Programming I yields a simple number guessing game. Pliz click for larger image.

Art shamelessly borrowed from Emmy Cicierga. Go buy her stuff.
For-loop syntax explanation:

c Harvey and Paul Deitel

/ Comments Off on WOAH what WOAH
Program: Programming

WOAH what WOAH

Two days into Game Programming I yields a simple number guessing game. Pliz click for larger image.

Art shamelessly borrowed from Emmy Cicierga. Go buy her stuff.
For-loop syntax explanation:

c Harvey and Paul Deitel

/ Comments Off on WOAH what WOAH
Program: Programming

WOAH what WOAH

Two days into Game Programming I yields a simple number guessing game. Pliz click for larger image.

Art shamelessly borrowed from Emmy Cicierga. Go buy her stuff.
For-loop syntax explanation:

c Harvey and Paul Deitel

/ Comments Off on WOAH what WOAH
Program: Programming

First week of programming

After almost five years I now return to programing. Prior to beginning this course I have had some experience in using Java but not at any advanced level. Having written code before helped me to understand all the lectures so far, but I have a feeling that with the speed we move on to new things I’ll be lost next week.
Being the first week I don’t really have any interesting code to talk about. The most fun exercise was to […]

/ Comments Off on First week of programming
Program: Programming

First week of programming

After almost five years I now return to programing. Prior to beginning this course I have had some experience in using Java but not at any advanced level. Having written code before helped me to understand all the lectures so far, but I have a feeling that with the speed we move on to new things I’ll be lost next week.
Being the first week I don’t really have any interesting code to talk about. The most fun exercise was to […]

/ Comments Off on First week of programming
Program: Programming

First week of programming

After almost five years I now return to programing. Prior to beginning this course I have had some experience in using Java but not at any advanced level. Having written code before helped me to understand all the lectures so far, but I have a feeling that with the speed we move on to new things I’ll be lost next week.
Being the first week I don’t really have any interesting code to talk about. The most fun exercise was to […]

/ Comments Off on First week of programming
Program: Programming

First week of programming

After almost five years I now return to programing. Prior to beginning this course I have had some experience in using Java but not at any advanced level. Having written code before helped me to understand all the lectures so far, but I have a feeling that with the speed we move on to new things I’ll be lost next week.
Being the first week I don’t really have any interesting code to talk about. The most fun exercise was to […]

/ Comments Off on First week of programming
Program: Programming

A new Beginning

Ahh, the old is ending and the new beginning.
Lo there is light in the darkness though since it is only one new course and it is game programming, this should be fun.
Aye beginning a new course again, so a new week where you have to start learning everything from the start.
Having studied a few basic courses in programming before I had to learn it all anew, cause you forget most of it quickly and need to refresh it constantly to […]

/ Comments Off on A new Beginning
Program: Programming

A new Beginning

Ahh, the old is ending and the new beginning.
Lo there is light in the darkness though since it is only one new course and it is game programming, this should be fun.
Aye beginning a new course again, so a new week where you have to start learning everything from the start.
Having studied a few basic courses in programming before I had to learn it all anew, cause you forget most of it quickly and need to refresh it constantly to […]

/ Comments Off on A new Beginning
Program: Programming