Click here to Skip to main content
15,908,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: about MFC Pin
ShilpiP12-Dec-06 23:45
ShilpiP12-Dec-06 23:45 
AnswerRe: about MFC Pin
Hamid_RT13-Dec-06 0:20
Hamid_RT13-Dec-06 0:20 
AnswerRe: about MFC Pin
Maximilien13-Dec-06 3:42
Maximilien13-Dec-06 3:42 
QuestionHow edit the formicon and -text Pin
b43r_3oo312-Dec-06 22:23
b43r_3oo312-Dec-06 22:23 
QuestionHow to Set BackGround colors to a CProperty Sheet Tab Controls [modified] Pin
k. satheesh_1712-Dec-06 22:07
k. satheesh_1712-Dec-06 22:07 
AnswerRe: How to Set BackGround colors to a CProperty Sheet Tab Controls Pin
Mark Salsbery13-Dec-06 6:12
Mark Salsbery13-Dec-06 6:12 
AnswerRe: How to Set BackGround colors to a CProperty Sheet Tab Controls Pin
Hamid_RT13-Dec-06 18:09
Hamid_RT13-Dec-06 18:09 
QuestionA timed loop Pin
aquawicket12-Dec-06 22:05
aquawicket12-Dec-06 22:05 
Hey,,,

I have a fer function that wait for input for a while...
at the moment... I code it simple like this...

for(i=0; i<50000000; i++){

//waiting for input

}


As Processes inside the loop are changing, the loop takes longer and shorter amounts of time to complete.. 3sec to 50sec.

what the easiest way to set up a timed loop that loops the same amount of time every time?

Example:

While ( time < 10Seconds ){

//wait for input
}
AnswerRe: A timed loop Pin
namy112-Dec-06 22:15
namy112-Dec-06 22:15 
GeneralRe: A timed loop Pin
aquawicket12-Dec-06 22:19
aquawicket12-Dec-06 22:19 
GeneralRe: A timed loop Pin
aquawicket12-Dec-06 22:52
aquawicket12-Dec-06 22:52 
GeneralRe: A timed loop Pin
CPallini12-Dec-06 23:07
mveCPallini12-Dec-06 23:07 
QuestionRegarding parameter by reference in copy constructor Pin
Karismatic12-Dec-06 22:04
Karismatic12-Dec-06 22:04 
AnswerRe: Regarding parameter by reference in copy constructor [modified] Pin
prasad_som12-Dec-06 22:16
prasad_som12-Dec-06 22:16 
AnswerRe: Regarding parameter by reference in copy constructor Pin
Rajesh R Subramanian12-Dec-06 22:19
professionalRajesh R Subramanian12-Dec-06 22:19 
AnswerRe: Regarding parameter by reference in copy constructor Pin
Mark Salsbery13-Dec-06 6:23
Mark Salsbery13-Dec-06 6:23 
Questionarray of structure Pin
namy112-Dec-06 22:02
namy112-Dec-06 22:02 
AnswerRe: array of structure Pin
CPallini12-Dec-06 23:00
mveCPallini12-Dec-06 23:00 
QuestionRe: array of structure Pin
namy112-Dec-06 23:20
namy112-Dec-06 23:20 
AnswerRe: array of structure Pin
CPallini13-Dec-06 0:36
mveCPallini13-Dec-06 0:36 
AnswerRe: array of structure Pin
James R. Twine13-Dec-06 2:51
James R. Twine13-Dec-06 2:51 
QuestionDo you know this files structure? Pin
Waldermort12-Dec-06 21:26
Waldermort12-Dec-06 21:26 
AnswerRe: Do you know this files structure? Pin
Steve Echols12-Dec-06 21:46
Steve Echols12-Dec-06 21:46 
GeneralRe: Do you know this files structure? Pin
Waldermort12-Dec-06 22:19
Waldermort12-Dec-06 22:19 
GeneralRe: Do you know this files structure? Pin
David Crow13-Dec-06 7:08
David Crow13-Dec-06 7:08 

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.