Click here to Skip to main content
15,910,877 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalpointer to an array... "char" Pin
SilverShalkin29-May-02 13:45
SilverShalkin29-May-02 13:45 
GeneralRe: pointer to an array... "char" Pin
soptest29-May-02 13:57
soptest29-May-02 13:57 
GeneralRe: pointer to an array... "char" Pin
Christian Graus29-May-02 14:37
protectorChristian Graus29-May-02 14:37 
GeneralRe: pointer to an array... "char" Pin
Nish Nishant29-May-02 14:56
sitebuilderNish Nishant29-May-02 14:56 
GeneralRe: pointer to an array... "char" Pin
Christian Graus29-May-02 15:16
protectorChristian Graus29-May-02 15:16 
GeneralRe: pointer to an array... "char" Pin
Nish Nishant29-May-02 15:27
sitebuilderNish Nishant29-May-02 15:27 
GeneralRe: pointer to an array... "char" Pin
Christian Graus29-May-02 15:48
protectorChristian Graus29-May-02 15:48 
GeneralRe: pointer to an array... "char" Pin
Orbital^29-May-02 21:19
Orbital^29-May-02 21:19 
Hi!
The char *pID[11] declare an array of 11 pointers to char
The char SSID[11] declare an array of 11 char

So I think you mean char (*pID)[11]
Anyway you can not do *pID=SID because *pID is not a l-value so you have to use a function like memcopy ... or strcopy if it is a string


Bye,
Orbital^

...the night is long ... but not long enought to do some real coding ...
GeneralRe: pointer to an array... "char" Pin
SilverShalkin30-May-02 2:38
SilverShalkin30-May-02 2:38 
GeneralFlexGrid Sort Pin
29-May-02 13:31
suss29-May-02 13:31 
GeneralRe: FlexGrid Sort Pin
Christian Graus29-May-02 15:09
protectorChristian Graus29-May-02 15:09 
GeneralRe: FlexGrid Sort Pin
29-May-02 15:38
suss29-May-02 15:38 
GeneralCreate form controls at runtime Pin
Aaron Schaefer29-May-02 12:55
Aaron Schaefer29-May-02 12:55 
GeneralRe: Create form controls at runtime Pin
Matt Gullett29-May-02 12:52
Matt Gullett29-May-02 12:52 
GeneralRe: Create form controls at runtime Pin
Aaron Schaefer29-May-02 13:09
Aaron Schaefer29-May-02 13:09 
Generalfstream issues Pin
Alan Chambers29-May-02 10:45
Alan Chambers29-May-02 10:45 
GeneralRe: fstream issues Pin
Joaquín M López Muñoz29-May-02 11:12
Joaquín M López Muñoz29-May-02 11:12 
GeneralRe: fstream issues Pin
Alan Chambers29-May-02 11:21
Alan Chambers29-May-02 11:21 
GeneralProblem converting a CComBSTR to LPCTSTR with CW2CT Pin
JC Gauthier29-May-02 10:24
JC Gauthier29-May-02 10:24 
GeneralRe: Problem converting a CComBSTR to LPCTSTR with CW2CT Pin
soptest29-May-02 12:25
soptest29-May-02 12:25 
GeneralRe: Problem converting a CComBSTR to LPCTSTR with CW2CT Pin
JC Gauthier30-May-02 4:27
JC Gauthier30-May-02 4:27 
GeneralRe: Problem converting a CComBSTR to LPCTSTR with CW2CT Pin
soptest30-May-02 8:36
soptest30-May-02 8:36 
General_popen issue Pin
Stew29-May-02 9:41
Stew29-May-02 9:41 
GeneralRe: _popen issue Pin
Joaquín M López Muñoz29-May-02 9:46
Joaquín M López Muñoz29-May-02 9:46 
GeneralRe: _popen issue Pin
soptest29-May-02 9:56
soptest29-May-02 9:56 

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.