Click here to Skip to main content
15,894,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionproblem in communication between three systems using RS 232 Pin
naveen27gupta3-Jul-07 0:38
naveen27gupta3-Jul-07 0:38 
QuestionRe: problem in communication between three systems using RS 232 Pin
CPallini3-Jul-07 1:01
mveCPallini3-Jul-07 1:01 
AnswerRe: problem in communication between three systems using RS 232 Pin
CodyDaemon3-Jul-07 4:35
CodyDaemon3-Jul-07 4:35 
Questionhow to calculate an array's length? Pin
Peter, Chan3-Jul-07 0:08
Peter, Chan3-Jul-07 0:08 
AnswerRe: how to calculate an array's length? Pin
khan++3-Jul-07 0:25
khan++3-Jul-07 0:25 
GeneralRe: how to calculate an array's length? Pin
Peter, Chan3-Jul-07 0:36
Peter, Chan3-Jul-07 0:36 
GeneralRe: how to calculate an array's length? Pin
baerten3-Jul-07 0:48
baerten3-Jul-07 0:48 
GeneralRe: how to calculate an array's length? Pin
khan++3-Jul-07 0:48
khan++3-Jul-07 0:48 
No, it can't be done with multi-dimensional arrays.

You can only do it with single-dimensional arrays like:
char arLang[] = {"english"};
And the length will be 8 bytes.

And whenever you get the operator * anywhere, you just can't be sure of the size.

But you can write:
int nSize1 = strlen(arLang[0]) + 1;<br />
int nSize2 = strlen(arLang[1]) + 1;

etc.


this is this.

GeneralRe: how to calculate an array's length? Pin
CPallini3-Jul-07 0:59
mveCPallini3-Jul-07 0:59 
AnswerRe: how to calculate an array's length? Pin
_AnsHUMAN_ 3-Jul-07 0:28
_AnsHUMAN_ 3-Jul-07 0:28 
AnswerRe: how to calculate an array's length? Pin
Bram van Kampen3-Jul-07 15:23
Bram van Kampen3-Jul-07 15:23 
GeneralRe: how to calculate an array's length? Pin
Peter, Chan3-Jul-07 15:54
Peter, Chan3-Jul-07 15:54 
GeneralRe: how to calculate an array's length? Pin
Hans Dietrich4-Jul-07 1:38
mentorHans Dietrich4-Jul-07 1:38 
QuestionUsing SetWindowRgn on bitmap buttons Pin
mcsherry2-Jul-07 23:52
mcsherry2-Jul-07 23:52 
AnswerRe: Using SetWindowRgn on bitmap buttons Pin
khan++3-Jul-07 0:33
khan++3-Jul-07 0:33 
GeneralRe: Using SetWindowRgn on bitmap buttons Pin
mcsherry3-Jul-07 2:48
mcsherry3-Jul-07 2:48 
QuestionGetting SACL & Privilege Problem Pin
Akin Ocal2-Jul-07 23:44
Akin Ocal2-Jul-07 23:44 
QuestionCleaning up a struct Pin
Programm3r2-Jul-07 23:37
Programm3r2-Jul-07 23:37 
AnswerRe: Cleaning up a struct Pin
MANISH RASTOGI2-Jul-07 23:46
MANISH RASTOGI2-Jul-07 23:46 
QuestionRe: Cleaning up a struct Pin
Programm3r2-Jul-07 23:51
Programm3r2-Jul-07 23:51 
AnswerRe: Cleaning up a struct Pin
MANISH RASTOGI3-Jul-07 0:55
MANISH RASTOGI3-Jul-07 0:55 
GeneralRe: Cleaning up a struct Pin
Programm3r3-Jul-07 0:58
Programm3r3-Jul-07 0:58 
AnswerRe: Cleaning up a struct Pin
Hans Dietrich3-Jul-07 0:12
mentorHans Dietrich3-Jul-07 0:12 
GeneralRe: Cleaning up a struct Pin
Programm3r3-Jul-07 0:13
Programm3r3-Jul-07 0:13 
QuestionIs it possible to modify the systray clock menu? Pin
mid=57412-Jul-07 23:33
mid=57412-Jul-07 23:33 

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.