PDA

View Full Version : Programming question.



cpt_azad
10-29-2005, 04:54 AM
I have to write this lotto 649 random number generator that generates 6 numbers between 1 and 49. I got that part down and everthing, but I wanted to know, how do you (at the start) make it so that when you first start the Win32 Conosle App (C++ file) it first asks you if you would like to generate the numbers, right now when i start it up it just shows the 6 randomly generated numbers (and there a loop i put in where [it displays whether or not u would like to generate another set of numbers, y for yes, n for no] you can generate another batch of numbers). I just wanna know how to, in the beginning, make it so that it actually asks whether or not you want to generate the 1st set of numbers to begin with rather than that first set just automatically showing up. I can PM anyone the C++ code (visual studio) if they need it to see what I mean, but if you know this stuff and can help that be great :) thanks in advance :)

twisterX
10-29-2005, 05:23 AM
get some keygen makers. Im sure they will be able to help you there:naughty: .

cpt_azad
10-29-2005, 06:04 AM
get some keygen makers. Im sure they will be able to help you there:naughty: .

lol