Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow To Making An App Run Idle? Pin
cb_schear1-May-02 16:06
cb_schear1-May-02 16:06 
AnswerRe: How To Making An App Run Idle? Pin
Christian Graus1-May-02 16:41
protectorChristian Graus1-May-02 16:41 
GeneralRe: How To Making An App Run Idle? Pin
1-May-02 16:57
suss1-May-02 16:57 
GeneralRe: How To Making An App Run Idle? Pin
Paul M Watt1-May-02 16:58
mentorPaul M Watt1-May-02 16:58 
AnswerRe: How To Making An App Run Idle? Pin
Paul M Watt1-May-02 16:55
mentorPaul M Watt1-May-02 16:55 
Generalquestion Pin
1-May-02 14:48
suss1-May-02 14:48 
GeneralRe: question Pin
Nish Nishant1-May-02 14:52
sitebuilderNish Nishant1-May-02 14:52 
GeneralRand() Pin
SilverShalkin1-May-02 13:27
SilverShalkin1-May-02 13:27 
ok... hi all Smile | :)
ive bean kindof relient on Kilowatt. "sorry kilowatt"

now my question...

i want to random a number betwean 1-10.
i looked up rand()... automatically i thought that you could just put the number that you want to be randomized in the ().... like for example

rand(10)... that didnt work.

there is srand also...

why wont the rand(10) work... and, how do i work rand()?


Thanks all!

~SilverShalkin

Rose | [Rose]
GeneralRe: Rand() Pin
Nish Nishant1-May-02 13:35
sitebuilderNish Nishant1-May-02 13:35 
GeneralRe: Rand() Pin
SilverShalkin1-May-02 14:00
SilverShalkin1-May-02 14:00 
GeneralRe: Rand() Pin
Nish Nishant1-May-02 14:05
sitebuilderNish Nishant1-May-02 14:05 
Generalcall me stupid... BUT :) Pin
SilverShalkin1-May-02 14:29
SilverShalkin1-May-02 14:29 
GeneralRe: call me stupid... BUT :) Pin
Nish Nishant1-May-02 14:51
sitebuilderNish Nishant1-May-02 14:51 
GeneralMicrosoft Agent Pin
1-May-02 13:11
suss1-May-02 13:11 
GeneralRe: Microsoft Agent Pin
Michael P Butler1-May-02 22:39
Michael P Butler1-May-02 22:39 
QuestionExe Exporting Functions? Pin
1-May-02 12:40
suss1-May-02 12:40 
AnswerRe: Exe Exporting Functions? Pin
Nish Nishant1-May-02 12:46
sitebuilderNish Nishant1-May-02 12:46 
AnswerRe: Exe Exporting Functions? Pin
Mike Nordell1-May-02 13:29
Mike Nordell1-May-02 13:29 
Generalignore function Pin
Steve L.1-May-02 12:22
Steve L.1-May-02 12:22 
GeneralRe: ignore function Pin
Christian Graus1-May-02 13:01
protectorChristian Graus1-May-02 13:01 
GeneralRe: ignore function Pin
Mike Nordell1-May-02 13:20
Mike Nordell1-May-02 13:20 
Generalhelp with a dialog based application Pin
atomicluis1-May-02 11:50
atomicluis1-May-02 11:50 
GeneralRe: help with a dialog based application Pin
Ravi Bhavnani1-May-02 12:07
professionalRavi Bhavnani1-May-02 12:07 
GeneralRe: help with a dialog based application Pin
Nish Nishant1-May-02 12:08
sitebuilderNish Nishant1-May-02 12:08 
GeneralRe: help with a dialog based application Pin
Chris Losinger1-May-02 12:09
professionalChris Losinger1-May-02 12:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.