Kamikaze_Badger Posted August 2, 2005 Posted August 2, 2005 *huggles markie* It's ok to cry. Probably won't fix it... but why not make life easy and say: for(begin=0,begin<end,begin++){...} Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted August 2, 2005 Posted August 2, 2005 You could do... for (begin = 0; begin < end; begin++) { cout << love[0]; cout << love[1]; if (begin == (end - 1)) { srand(time(NULL)); if ( (rand() % 2) == 1 ) { cout << love[0]; } } } Share this post Link to post Share on other sites More sharing options...
Kamikaze_Badger Posted August 2, 2005 Posted August 2, 2005 Ahhh! Too... many... curly brackets... *faints* Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted August 2, 2005 Posted August 2, 2005 lol. I guess you could also do... uhm.... for (begin = 0; begin < end; begin++) { cout << love[0]; cout << love[1]; if (begin == (end - 1)) { srand(time(NULL)); if ( (rand() % 100) & 1 ) { cout << love[0]; } } } I think this one would be better (the & 1 is a test for odd or even incase you don't know) EDIT: and it just occured to me I don't have to use 0x0001 and it's probly better to just use 1 Share this post Link to post Share on other sites More sharing options...
Archerzz Posted August 2, 2005 Posted August 2, 2005 Ok ill be back in about 2 hours after i decipher that stuff..... Share this post Link to post Share on other sites More sharing options...
apostolics Posted August 2, 2005 Posted August 2, 2005 markie and kb can you take me under your wings and teach me programming i tried but failed on my own i need a teacher/s. i also want to learn html Share this post Link to post Share on other sites More sharing options...
Archerzz Posted August 2, 2005 Posted August 2, 2005 Me too I live to serve you masters...... *bows down*.... Its not that I cant teach myself, I actully think I am learning better from myself than I did in class but I just cant come up with good program ideas. Share this post Link to post Share on other sites More sharing options...
Kamikaze_Badger Posted August 2, 2005 Posted August 2, 2005 (edited) Yes, we can. Hit me up on AIM or MSN, Kamikazebadger2 and [email protected] respectively. And just simply spam this forum for markie's assistance. We will train you...for a price... well, not for a price, but still... money makes us smarter . Edited August 2, 2005 by Kamikaze_Badger Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted August 2, 2005 Posted August 2, 2005 Me too I live to serve you masters...... *bows down*....Its not that I cant teach myself, I actully think I am learning better from myself than I did in class but I just cant come up with good program ideas. 521309[/snapback] OCC Instant Messenger (a.k.a go on IRC thing) No but really. I've no ideas either, not for anything useful that I need anyway. Actually, I think I might have a go at a mini totally unfunctional chat server thing and see what happens. Could be interesting... could get logins from MySQL and... and.... *goes away and looks at network programming function stuffs* Share this post Link to post Share on other sites More sharing options...
Kamikaze_Badger Posted August 2, 2005 Posted August 2, 2005 No markie, you're still a young man! Don't waste away your innosence! Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted August 2, 2005 Posted August 2, 2005 No markie, you're still a young man! Don't waste away your innosence! 521367[/snapback] lol.. i just realised a client would have to be like.. graphical and stuff... brr! that would be quite a task..... and... i guess the server would have to be threaded...... eek Share this post Link to post Share on other sites More sharing options...
Kamikaze_Badger Posted August 2, 2005 Posted August 2, 2005 Well, you could make life easy and get the Windows++ libraries... 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