Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCStringArray problem! Pin
Miguel Lopes21-Apr-03 15:54
Miguel Lopes21-Apr-03 15:54 
GeneralRe: CStringArray problem! Pin
Phil Hamer22-Apr-03 13:22
Phil Hamer22-Apr-03 13:22 
GeneralShellExecute Pin
John L. DeVito21-Apr-03 15:12
professionalJohn L. DeVito21-Apr-03 15:12 
GeneralRe: ShellExecute Pin
Toni7821-Apr-03 16:20
Toni7821-Apr-03 16:20 
GeneralRe: ShellExecute Pin
Rickard Andersson2021-Apr-03 20:17
Rickard Andersson2021-Apr-03 20:17 
GeneralRe: ShellExecute Pin
David Crow22-Apr-03 5:41
David Crow22-Apr-03 5:41 
GeneralTemplate question in C++ Pin
grscot21-Apr-03 11:36
grscot21-Apr-03 11:36 
GeneralRe: Template question in C++ Pin
Alvaro Mendez21-Apr-03 12:07
Alvaro Mendez21-Apr-03 12:07 
It looks OK, but does it compile? Smile | :) If it compiles, the rest is a matter of making sure it has no bugs, which the debugger will help you determine.

Now, as far as what I would do if I were you, I'd try to use a container class from one of the available libraries, be it MFC or STL. STL is more sophisticated and portable, but also more difficult for beginners. MFC is simpler and better documented. So take your pick:

MFC: typedef CTypedPtrArray<CPtrArray, Book> BookList;
STL: typedef vector< auto_ptr<Book> > BookList;

Regards,
Alvaro




When birds fly in the right formation, they need only exert half the effort. Even in nature, teamwork results in collective laziness. -- despair.com
GeneralRe: Template question in C++ Pin
Anonymous21-Apr-03 12:23
Anonymous21-Apr-03 12:23 
GeneralRe: Template question in C++ Pin
Joaquín M López Muñoz21-Apr-03 19:56
Joaquín M López Muñoz21-Apr-03 19:56 
GeneralRe: Template question in C++ Pin
Alvaro Mendez22-Apr-03 18:33
Alvaro Mendez22-Apr-03 18:33 
GeneralRe: Template question in C++ Pin
Joaquín M López Muñoz22-Apr-03 19:53
Joaquín M López Muñoz22-Apr-03 19:53 
GeneralCompact Database Pin
Toni7821-Apr-03 11:24
Toni7821-Apr-03 11:24 
GeneralCDialogBar - maixized width when docked Pin
sändi21-Apr-03 11:19
sändi21-Apr-03 11:19 
GeneralLost resources again... Pin
CherezZaboro21-Apr-03 11:11
CherezZaboro21-Apr-03 11:11 
GeneralRe: Lost resources again... Pin
Brian Shifrin21-Apr-03 11:48
Brian Shifrin21-Apr-03 11:48 
GeneralRe: Lost resources again... Pin
CherezZaboro24-Apr-03 6:43
CherezZaboro24-Apr-03 6:43 
GeneralCopying folders to another device Pin
Stefan Spenz21-Apr-03 9:13
Stefan Spenz21-Apr-03 9:13 
GeneralRe: Copying folders to another device Pin
valikac21-Apr-03 9:40
valikac21-Apr-03 9:40 
GeneralRe: Copying folders to another device Pin
_Theo_22-Apr-03 3:51
_Theo_22-Apr-03 3:51 
GeneralRe: Copying folders to another device Pin
Stefan Spenz22-Apr-03 8:08
Stefan Spenz22-Apr-03 8:08 
GeneralDetecting end of file using CFile.. Pin
IrishSonic21-Apr-03 8:55
IrishSonic21-Apr-03 8:55 
GeneralRe: Detecting end of file using CFile.. Pin
Ravi Bhavnani21-Apr-03 9:13
professionalRavi Bhavnani21-Apr-03 9:13 
GeneralRe: Detecting end of file using CFile.. Pin
Gary Kirkham21-Apr-03 9:14
Gary Kirkham21-Apr-03 9:14 
Generaldynamic activex event Pin
megabuffer21-Apr-03 8:45
megabuffer21-Apr-03 8:45 

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.