Kamikaze_Badger Posted November 29, 2004 Posted November 29, 2004 Oh yea, I forgot about that, lol. But, whoever wants a peek at v.2, here's something: #include <time> That's all I'm allowed to let out. Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted November 29, 2004 Posted November 29, 2004 You might wanna take a lookie at the changes I have made in the above zip and merge them into .2 or something. It gets rid of the recursive calls, which I think would eventually cause your program to encounter a 'stack overflow' and fixes the issues with input, as far as I am aware. Share this post Link to post Share on other sites More sharing options...
Propane Posted November 29, 2004 Posted November 29, 2004 well... I released v0.02 like 5 minutes ago... so go get it :-P Markiemrboo... Ill look at your changes asap, thanks Share this post Link to post Share on other sites More sharing options...
sdy284 Posted November 29, 2004 Posted November 29, 2004 a program that has KB involved has me worried when you beat the game do furries pop out of everywhere??? Share this post Link to post Share on other sites More sharing options...
Kamikaze_Badger Posted November 29, 2004 Posted November 29, 2004 No. Cramer reviews the code before adding it. Share this post Link to post Share on other sites More sharing options...
Propane Posted November 29, 2004 Posted November 29, 2004 Yea, Im the head of the project... hes just my minion Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted November 29, 2004 Posted November 29, 2004 The recursion issue is still there in the menus in .02 whatever it is.. .2? Would you like me to go through and change it all again, or you wanna do it? Share this post Link to post Share on other sites More sharing options...
Propane Posted November 30, 2004 Posted November 30, 2004 I dont see what you mean with the recursion... but if you want to change it all again, feel free :-P I am yet to get to looking at your changes... I had to unzip and change the extension which I thought I could wait on for a hour or so... Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted November 30, 2004 Posted November 30, 2004 Recursion... when you call, say, getNextMove() inside getNextMove(). Not such a good idea, because you'll end up filling up the stack with return addresses (I think) .. something along those lines. I'm in the process of making the changes again. May I ask.. what's the deal with the pointers? Looks to me like you may aswell have them plain int's as you're only ever reading/writing the value. Share this post Link to post Share on other sites More sharing options...
Propane Posted November 30, 2004 Posted November 30, 2004 (edited) I was gonna do something with the pointers but then decided not to... So I might take them out edit... fixed the recursion with a do while loop Edited November 30, 2004 by Kevin_E_Cramer Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted November 30, 2004 Posted November 30, 2004 That's alrighty then Well, I have this so far (see attached). I think it's only missing... the pause before exit. gets isn't working unless I specify NULL for the input buffer (in which case it errors because it's trying to stick characters into a null pointer.. JOY!). I'm working on that one though. I also changed the pointer so it's a plain old int. Share this post Link to post Share on other sites More sharing options...
adrenalinepcs Posted November 30, 2004 Posted November 30, 2004 lol that's an awesome game. i think I'll send it to my huge Mormon family. no lie i have over 50 cousins on just my moms side. Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now