Click here to Skip to main content
16,004,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
modified. ....
thanks.
i have another issue:
const char * str1 = "abcdef";<br />
const char * str2;<br />
when i try to do:<br />
strcpy(str2,str1);<br />

there is warning message.-- passing arg 1 of `strcpy' discards qualifiers from pointer target type
but when i try to run the code (using gcc),
the code crashes at strcpy()
why? how to fix this warning?
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 
GeneralRe: passing array of pointers Pin
thathvamsi15-Nov-06 23:19
thathvamsi15-Nov-06 23:19 
GeneralRe: passing array of pointers Pin
Christian Graus15-Nov-06 23:22
protectorChristian Graus15-Nov-06 23:22 

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.