Click here to Skip to main content
15,902,771 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCursor in DirectX Pin
Skirmish7-Aug-03 21:23
Skirmish7-Aug-03 21:23 
GeneralResizing limit Pin
SLiDeR7-Aug-03 20:08
SLiDeR7-Aug-03 20:08 
GeneralRe: Resizing limit Pin
Larry Antram7-Aug-03 20:17
Larry Antram7-Aug-03 20:17 
QuestionHow to fire an event from the program? Pin
ben27-Aug-03 20:02
ben27-Aug-03 20:02 
AnswerRe: How to fire an event from the program? Pin
Anthony_Yio7-Aug-03 23:37
Anthony_Yio7-Aug-03 23:37 
GeneralInternet Explorer custom menu Pin
Mohsen Saad7-Aug-03 19:18
Mohsen Saad7-Aug-03 19:18 
QuestionIn OLE,how to know that the server has finished one operation? Pin
vcseeker7-Aug-03 18:20
vcseeker7-Aug-03 18:20 
GeneralHelp! Pin
DaveE9th7-Aug-03 16:43
DaveE9th7-Aug-03 16:43 
I'm trying to learn how to generate a random number (for a jukebox to play MIDI songs). I bought the C++ standard library reference book and it explains what rand( ) does, but I've not been able to get it to work yet. I don't see any complete examples. I have several books, but they don't talk about rand( ). I also have discovered the random_shuffle function as well, but don't know how to make it work. The biggest problem I've had so far with programming is to implement the code for the various functions. Anyway, I was hoping someone(s) would give me a simple working example of both
1. rand( )
2. random_shuffle( )

I would appreciate it much,

Thanks...Dave

Big Grin | :-D

"The man who reads nothing is better educated than the man who reads nothing but newspapers."- Thomas Jefferson


GeneralRe: Help! Pin
Dave Bryant7-Aug-03 17:32
Dave Bryant7-Aug-03 17:32 
GeneralRe: Help! Pin
DaveE9th7-Aug-03 17:35
DaveE9th7-Aug-03 17:35 
GeneralRe: Help! Pin
Dave Bryant7-Aug-03 17:43
Dave Bryant7-Aug-03 17:43 
GeneralRe: Help! Pin
DaveE9th7-Aug-03 19:35
DaveE9th7-Aug-03 19:35 
QuestionHow can I create a window? Pin
ribbs7-Aug-03 15:23
ribbs7-Aug-03 15:23 
GeneralScrolling a tree view Pin
Marissa1827-Aug-03 14:26
Marissa1827-Aug-03 14:26 
GeneralRe: Scrolling a tree view Pin
Maximilien7-Aug-03 14:54
Maximilien7-Aug-03 14:54 
Questionhow to access Doc class from a dialog memeber function Pin
mr20037-Aug-03 14:24
mr20037-Aug-03 14:24 
AnswerRe: how to access Doc class from a dialog memeber function Pin
Navin7-Aug-03 15:51
Navin7-Aug-03 15:51 
GeneralA List in memory... Pin
Kuniva7-Aug-03 12:36
Kuniva7-Aug-03 12:36 
GeneralRe: A List in memory... Pin
John M. Drescher7-Aug-03 13:01
John M. Drescher7-Aug-03 13:01 
GeneralRe: A List in memory... Pin
Kuniva8-Aug-03 1:00
Kuniva8-Aug-03 1:00 
GeneralRe: A List in memory... Pin
John M. Drescher8-Aug-03 13:10
John M. Drescher8-Aug-03 13:10 
Questionhow can I access variable in View class from my dialog member function? Pin
mr20037-Aug-03 12:23
mr20037-Aug-03 12:23 
AnswerRe: how can I access variable in View class from my dialog member function? Pin
John M. Drescher7-Aug-03 12:33
John M. Drescher7-Aug-03 12:33 
GeneralRe: how can I access variable in View class from my dialog member function? Pin
mr20037-Aug-03 13:28
mr20037-Aug-03 13:28 
GeneralRe: how can I access variable in View class from my dialog member function? Pin
John M. Drescher7-Aug-03 13:31
John M. Drescher7-Aug-03 13:31 

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.