Top Advertisement

Your Ad Here

Saturday, August 14, 2010

First Year, First Defense, First Case... First Time...

Earlier I remembered the first defense we had way back first year its not the first formal but we still had to defend it so... I guess its the first... Luckily I managed to find the source code and took a couple of pictures of it. The first case study was the ROCK, PAPER, SCISSOR GAME...



This is the original Copy of our first case study in programming 1. This is the front page it has the name of our teacher Mam Lydinar Dastas, and the name of my co-workers Paul Pajares and Mary Grace Canlas who were my groupmates back then...



As you can see it is very long and messy... I admit, We don't know how to utilize functions and the switch case back then. But atleast we did it...

Here is the Reason why its very long... Look at the pictures closely and you'll notice the word Case 1 and the next picture has the word Case 41. We Hard coded the combinations instead of randomizing it. well we don't know how to use the rand function back then maybe its the lack of knowledge that forced us to code it all... Thus making it very long and Tedious... We actually used the copy + paste method its very easy the hard part is the editing... ^___^


But you know what... Thanks to this mini defenses, I learned a lot... Now instead of hard coding... I first look if others done it then copy it especially built-in functions... or understand the functions and classes... if its not working... thats the time I'll code it myself... Turbo C is really the start of building good foundation in programming...

Hope you enjoyed reading it... as much as I enjoyed writing it... ^___^




No comments:

Post a Comment