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

C / C++ / MFC

 
GeneralRe: OOP problem with MFC Pin
Anonymous10-Jun-04 10:50
Anonymous10-Jun-04 10:50 
QuestionHow to draw a graphical object independently? Pin
Arun AC10-Jun-04 8:09
Arun AC10-Jun-04 8:09 
AnswerRe: How to draw a graphical object independently? Pin
Johan Rosengren10-Jun-04 8:40
Johan Rosengren10-Jun-04 8:40 
Generalstruct _timeb Question Pin
Nick Parker10-Jun-04 7:25
protectorNick Parker10-Jun-04 7:25 
GeneralRe: struct _timeb Question Pin
Michael Dunn10-Jun-04 8:15
sitebuilderMichael Dunn10-Jun-04 8:15 
GeneralRe: struct _timeb Question Pin
Nick Parker10-Jun-04 8:30
protectorNick Parker10-Jun-04 8:30 
GeneralC++ Random Question Pin
bobski220010-Jun-04 6:21
bobski220010-Jun-04 6:21 
GeneralRe: C++ Random Question Pin
jmkhael10-Jun-04 6:25
jmkhael10-Jun-04 6:25 
Put the line
random = rand();
in the do while block

and better add this to the start of the main

srand(time(NULL));

this way the seed is randomly generated too
(you wont start with the same population over and over again)

Papa


while (TRUE)
Papa.WillLove ( Bebe ) ;
GeneralRe: C++ Random Question Pin
Graham Bradshaw10-Jun-04 6:27
Graham Bradshaw10-Jun-04 6:27 
GeneralRe: C++ Random Question Pin
Rick York10-Jun-04 6:32
mveRick York10-Jun-04 6:32 
GeneralRe: C++ Random Question Pin
Cohen10-Jun-04 6:44
Cohen10-Jun-04 6:44 
GeneralRe: C++ Random Question Pin
bobski220010-Jun-04 6:47
bobski220010-Jun-04 6:47 
GeneralRe: C++ Random Question Pin
David Crow10-Jun-04 9:08
David Crow10-Jun-04 9:08 
GeneralRe: C++ Random Question Pin
Cohen10-Jun-04 6:50
Cohen10-Jun-04 6:50 
GeneralProblems overloading htons, htonl, ntohl, & ntohs Pin
Wheatbread10-Jun-04 5:47
Wheatbread10-Jun-04 5:47 
GeneralRe: Problems overloading htons, htonl, ntohl, & ntohs Pin
jmkhael10-Jun-04 5:50
jmkhael10-Jun-04 5:50 
GeneralRe: Problems overloading htons, htonl, ntohl, & ntohs Pin
Wheatbread10-Jun-04 6:21
Wheatbread10-Jun-04 6:21 
GeneralRe: Problems overloading htons, htonl, ntohl, & ntohs Pin
jmkhael10-Jun-04 6:23
jmkhael10-Jun-04 6:23 
GeneralRe: Problems overloading htons, htonl, ntohl, & ntohs Pin
Wheatbread10-Jun-04 6:32
Wheatbread10-Jun-04 6:32 
GeneralRe: Problems overloading htons, htonl, ntohl, & ntohs Pin
jmkhael10-Jun-04 6:37
jmkhael10-Jun-04 6:37 
GeneralRe: Problems overloading htons, htonl, ntohl, & ntohs Pin
Wheatbread10-Jun-04 6:46
Wheatbread10-Jun-04 6:46 
GeneralStandalone MFC program Pin
hdaly10-Jun-04 5:17
hdaly10-Jun-04 5:17 
GeneralRe: Standalone MFC program Pin
Navin10-Jun-04 5:23
Navin10-Jun-04 5:23 
Generaltroubles with templates Pin
Kamis10-Jun-04 5:04
Kamis10-Jun-04 5:04 
GeneralRe: troubles with templates Pin
Diddy10-Jun-04 5:22
Diddy10-Jun-04 5:22 

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.