Thursday, February 5, 2009

Coding in C++

So far I have learned the basics of C++. Let me share some of what I have learned.

typedef unsigned int uint;

What does this mean? Well basically int has a set range of values and we can change that range using unsigned int. This does not change the size of int but just changes the range of int. So instead of writing unsigned int we can just write uint when coding.

I think I have a better understanding of loops and arrays at this point in C++ then when I tried to learn C# a couple of years back. Still I am at the end of Ch. 2 and I am not where I would personally want to be. I know that some information is just being mentioned now and I will continue to implement them as I keep coding and that it will become second nature. I just must be patient. This is something that I really want to learn and hopefully I can build my first game some day soon. I must just keep learning and keep coding. I will become one with the Matrix!!!

Baby Mlodzinski



I am about to be a proud poppy for the 3rd time. Due date is 8/25/2009.

ASCII

I am not as far along as I would like to be but slow progress is still progress. I must output the extended ASCII character set in the range [33,255] while using a loop to output each possible value between 33-255. I know I must use unsigned char to accomplish this feat but I have brain freeze.

Any hints are welcome...........