Click here to Skip to main content
15,927,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: I need help Pin
Christian Graus15-Nov-06 15:29
protectorChristian Graus15-Nov-06 15:29 
Questionpassing array of pointers Pin
thathvamsi15-Nov-06 15:18
thathvamsi15-Nov-06 15:18 
AnswerRe: passing array of pointers Pin
Christian Graus15-Nov-06 15:26
protectorChristian Graus15-Nov-06 15:26 
GeneralRe: passing array of pointers Pin
thathvamsi15-Nov-06 15:37
thathvamsi15-Nov-06 15:37 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 15:41
protectorChristian Graus15-Nov-06 15:41 
GeneralRe: passing array of pointers Pin
thathvamsi15-Nov-06 15:50
thathvamsi15-Nov-06 15:50 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 16:02
protectorChristian Graus15-Nov-06 16:02 
GeneralRe: passing array of pointers Pin
thathvamsi15-Nov-06 16:49
thathvamsi15-Nov-06 16:49 
thanks for that.
If Say, i know the dimension of the array.

int count  =4;<br />
int i = 0;<br />
char * Names[count];<br />
<br />
//to initialise<br />
for(i=0; i < count; i++)<br />
{<br />
Names[i] = NULL;<br />
}<br />

and then do the rest. Is the initialisation correct?
is what i have done equivalent to doing
char *Names[4] = {NULL,NULL,NULL,NULL};
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 16:51
protectorChristian Graus15-Nov-06 16:51 
GeneralRe: passing array of pointers Pin
thathvamsi15-Nov-06 17:18
thathvamsi15-Nov-06 17:18 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 17:21
protectorChristian Graus15-Nov-06 17:21 
GeneralRe: passing array of pointers Pin
thathvamsi15-Nov-06 17:23
thathvamsi15-Nov-06 17:23 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 17:30
protectorChristian Graus15-Nov-06 17:30 
GeneralRe: passing array of pointers Pin
thathvamsi15-Nov-06 18:55
thathvamsi15-Nov-06 18:55 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 19:12
protectorChristian Graus15-Nov-06 19:12 
GeneralRe: passing array of pointers Pin
thathvamsi15-Nov-06 20:06
thathvamsi15-Nov-06 20:06 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 20:10
protectorChristian Graus15-Nov-06 20:10 
GeneralRe: passing array of pointers Pin
thathvamsi15-Nov-06 21:45
thathvamsi15-Nov-06 21:45 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 21:56
protectorChristian Graus15-Nov-06 21:56 
GeneralRe: passing array of pointers Pin
thathvamsi15-Nov-06 22:12
thathvamsi15-Nov-06 22:12 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 22:30
protectorChristian Graus15-Nov-06 22:30 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 22:35
protectorChristian Graus15-Nov-06 22:35 
GeneralRe: passing array of pointers Pin
thathvamsi15-Nov-06 23:08
thathvamsi15-Nov-06 23:08 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 23:11
protectorChristian Graus15-Nov-06 23:11 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 23:09
protectorChristian Graus15-Nov-06 23:09 

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.