Click here to Skip to main content
15,891,699 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Opening folders Pin
dave_long13-May-03 22:09
dave_long13-May-03 22:09 
GeneralPassing a pointer to an array Pin
Tom Wright13-May-03 5:09
Tom Wright13-May-03 5:09 
GeneralRe: Passing a pointer to an array Pin
Chris Meech13-May-03 5:21
Chris Meech13-May-03 5:21 
GeneralRe: Passing a pointer to an array Pin
Alvaro Mendez13-May-03 6:13
Alvaro Mendez13-May-03 6:13 
GeneralRe: Passing a pointer to an array Pin
Tom Wright13-May-03 8:50
Tom Wright13-May-03 8:50 
GeneralRe: Passing a pointer to an array Pin
Tom Wright13-May-03 8:52
Tom Wright13-May-03 8:52 
GeneralRe: Passing a pointer to an array Pin
David Crow13-May-03 9:35
David Crow13-May-03 9:35 
GeneralRe: Passing a pointer to an array Pin
Renjith Ramachandran13-May-03 7:10
Renjith Ramachandran13-May-03 7:10 
Tom Wright wrote:
CString pArray[10];
...
..
return * pArray;

Is this right?


if you did this in one of ur member function, then it is quite nonsense.
just keep the array as global/member variable or use the pointer (allocate the number as u like) and then retun the address...


regards,

CodeTheDreams();
GeneralPS or PDF display/print Pin
Bartosz Bien13-May-03 5:06
Bartosz Bien13-May-03 5:06 
GeneralRe: PS or PDF display/print Pin
imsniper13-May-03 23:38
imsniper13-May-03 23:38 
QuestionHow To Get Pointer to Main Menu in case of MDI Application Pin
Anonymous13-May-03 4:50
Anonymous13-May-03 4:50 
AnswerRe: How To Get Pointer to Main Menu in case of MDI Application Pin
Gary Kirkham13-May-03 7:23
Gary Kirkham13-May-03 7:23 
QuestionHow to get data from a password protected webpage Pin
NorbertBehrens13-May-03 4:45
NorbertBehrens13-May-03 4:45 
GeneralPut button in CListCtrl Pin
JensB13-May-03 4:14
JensB13-May-03 4:14 
GeneralRe: Put button in CListCtrl Pin
basementman13-May-03 7:11
basementman13-May-03 7:11 
GeneralRe: Put button in CListCtrl Pin
Joan M13-May-03 21:52
professionalJoan M13-May-03 21:52 
GeneralCSpinButtonCtrl problem Pin
Trollslayer13-May-03 3:45
mentorTrollslayer13-May-03 3:45 
GeneralRe: CSpinButtonCtrl problem Pin
Rage13-May-03 4:07
professionalRage13-May-03 4:07 
GeneralOnly for the best ;o) Pin
MemLeak13-May-03 3:28
MemLeak13-May-03 3:28 
GeneralRe: Only for the best ;o) Pin
valikac13-May-03 8:41
valikac13-May-03 8:41 
GeneralRe: Only for the best ;o) Pin
MemLeak13-May-03 9:39
MemLeak13-May-03 9:39 
QuestionCan anyone help me please???? Pin
andreshs113-May-03 3:08
andreshs113-May-03 3:08 
GeneralMessages for dynamic created controls Pin
Frank Christensen13-May-03 3:00
Frank Christensen13-May-03 3:00 
GeneralRe: Messages for dynamic created controls Pin
Rage13-May-03 4:18
professionalRage13-May-03 4:18 
GeneralTrackPopupMenu(...) outside *this wnd. Pin
Michael Pauli13-May-03 2:49
Michael Pauli13-May-03 2:49 

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.