Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Generic text mapping function for atof() Pin
Serge Velikevitch18-Oct-00 4:31
sussSerge Velikevitch18-Oct-00 4:31 
GeneralRe: Generic text mapping function for atof() Pin
Chris Vischer20-Oct-00 4:41
Chris Vischer20-Oct-00 4:41 
GeneralWriting to memory Pin
Bas Scholtemeijer18-Oct-00 1:17
sussBas Scholtemeijer18-Oct-00 1:17 
GeneralRe: Writing to memory Pin
frydaysoft18-Oct-00 5:59
sussfrydaysoft18-Oct-00 5:59 
QuestionHelp? Anyone? Pin
Matt17-Oct-00 18:02
Matt17-Oct-00 18:02 
AnswerRe: Help? Anyone? Pin
Christian20-Oct-00 15:13
Christian20-Oct-00 15:13 
GeneralVertical rebar problems (CReBar) Pin
John Otken17-Oct-00 11:01
John Otken17-Oct-00 11:01 
GeneralI want opinions/views Pin
#realJSOP17-Oct-00 2:04
professional#realJSOP17-Oct-00 2:04 
Given the following code:

struct SLOT
{
CString sField1;
int nField2;
};

SLOT* m_pSlots[5];

void CMyClass::InitSlots()
{
for (int i = 0; i < 5; i++)
{
m_pSlots[i] = new SLOT;
if (m_pSlots[i])
{
m_pSlots[i]->sField1 = "Empty slot";
m_pSlots[i]->nField2 = i;
}
}
}

Would you say it is morte correct to say that m_pSlots is a pointer to an array, or that m_pSlots is an array of pointers?

My view is that it's an array of pointers, but my boss insists that it's a pointer to an array.
GeneralRe: I want opinions/views Pin
GBO17-Oct-00 6:42
GBO17-Oct-00 6:42 
GeneralRe: I want opinions/views Pin
#realJSOP18-Oct-00 0:53
professional#realJSOP18-Oct-00 0:53 
GeneralRe: I want opinions/views Pin
GBO18-Oct-00 2:26
GBO18-Oct-00 2:26 
GeneralRe: I want opinions/views Pin
#realJSOP18-Oct-00 4:32
professional#realJSOP18-Oct-00 4:32 
GeneralRe: I want opinions/views Pin
GBO18-Oct-00 5:05
GBO18-Oct-00 5:05 
GeneralRe: I want opinions/views Pin
Erik Funkenbusch17-Oct-00 9:54
Erik Funkenbusch17-Oct-00 9:54 
GeneralRe: I want opinions/views Pin
Andrei Zenkovitch18-Oct-00 6:27
Andrei Zenkovitch18-Oct-00 6:27 
GeneralMenu Pin
toby17-Oct-00 0:57
toby17-Oct-00 0:57 
GeneralRe: Menu Pin
frydaysoft17-Oct-00 1:24
sussfrydaysoft17-Oct-00 1:24 
GeneralRe: Menu Pin
Erik Funkenbusch17-Oct-00 9:59
Erik Funkenbusch17-Oct-00 9:59 
GeneralRe: Menu Pin
Roger18-Oct-00 1:42
Roger18-Oct-00 1:42 
GeneralProblem with drag and drop Pin
Juan Diego Domínguez17-Oct-00 0:46
Juan Diego Domínguez17-Oct-00 0:46 
Questionhow to change the text color and background color of a combo box Pin
Mac17-Oct-00 0:30
Mac17-Oct-00 0:30 
AnswerRe: how to change the text color and background color of a combo box Pin
frydaysoft17-Oct-00 1:17
sussfrydaysoft17-Oct-00 1:17 
GeneralMFC -> COM, ActiveX Pin
RK16-Oct-00 12:34
RK16-Oct-00 12:34 
GeneralRe: MFC -> COM, ActiveX Pin
Bashir Irfan Malik16-Oct-00 22:27
Bashir Irfan Malik16-Oct-00 22:27 
GeneralRe: MFC -> COM, ActiveX Pin
RK17-Oct-00 9:31
RK17-Oct-00 9:31 

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.