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

C / C++ / MFC

 
AnswerRe: What is the handle count for a process in windows? Pin
Hamid_RT11-Jan-07 20:58
Hamid_RT11-Jan-07 20:58 
GeneralRe: What is the handle count for a process in windows? Pin
Gupta Suraj11-Jan-07 22:33
Gupta Suraj11-Jan-07 22:33 
QuestionCreating .ico file from HICON Pin
neilsolent11-Jan-07 2:22
neilsolent11-Jan-07 2:22 
AnswerRe: Creating .ico file from HICON Pin
tudorbalan10-Dec-10 1:17
tudorbalan10-Dec-10 1:17 
QuestionWhat's wrong.... [modified] Pin
Astricks11-Jan-07 2:01
Astricks11-Jan-07 2:01 
AnswerRe: What's wrong.... Pin
prasad_som11-Jan-07 2:09
prasad_som11-Jan-07 2:09 
GeneralRe: What's wrong.... Pin
Astricks12-Jan-07 0:03
Astricks12-Jan-07 0:03 
AnswerRe: What's wrong.... Pin
CPallini11-Jan-07 2:10
mveCPallini11-Jan-07 2:10 
C/C++ arrays are 0-based, i.e. if you declare:
int a[5];


then you have the following items:
a[0], a[1], a[2], a[3], a[4];


on the other hand, a[5], is out-of-bounds.

so the correct iteration will be

for (i = 0;i<5;i++)
  a[i]= (whatever);


Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

GeneralRe: What's wrong.... Pin
Astricks12-Jan-07 0:03
Astricks12-Jan-07 0:03 
AnswerRe: What's wrong.... Pin
Eytukan11-Jan-07 2:11
Eytukan11-Jan-07 2:11 
JokeRe: What's wrong.... Pin
CPallini11-Jan-07 2:12
mveCPallini11-Jan-07 2:12 
GeneralRe: What's wrong.... Pin
Eytukan11-Jan-07 2:14
Eytukan11-Jan-07 2:14 
GeneralRe: What's wrong.... Pin
Rajesh R Subramanian11-Jan-07 2:25
professionalRajesh R Subramanian11-Jan-07 2:25 
GeneralRe: What's wrong.... Pin
Eytukan11-Jan-07 2:34
Eytukan11-Jan-07 2:34 
GeneralRe: What's wrong.... Pin
John R. Shaw11-Jan-07 14:54
John R. Shaw11-Jan-07 14:54 
GeneralRe: What's wrong.... Pin
Eytukan11-Jan-07 19:36
Eytukan11-Jan-07 19:36 
GeneralRe: What's wrong.... Pin
Hamid_RT11-Jan-07 20:57
Hamid_RT11-Jan-07 20:57 
GeneralRe: What's wrong.... Pin
Astricks12-Jan-07 0:04
Astricks12-Jan-07 0:04 
AnswerRe: What's wrong.... Pin
neilsolent11-Jan-07 2:12
neilsolent11-Jan-07 2:12 
QuestionSocket Programming Pin
SrikanthVinayak Ram11-Jan-07 1:48
SrikanthVinayak Ram11-Jan-07 1:48 
AnswerRe: Socket Programming Pin
Mark Salsbery11-Jan-07 5:13
Mark Salsbery11-Jan-07 5:13 
AnswerRe: Socket Programming Pin
David Leyva11-Jan-07 10:31
David Leyva11-Jan-07 10:31 
QuestionRe: Socket Programming Pin
SrikanthVinayak Ram11-Jan-07 18:40
SrikanthVinayak Ram11-Jan-07 18:40 
AnswerRe: Socket Programming Pin
Mark Salsbery12-Jan-07 6:37
Mark Salsbery12-Jan-07 6:37 
AnswerRe: Socket Programming Pin
Mark Salsbery12-Jan-07 6:39
Mark Salsbery12-Jan-07 6:39 

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.