Ryan Bowen 2011. Powered by Blogger.
RSS

"Where Is He?"

Hey everyone, I know panic has ensued at my disappearance recently. I've not had a lot of time for programming since I just started a new job and things have been busy already!

I'll be practising tonight and tomorrow as much as possible since I have some spare time whilst my girlfriend is away. I also just started reading a new book, which definitely appeals to me.

 I'm actually borrowing it from my library, I'm surprised they have this book since the only other computer related books they have are "Laptops for Seniors" and the like but this one sounds like it's just up my alley, so to speak.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Good News And Bad News: Including Assignment Retry Update #2

I'm feeling very disheartened, this assignment was for people with only a few weeks knowledge of C, I've been doing C for months and can't quite get this to work!

I've made good progress but the fact that this progress hasn't been swift makes me feel a little disappointed in myself as I feel as if my skills should be much more progressed by now.

Good news after the jump:

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Update on Platform Shooter

I'm taking a break from C for a day or two to work more on my Platform Shooter!

I know  I haven't given anyone much info on this so I'll fill you in now:

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Assignment Retry Update #1

I'm having a lot of trouble with this assignment, as I did the first time around, except that was justified since I was new to C; this is inexcusable that I'm doing so terribly to make this program work!

I'll be working on it for the next hour or two but I'm not feeling very confident, maybe I'll do some more reading of my textbook on strings since that seems to be where I'm going wrong.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

I Make A Foolish Mistake, As Usual

For those of you who understand programming, take a look at this code and have a good laugh at me:



For those who don't understand where I went wrong, here's what I stupidly did:

I set it so that if the user entered something that wasn't a digit, it would ask them to type a new value.

Alas I thought I was being clever by using "confirmed--" which tells the code to reduce the value of confirmed by one. What I didn't consider what that, if the user did it wrong more than once, the value of confirmed would plummet into negative numbers and the loop would last forever. Even if the user did enter a correct digit!

I'm working on fixing it now, I haven't had much time to work this week but I intend on catching up!

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Total Pageviews