Saturday, November 10, 2007

Books Of knowledge

I have finally made it to the library where I got two C++ books.

The first one is called Sams Teach yourself C++ in 10 minutes.
Each chapter can be read in ten minutes and I sort of think of it as a quick and light read which I can take with me.
The Second one is called C++ Primer 4th edition and is quite a bit heavier than the first.
That one will probably my main one I read s it will give a more in depth look at various things.

What a great start to the next ten days. I hope to start reading them later on today.

First 10 Days of the Journey

I just want to take a look back on the first 10 days of my journey.
I started of on the 1st of November.

Day:

1. Read some tutorials off www.cprogramming.com

2. Created my first program which just displayed a simple message.

3. Thought about the site and read a bit more into variables.

4. Got to grips with if....else statements then decided to create a simple program on my own called "The Age" program.

5. Ran into my first problem with "The Age" program. Had a try at fixing it to no success.

6. Learnt about loops and read an article about getting into coding.

7. Could still not get things going on my program so felt a bit down. Also brought the new domain name for the site.

8. Made a program that displays 2 random numbers then minuses the smaller number from the bigger number.

9.Finished "The Age" program. It felt so good to have finished it.

10. Found a good tutorial site called www.cplusplus.com

Overall it has been an interesting first 10 days learning about the basics of C++.
Now onto the next 10!!

Friday, November 9, 2007

Error Alert!!

When i finished my random program it was late and i did not check it fully for errors.
Oops!??!

Whats the problem? Well it brings up random numbers but the problem is it brings up the same one all the time.
I had a quick look at it and had a attempt to fix it but no luck.

I don't think I'm really gonna try and find out why it's bugged up but if i ever have some spare time or all of the answer comes to me I will go fix it.

The Age program: Complete?

I figured out what the problem was and have fixed it.
It was because i was storing the name that the person using the program would enter as a int instead of a string.

After that i added some if...else statements and then just tided the code up bit.
And you know what it works, I'm so proud of my program.
Now it my not seem like much to sum of you but you of course whould have never felt the satisfaction of making, debugging and having a working program at the end of it.
You can download it here.

Does this mean that The Age program is complete, well i don't think so as i learn more things I can alter the code and add to it.

Thursday, November 8, 2007

Random Number Program

Most simple programs i have thought about making in C++ need a random number in them.
I googled up random number generator in C++ and it came up with some tutorials and i read the one from daniweb.

With that knowledge i made my own program which displays two random numbers then minuses the smaller one from the bigger one.
If you wish to have a look at it you can download it here.

I hope to learn a bit more about this skill and then use it to create other programs.

Wednesday, November 7, 2007

New Domain!!!

I told you there were going to be some changes and heres a first pretty big one.
I brought www.codersquest.com and renamed the site to Coders Quest.

The great thing about it is if anyone clicks on link to the old site they will be automatically redirected to the new domain name.
I spent $10 USD on the domain name and that gives it to me for a year.

This was the first of the changes that are happening here.
I will update you as they happen.

Some humour in these dark times

I still can't get my program to work even though i have tried countless times at it.
I also have 1 and a half more days before i can get to the library.

However this funny joke I found cheered me up.
It's called the supercoder 2000 and can be found at http://www.evula.org/dragoon/pics/supercoder.jpg
Don't think it will sell much.

Because of this i think i will be able to continue to try i get my program working and will read more on the internet until i go to the library to get some C++ books.

Tuesday, November 6, 2007

Advise from a wise man

I was looking through digg like i always do and found an article about getting into coding. You can find it at: http://bluesuncorp.co.uk/2007/11/06/getting-into-coding

So far i have only got number 1 done and am working on number 2.
If I am to complete my goal of becoming an average coder by the end of two months i will have to be up to number 3 by the end of the first month.

I will try to code a little something every time i get the chance and read a much about C++.

First brick wall

I hit my first problem yesterday.
I was making "the age" program and I compiled then ran it.
It came up how it should of and it told you to enter your name.

Now once you entered your name and pressed enter the program would flash through and close. But it should ask for your age after that.
I tried altering the code or getting it to slow down but I still can't figure out why it zips through the program.

I will continue to look for a solution and I will also read a few more tutorials as I may find one in them.

Monday, November 5, 2007

An age old question

Now that i'm getting to grips with the basics like in/output, variables and if...else statements I thought i might try making a program on my own.

To start off I will get it to ask for you name and age the display the two.
After that depending on your age it will say something like "Your old" or "Your young".
When I learn more I might decided to come back to this program and make it more advanced.

Can I make it? I sure hope so.
I will post "The age" program up once I am finished.

Sunday, November 4, 2007

First Program

Seen as I haven't been able to get to the library I had to find a site to learn from.
I came across a great site which specializes in C and C++. You can find it at http://www.cprogramming.com

From this I wrote my first program which simply displayed on the screen the following:

"Hello

My name is jordan widel.
I wrote this program."

If you want to download it you can get it here.
I'm very proud of my first creation.