Click here to Skip to main content
16,005,826 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Combo Boxes Pin
normanS29-Nov-05 18:33
normanS29-Nov-05 18:33 
GeneralRe: Combo Boxes Pin
TUMB30-Nov-05 1:51
TUMB30-Nov-05 1:51 
QuestionProblem with CRichEditCtrl and formatrange Pin
AnTri29-Nov-05 6:20
AnTri29-Nov-05 6:20 
QuestionPopulate a random __int64 Pin
Cedric Moonen29-Nov-05 5:11
Cedric Moonen29-Nov-05 5:11 
AnswerRe: Populate a random __int64 Pin
Chris Losinger29-Nov-05 7:44
professionalChris Losinger29-Nov-05 7:44 
GeneralRe: Populate a random __int64 Pin
Cedric Moonen29-Nov-05 8:00
Cedric Moonen29-Nov-05 8:00 
GeneralRe: Populate a random __int64 Pin
Chris Losinger29-Nov-05 8:43
professionalChris Losinger29-Nov-05 8:43 
GeneralRe: Populate a random __int64 Pin
Cedric Moonen29-Nov-05 8:53
Cedric Moonen29-Nov-05 8:53 
Chris Losinger wrote:
like maybe MS had a better version of rand. oh well.


Yes, in VC 2005 you have rand_s which will compute a random unsigned value (from 0 to UINT_MAX).


Chris Losinger wrote:
but, you can just call rand() multiple times and bit-shift the bits into a pair of 32-bit values, which you can then assign to your i64.


Yes, no problem for that I thought already about that but then I have the problem of the ranges Sigh | :sigh: . You will certainly understand that my head is buring now Poke tongue | ;-P .

But nowaday, thanks for the help. I will sleep a night on it and tomorow, everything will be clear Big Grin | :-D
AnswerRe: Populate a random __int64 Pin
David Crow29-Nov-05 9:15
David Crow29-Nov-05 9:15 
AnswerRe: Populate a random __int64 Pin
PJ Arends29-Nov-05 9:32
professionalPJ Arends29-Nov-05 9:32 
Questionchanging default #defines in stdafx.h Pin
BlackDice29-Nov-05 4:44
BlackDice29-Nov-05 4:44 
AnswerRe: changing default #defines in stdafx.h Pin
Curtis Schlak.29-Nov-05 13:51
Curtis Schlak.29-Nov-05 13:51 
QuestionCDateTimeCtrl Questions Pin
#realJSOP29-Nov-05 4:15
professional#realJSOP29-Nov-05 4:15 
AnswerRe: CDateTimeCtrl Questions Pin
PJ Arends29-Nov-05 6:05
professionalPJ Arends29-Nov-05 6:05 
QuestionGDI+ cpu usage Pin
Alberto_Canabal29-Nov-05 3:48
Alberto_Canabal29-Nov-05 3:48 
AnswerRe: GDI+ cpu usage Pin
Shog929-Nov-05 11:39
sitebuilderShog929-Nov-05 11:39 
GeneralRe: GDI+ cpu usage Pin
Alberto_Canabal1-Dec-05 1:01
Alberto_Canabal1-Dec-05 1:01 
GeneralRe: GDI+ cpu usage Pin
Shog91-Dec-05 10:56
sitebuilderShog91-Dec-05 10:56 
GeneralRe: GDI+ cpu usage Pin
Alberto_Canabal2-Dec-05 7:29
Alberto_Canabal2-Dec-05 7:29 
GeneralRe: GDI+ cpu usage Pin
Shog92-Dec-05 7:51
sitebuilderShog92-Dec-05 7:51 
Questionto send data from parent window to child window Pin
sheshidar29-Nov-05 3:28
sheshidar29-Nov-05 3:28 
AnswerRe: to send data from parent window to child window Pin
Cedric Moonen29-Nov-05 3:47
Cedric Moonen29-Nov-05 3:47 
GeneralRe: to send data from parent window to child window Pin
sheshidar30-Nov-05 0:54
sheshidar30-Nov-05 0:54 
QuestionChange Thread Name in MFC Pin
Pixinger7729-Nov-05 3:09
Pixinger7729-Nov-05 3:09 
AnswerRe: Change Thread Name in MFC Pin
Blake Miller29-Nov-05 5:13
Blake Miller29-Nov-05 5:13 

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.