Click here to Skip to main content
15,878,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Upper Bound and Lower Bound of an array Pin
Cool_Dev4-Feb-11 1:56
Cool_Dev4-Feb-11 1:56 
GeneralRe: Upper Bound and Lower Bound of an array Pin
goldenrose94-Feb-11 2:35
goldenrose94-Feb-11 2:35 
GeneralRe: Upper Bound and Lower Bound of an array Pin
Stefan_Lang4-Feb-11 2:31
Stefan_Lang4-Feb-11 2:31 
GeneralRe: Upper Bound and Lower Bound of an array Pin
Niklas L4-Feb-11 8:05
Niklas L4-Feb-11 8:05 
GeneralRe: Upper Bound and Lower Bound of an array Pin
David Crow5-Feb-11 5:09
David Crow5-Feb-11 5:09 
AnswerRe: Upper Bound and Lower Bound of an array Pin
Andrew Brock4-Feb-11 1:52
Andrew Brock4-Feb-11 1:52 
GeneralRe: Upper Bound and Lower Bound of an array Pin
Niklas L4-Feb-11 2:19
Niklas L4-Feb-11 2:19 
AnswerRe: Upper Bound and Lower Bound of an array Pin
Hans Dietrich4-Feb-11 2:01
mentorHans Dietrich4-Feb-11 2:01 
VS provides the macro
#define _countof(array) (sizeof(array)/sizeof(array[0]))


[Note: this can't be used for arrays allocated via new.]
Best wishes,
Hans


[Hans Dietrich Software]

AnswerRe: Upper Bound and Lower Bound of an array [SOLVED] Pin
Pranit Kothari6-Feb-11 7:14
Pranit Kothari6-Feb-11 7:14 
QuestionReleaseBuffer() of CSimpleString is not working. Pin
Amrit Agr3-Feb-11 18:55
Amrit Agr3-Feb-11 18:55 
AnswerRe: ReleaseBuffer() of CSimpleString is not working. Pin
Andrew Brock3-Feb-11 19:10
Andrew Brock3-Feb-11 19:10 
GeneralRe: ReleaseBuffer() of CSimpleString is not working. Pin
Amrit Agr3-Feb-11 21:38
Amrit Agr3-Feb-11 21:38 
QuestionDos command Pin
MsmVc3-Feb-11 18:17
MsmVc3-Feb-11 18:17 
QuestionRe: Dos command Pin
Rajesh R Subramanian3-Feb-11 18:39
professionalRajesh R Subramanian3-Feb-11 18:39 
AnswerRe: Dos command Pin
Andrew Brock3-Feb-11 18:49
Andrew Brock3-Feb-11 18:49 
GeneralRe: Dos command Pin
MsmVc4-Feb-11 0:27
MsmVc4-Feb-11 0:27 
AnswerRe: Dos comman Pin
Cool_Dev3-Feb-11 23:03
Cool_Dev3-Feb-11 23:03 
AnswerRe: Dos command Pin
csrss3-Feb-11 23:25
csrss3-Feb-11 23:25 
GeneralRe: Dos command Pin
MsmVc4-Feb-11 1:11
MsmVc4-Feb-11 1:11 
QuestionWould you all call this namespace abuse? Pin
asincero3-Feb-11 14:06
asincero3-Feb-11 14:06 
AnswerRe: Would you all call this namespace abuse? Pin
Madhu Nair3-Feb-11 16:33
Madhu Nair3-Feb-11 16:33 
GeneralRe: Would you all call this namespace abuse? Pin
asincero3-Feb-11 16:45
asincero3-Feb-11 16:45 
GeneralRe: Would you all call this namespace abuse? Pin
Stefan_Lang3-Feb-11 21:55
Stefan_Lang3-Feb-11 21:55 
AnswerRe: Would you all call this namespace abuse? Pin
Alain Rist3-Feb-11 20:31
Alain Rist3-Feb-11 20:31 
QuestionRe: Would you all call this namespace abuse? Pin
bob169724-Feb-11 5:03
bob169724-Feb-11 5:03 

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.