Click here to Skip to main content
15,905,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to run application at win2k startup? Pin
Michael P Butler2-Nov-03 21:53
Michael P Butler2-Nov-03 21:53 
AnswerRe: How to run application at win2k startup? Pin
Xiangyang Liu 刘向阳3-Nov-03 0:10
Xiangyang Liu 刘向阳3-Nov-03 0:10 
Generalfind window Pin
`Alt+F4`2-Nov-03 20:53
`Alt+F4`2-Nov-03 20:53 
GeneralRe: find window Pin
Mumiozol2-Nov-03 22:23
Mumiozol2-Nov-03 22:23 
GeneralRe: find window Pin
Antti Keskinen2-Nov-03 22:28
Antti Keskinen2-Nov-03 22:28 
GeneralRe: find window Pin
`Alt+F4`3-Nov-03 9:34
`Alt+F4`3-Nov-03 9:34 
GeneralRe: find window Pin
Antti Keskinen5-Nov-03 3:17
Antti Keskinen5-Nov-03 3:17 
Generaltemplate class Problem Pin
Mehran Ziadloo2-Nov-03 20:20
Mehran Ziadloo2-Nov-03 20:20 
What a perfect world it could be with out errors.
Going forth in a software developement I got to an error which I could not find a resource that give an answer.
It's about templates, and I must tell you that I'm new in this stuff.
Consider 'ClassA' which requiers template list when you want to define a object of it. Like this:

ClassA<long> obj;

And Consider another class that is the same to the previous one, 'ClassB' (with template list).
Now here's the problem, how can you define an object of 'ClassA' with the template list of 'ClassB' type, it should be something like this:

ClassA<ClassB> obj;

But compiler tells me that it has an error becuase 'ClassB' requiers a list of templates. So I thought that it might be defined like this:

ClassA<ClassB<long>> obj;

Now it has an another error:
error C2146: syntax error : missing ',' before identifier 'obj'
Well how can I define an object from a class with template list of sort of a class with template list?
GeneralRe: template class Problem Pin
Per Nilsson2-Nov-03 21:05
Per Nilsson2-Nov-03 21:05 
GeneralCFile::ReadHuge question Pin
BlackRider2-Nov-03 20:13
BlackRider2-Nov-03 20:13 
GeneralRe: CFile::ReadHuge question Pin
Steve S3-Nov-03 2:50
Steve S3-Nov-03 2:50 
QuestionHow to restore my application instead of running a new instance? Pin
julych2-Nov-03 20:03
julych2-Nov-03 20:03 
AnswerRe: How to restore my application instead of running a new instance? Pin
BlackRider2-Nov-03 20:33
BlackRider2-Nov-03 20:33 
AnswerRe: How to restore my application instead of running a new instance? Pin
Michael P Butler2-Nov-03 22:04
Michael P Butler2-Nov-03 22:04 
AnswerRe: How to restore my application instead of running a new instance? Pin
cmk2-Nov-03 22:30
cmk2-Nov-03 22:30 
GeneralPreCreateWindow Pin
Vancouver2-Nov-03 19:41
Vancouver2-Nov-03 19:41 
GeneralRe: PreCreateWindow Pin
Antti Keskinen2-Nov-03 22:36
Antti Keskinen2-Nov-03 22:36 
GeneralPreCreateWindow Pin
Vancouver3-Nov-03 6:50
Vancouver3-Nov-03 6:50 
GeneralRe: PreCreateWindow Pin
Antti Keskinen5-Nov-03 2:17
Antti Keskinen5-Nov-03 2:17 
GeneralOnSetFont Pin
Vancouver7-Nov-03 13:34
Vancouver7-Nov-03 13:34 
GeneralRe: OnSetFont Pin
Antti Keskinen8-Nov-03 9:41
Antti Keskinen8-Nov-03 9:41 
GeneralOnSetFont Pin
Vancouver8-Nov-03 19:55
Vancouver8-Nov-03 19:55 
GeneralSharing MFC objects among threads... Pin
Suhail Yousaf2-Nov-03 19:16
Suhail Yousaf2-Nov-03 19:16 
GeneralFiles and folders Pin
Selevercin2-Nov-03 17:26
Selevercin2-Nov-03 17:26 
GeneralRe: Files and folders Pin
Michael Dunn2-Nov-03 20:04
sitebuilderMichael Dunn2-Nov-03 20:04 

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.