Click here to Skip to main content
15,917,862 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralImporting a DLL from a class Pin
feederman4-Sep-03 22:14
feederman4-Sep-03 22:14 
GeneralRe: Importing a DLL from a class Pin
Brad Sokol5-Sep-03 3:07
Brad Sokol5-Sep-03 3:07 
GeneralRe: Importing a DLL from a class Pin
feederman5-Sep-03 3:11
feederman5-Sep-03 3:11 
GeneralRe: Importing a DLL from a class Pin
Brad Sokol5-Sep-03 4:45
Brad Sokol5-Sep-03 4:45 
GeneralRe: Importing a DLL from a class Pin
feederman5-Sep-03 5:12
feederman5-Sep-03 5:12 
Generaldebug assertion failed Pin
pavan.kumar4-Sep-03 21:51
pavan.kumar4-Sep-03 21:51 
GeneralRe: debug assertion failed Pin
Brad Sokol5-Sep-03 3:09
Brad Sokol5-Sep-03 3:09 
Questionhow to generate a random number? Pin
Habbit4-Sep-03 21:26
Habbit4-Sep-03 21:26 
i know i can use ran function to generate a random number in VBScript.
for example:
/*
dim char_array(35)
char_array(0) = "0"
char_array(1) = "1"
char_array(2) = "2"
char_array(3) = "3"
char_array(4) = "4"
char_array(5) = "5"
char_array(6) = "6"
char_array(7) = "7"
char_array(8) = "8"
char_array(9) = "9"

randomize
do while len(output) < 6
num = char_array(Int(9 * Rnd + 0))
output = output + num
loop
*/
How can i get a random number in MFC?

Habbit--Beginner In MFC
AnswerRe: how to generate a random number? Pin
Ted Ferenc4-Sep-03 21:32
Ted Ferenc4-Sep-03 21:32 
GeneralRe: how to generate a random number? Pin
Habbit4-Sep-03 21:54
Habbit4-Sep-03 21:54 
GeneralRe: how to generate a random number? Pin
Ted Ferenc4-Sep-03 22:07
Ted Ferenc4-Sep-03 22:07 
GeneralRe: how to generate a random number? Pin
Anonymous5-Sep-03 2:50
Anonymous5-Sep-03 2:50 
GeneralRe: how to generate a random number? Pin
Ted Ferenc5-Sep-03 3:05
Ted Ferenc5-Sep-03 3:05 
GeneralRe: how to generate a random number? Pin
Tim Smith5-Sep-03 4:30
Tim Smith5-Sep-03 4:30 
GeneralRe: how to generate a random number? Pin
David Crow5-Sep-03 4:39
David Crow5-Sep-03 4:39 
GeneralRe: how to generate a random number? Pin
Ted Ferenc5-Sep-03 10:24
Ted Ferenc5-Sep-03 10:24 
GeneralRe: how to generate a random number? Pin
David Crow5-Sep-03 10:41
David Crow5-Sep-03 10:41 
GeneralRe: how to generate a random number? Pin
Ted Ferenc5-Sep-03 6:20
Ted Ferenc5-Sep-03 6:20 
GeneralRe: how to generate a random number? Pin
David Crow5-Sep-03 10:43
David Crow5-Sep-03 10:43 
Questionshared memory and address? Pin
includeh104-Sep-03 21:07
includeh104-Sep-03 21:07 
AnswerRe: shared memory and address? Pin
Jagadeesh VN5-Sep-03 4:20
Jagadeesh VN5-Sep-03 4:20 
GeneralRe: shared memory and address? Pin
includeh105-Sep-03 7:21
includeh105-Sep-03 7:21 
GeneralStoring a file with an exe Pin
Ricky Koh4-Sep-03 21:07
Ricky Koh4-Sep-03 21:07 
GeneralRe: Storing a file with an exe Pin
includeh104-Sep-03 21:10
includeh104-Sep-03 21:10 
GeneralRe: Storing a file with an exe Pin
Ricky Koh4-Sep-03 21:15
Ricky Koh4-Sep-03 21:15 

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.