Click here to Skip to main content
16,013,516 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing Pointer Between DLL & App Pin
29-May-02 21:35
suss29-May-02 21:35 
GeneralWho Pin
chen29-May-02 17:13
chen29-May-02 17:13 
GeneralIE Standard Buttons 'dithering' Pin
Tim Deveaux29-May-02 13:47
Tim Deveaux29-May-02 13:47 
GeneralRe: IE Standard Buttons 'dithering' Pin
Shog929-May-02 15:05
sitebuilderShog929-May-02 15:05 
GeneralRe: IE Standard Buttons 'dithering' Pin
Tim Deveaux30-May-02 4:01
Tim Deveaux30-May-02 4:01 
GeneralRe: IE Standard Buttons 'dithering' Pin
Michael Dunn29-May-02 17:48
sitebuilderMichael Dunn29-May-02 17:48 
GeneralRe: IE Standard Buttons 'dithering' Pin
Tim Deveaux30-May-02 3:59
Tim Deveaux30-May-02 3:59 
Generalpointer to an array... "char" Pin
SilverShalkin29-May-02 13:45
SilverShalkin29-May-02 13:45 
ok, this is my code:

char ID::SetID(char SID[11])
{
char *pID[11];
char SSID[11];
pID = &SSID;
*pID = SID;
strcpy(&M_ID, SSID);
return 0;
}

//i got my code to work with one character, now i want to make it work with more like 10 Smile | :)

i have one problem "yet again" and it deals with the line:

pID = &SSID; //i dont understand my error.

this is the error:

error C2440: '=' : cannot convert from 'char (*)[11]' to 'char *[11]'
what does (*) mean, and: is there another way to declare a pointer to point to somthing?

Thanks for your help!

~SilverShalkin
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 
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 

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.