Mirage Source http://web.miragesource.net/forums/ |
|
Dice Game http://web.miragesource.net/forums/viewtopic.php?f=142&t=5484 |
Page 1 of 1 |
Author: | Tony [ Mon Apr 13, 2009 10:08 am ] | ||
Post subject: | Dice Game | ||
My first game programmed with C++ No tutorial was followed, just all my knowledge from 17 online lessons ![]() People that do know C++, feedback on the source and what I can do better to improve my programming skills would be appreciated. source code: SPOILER: (click to show)
|
Author: | Pbcrazy [ Mon Apr 13, 2009 12:04 pm ] |
Post subject: | Re: Dice Game |
may i ask where you got your 17 online lessons? |
Author: | Tony [ Mon Apr 13, 2009 12:50 pm ] |
Post subject: | Re: Dice Game |
http://xoax.net/comp/cpp/index.php I've reached lesson 17 in a day. He explains so much in so little time which amazes me. |
Author: | Pbcrazy [ Mon Apr 13, 2009 8:52 pm ] |
Post subject: | Re: Dice Game |
sweet thanks, i'll be sure to watch them. |
Author: | Dragoons Master [ Tue Apr 14, 2009 1:35 am ] |
Post subject: | Re: Dice Game |
WTF??? Code: if (iPlayerGuess < 0 || iPlayerGuess > 12){ main(); } That's just not a good programming practice. Use a while, try to avoid recursions at most! |
Author: | Tony [ Tue Apr 14, 2009 2:28 pm ] |
Post subject: | Re: Dice Game |
Dragoons Master wrote: WTF??? Code: if (iPlayerGuess < 0 || iPlayerGuess > 12){ main(); } That's just not a good programming practice. Use a while, try to avoid recursions at most! Oh! Alright ![]() Anyways, I've added you on MSN. |
Author: | katcode [ Thu Apr 16, 2009 7:29 am ] |
Post subject: | Re: Dice Game |
Wow XoaX's Tutorials are Really good. Thanks for sharing them ![]() |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |