Click here to Skip to main content
15,899,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Some help please Pin
toxcct13-Dec-04 7:50
toxcct13-Dec-04 7:50 
GeneralCSpinButtonCtrl object Pin
poornimac8013-Dec-04 5:05
poornimac8013-Dec-04 5:05 
Generalhelp on timeSetEvent for periodic timer Pin
bkhn4113-Dec-04 4:46
bkhn4113-Dec-04 4:46 
GeneralSATO printer programming Pin
Blubbo13-Dec-04 4:40
Blubbo13-Dec-04 4:40 
GeneralPainting text problem Pin
__makaveli__13-Dec-04 4:30
__makaveli__13-Dec-04 4:30 
GeneralHelppp cant figure this out Pin
James198513-Dec-04 3:24
James198513-Dec-04 3:24 
GeneralRe: Helppp cant figure this out Pin
jmkhael13-Dec-04 3:53
jmkhael13-Dec-04 3:53 
GeneralRe: Helppp cant figure this out Pin
toxcct13-Dec-04 7:56
toxcct13-Dec-04 7:56 
Papa wrote:
cin>>seed;
num1 = 1 + rand() % 10;
num2 = 1 + rand() % 10;

Why twice ??
Why not remove the bottom lines?

because one affects num1, and another affects num2.

num1 might be different of num2, but only if srand() if called...
why srand(seed) is not called after the cin... Confused | :confused: sorry, don't know.


TOXCCT >>> GEII power
[toxcct][VisualCalc]
QuestionHow to pop system menu in an owner-draw dialog Pin
max_xiayi13-Dec-04 3:01
max_xiayi13-Dec-04 3:01 
GeneralDCOM Question Pin
Anonymous13-Dec-04 3:00
Anonymous13-Dec-04 3:00 
Questionhow to convert string to binary Pin
Abhi Lahare13-Dec-04 1:45
Abhi Lahare13-Dec-04 1:45 
AnswerRe: how to convert string to binary Pin
valikac13-Dec-04 4:57
valikac13-Dec-04 4:57 
Generaltooltips for controls inside groupbox Pin
V.13-Dec-04 0:49
professionalV.13-Dec-04 0:49 
GeneralRe: tooltips for controls inside groupbox Pin
PJ Arends13-Dec-04 7:11
professionalPJ Arends13-Dec-04 7:11 
GeneralRe: tooltips for controls inside groupbox Pin
V.13-Dec-04 7:24
professionalV.13-Dec-04 7:24 
GeneralRe: tooltips for controls inside groupbox Pin
PJ Arends13-Dec-04 7:50
professionalPJ Arends13-Dec-04 7:50 
GeneralRe: tooltips for controls inside groupbox Pin
V.13-Dec-04 8:58
professionalV.13-Dec-04 8:58 
GeneralRe: tooltips for controls inside groupbox Pin
toxcct13-Dec-04 8:02
toxcct13-Dec-04 8:02 
GeneralRe: tooltips for controls inside groupbox Pin
V.13-Dec-04 8:55
professionalV.13-Dec-04 8:55 
QuestionCool tools? Pin
ManOfTheYear13-Dec-04 0:37
ManOfTheYear13-Dec-04 0:37 
AnswerRe: Cool tools? Pin
ThatsAlok13-Dec-04 1:04
ThatsAlok13-Dec-04 1:04 
AnswerRe: Cool tools? Pin
13-Dec-04 1:04
suss13-Dec-04 1:04 
AnswerRe: Cool tools? Pin
Anonymous13-Dec-04 11:32
Anonymous13-Dec-04 11:32 
GeneralX509 certificate contents dump Pin
override13-Dec-04 0:19
override13-Dec-04 0:19 
GeneralConnecting Visual C++6.0 to Visual Basic Pin
reenacutie12-Dec-04 23:53
reenacutie12-Dec-04 23:53 

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.