Click here to Skip to main content
16,005,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to make package? Pin
Nelek16-Nov-07 0:04
protectorNelek16-Nov-07 0:04 
GeneralRe: How to make package? Pin
H4u3216-Nov-07 0:42
H4u3216-Nov-07 0:42 
GeneralRe: How to make package? Pin
H4u3216-Nov-07 0:42
H4u3216-Nov-07 0:42 
QuestionHow to write copy constructor when returning any template object. Pin
Atul2315-Nov-07 22:06
Atul2315-Nov-07 22:06 
AnswerRe: How to write copy constructor when returning any template object. Pin
Nelek15-Nov-07 22:29
protectorNelek15-Nov-07 22:29 
AnswerRe: How to write copy constructor when returning any template object. Pin
codeII15-Nov-07 22:31
codeII15-Nov-07 22:31 
AnswerSure? Pin
CPallini15-Nov-07 22:31
mveCPallini15-Nov-07 22:31 
AnswerYou are missing quite a lot of braces here [modified] Pin
jhwurmbach16-Nov-07 3:43
jhwurmbach16-Nov-07 3:43 
Because the board software eats all > and <.
CArray<type, type> COpenFolderPage::GetPagesPath()
{

CArray<type, type> pagePathArray;


// some code

return pagePathArray;
}
looks quite reasonable.

CArray surly has a copy-c'tor.
Otherwise the class is much more broken than I ever imagined.

Hint: std::vector<type> works equally well and is actually modern C++ instead of some funny hack for MS C++ 4 (of 10 years ago).

-- modified at 4:56 Monday 19th November, 2007
Major oops - nevermind. If you saw the interim-version: Forget it immediatly!


Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"

GeneralRe: You are missing quite a lot of braces here Pin
CPallini16-Nov-07 4:30
mveCPallini16-Nov-07 4:30 
GeneralRe: You are missing quite a lot of braces here Pin
jhwurmbach18-Nov-07 22:04
jhwurmbach18-Nov-07 22:04 
GeneralRe: You are missing quite a lot of braces here Pin
CPallini18-Nov-07 22:24
mveCPallini18-Nov-07 22:24 
GeneralRe: You are missing quite a lot of braces here Pin
jhwurmbach18-Nov-07 22:35
jhwurmbach18-Nov-07 22:35 
GeneralRe: You are missing quite a lot of braces here Pin
CPallini18-Nov-07 22:46
mveCPallini18-Nov-07 22:46 
GeneralRe: You are missing quite a lot of braces here [modified] Pin
jhwurmbach18-Nov-07 22:48
jhwurmbach18-Nov-07 22:48 
GeneralOh, that isn't correct Pin
CPallini18-Nov-07 22:54
mveCPallini18-Nov-07 22:54 
GeneralRe: Oh, that isn't correct Pin
jhwurmbach18-Nov-07 23:01
jhwurmbach18-Nov-07 23:01 
GeneralRe: You are missing quite a lot of braces here Pin
CPallini18-Nov-07 23:21
mveCPallini18-Nov-07 23:21 
GeneralRe: You are missing quite a lot of braces here Pin
jhwurmbach18-Nov-07 23:27
jhwurmbach18-Nov-07 23:27 
GeneralRe: You are missing quite a lot of braces here Pin
CPallini18-Nov-07 23:37
mveCPallini18-Nov-07 23:37 
GeneralRe: You are missing quite a lot of braces here Pin
David Crow16-Nov-07 11:04
David Crow16-Nov-07 11:04 
GeneralRe: You are missing quite a lot of braces here Pin
jhwurmbach18-Nov-07 22:20
jhwurmbach18-Nov-07 22:20 
GeneralRe: You are missing quite a lot of braces here Pin
David Crow19-Nov-07 3:17
David Crow19-Nov-07 3:17 
QuestionHow to block CD/DVD Pin
VC_RYK15-Nov-07 21:50
VC_RYK15-Nov-07 21:50 
AnswerRe: How to block CD/DVD Pin
David Crow16-Nov-07 5:35
David Crow16-Nov-07 5:35 
GeneralRe: How to block CD/DVD Pin
VC_RYK18-Nov-07 19:37
VC_RYK18-Nov-07 19:37 

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.