Click here to Skip to main content
16,011,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I need AIR & I'm pulling my hair out over Random doubles within a specified range Pin
Ryan Binns26-Jun-03 5:29
Ryan Binns26-Jun-03 5:29 
GeneralRe: I need AIR & I'm pulling my hair out over Random doubles within a specified range Pin
johnstonsk26-Jun-03 5:42
johnstonsk26-Jun-03 5:42 
GeneralRe: I need AIR & I'm pulling my hair out over Random doubles within a specified range Pin
Ian Darling26-Jun-03 6:22
Ian Darling26-Jun-03 6:22 
GeneralRe: I need AIR & I'm pulling my hair out over Random doubles within a specified range Pin
David Crow26-Jun-03 7:20
David Crow26-Jun-03 7:20 
GeneralRe: I need AIR & I'm pulling my hair out over Random doubles within a specified range Pin
Ryan Binns26-Jun-03 14:55
Ryan Binns26-Jun-03 14:55 
GeneralRe: I need AIR & I'm pulling my hair out over Random doubles within a specified range Pin
johnstonsk27-Jun-03 3:56
johnstonsk27-Jun-03 3:56 
GeneralRe: I need AIR & I'm pulling my hair out over Random doubles within a specified range Pin
Ryan Binns27-Jun-03 3:59
Ryan Binns27-Jun-03 3:59 
GeneralRe: I need AIR & I'm pulling my hair out over Random doubles within a specified range Pin
Dominik Reichl26-Jun-03 7:50
Dominik Reichl26-Jun-03 7:50 
Err...

while(count < 100){
printf("%d\nRandomNum is: ", randomNum);
printf("%d\nP is: ", p);
printf("%d\nD is: ", d);
count++;
}

This part of your sample code does nothing other than printing 100 times the same number 'randomNum'... you know that or? Wink | ;)

-Dominik



_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? Wink | ;)

GeneralStandard Error and Warning Images Pin
Steve Thresher26-Jun-03 3:31
Steve Thresher26-Jun-03 3:31 
GeneralRe: Standard Error and Warning Images Pin
basementman26-Jun-03 3:54
basementman26-Jun-03 3:54 
GeneralRe: Standard Error and Warning Images Pin
Steve Thresher26-Jun-03 4:35
Steve Thresher26-Jun-03 4:35 
GeneralRe: Standard Error and Warning Images Pin
Ryan Binns26-Jun-03 5:19
Ryan Binns26-Jun-03 5:19 
Generalusing a vector with CComboBox::AddString() in MFC Pin
keegan26-Jun-03 2:52
keegan26-Jun-03 2:52 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
Maximilien26-Jun-03 3:18
Maximilien26-Jun-03 3:18 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
keegan26-Jun-03 3:27
keegan26-Jun-03 3:27 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
Maximilien26-Jun-03 3:35
Maximilien26-Jun-03 3:35 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
keegan26-Jun-03 3:48
keegan26-Jun-03 3:48 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
Shay Harel26-Jun-03 7:57
Shay Harel26-Jun-03 7:57 
GeneralWizard sheet 97 Pin
Member 42425926-Jun-03 2:49
Member 42425926-Jun-03 2:49 
Generalmalloc, free problem ...... Pin
_crs_26-Jun-03 2:44
_crs_26-Jun-03 2:44 
GeneralRe: malloc, free problem ...... Pin
David Crow26-Jun-03 3:09
David Crow26-Jun-03 3:09 
GeneralRe: malloc, free problem ...... Pin
_crs_26-Jun-03 3:47
_crs_26-Jun-03 3:47 
GeneralRe: malloc, free problem ...... Pin
David Crow26-Jun-03 3:56
David Crow26-Jun-03 3:56 
GeneralSerial Comms Problem Pin
louis26-Jun-03 2:30
louis26-Jun-03 2:30 
GeneralRe: Serial Comms Problem Pin
justin22326-Jun-03 20:13
justin22326-Jun-03 20: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.