Click here to Skip to main content
15,922,007 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWinsock : Ip of broadcaster Pin
Ortie3-Nov-03 1:25
Ortie3-Nov-03 1:25 
GeneralRe: Winsock : Ip of broadcaster Pin
Ortie3-Nov-03 1:37
Ortie3-Nov-03 1:37 
Generaldebug error Pin
ranjjj3-Nov-03 0:25
ranjjj3-Nov-03 0:25 
GeneralRe: debug error Pin
Michael P Butler3-Nov-03 0:56
Michael P Butler3-Nov-03 0:56 
GeneralRe: debug error Pin
ranjjj3-Nov-03 4:02
ranjjj3-Nov-03 4:02 
GeneralRe: debug error Pin
David Crow3-Nov-03 4:36
David Crow3-Nov-03 4:36 
GeneralRe: debug error Pin
ranjjj3-Nov-03 17:06
ranjjj3-Nov-03 17:06 
GeneralRe: debug error Pin
David Crow4-Nov-03 2:31
David Crow4-Nov-03 2:31 
Generalmail server Pin
Ali7913-Nov-03 0:17
Ali7913-Nov-03 0:17 
GeneralRe: mail server Pin
melwyn3-Nov-03 1:44
melwyn3-Nov-03 1:44 
GeneralRe: mail server Pin
David Crow3-Nov-03 4:38
David Crow3-Nov-03 4:38 
GeneralCreate Service Pin
Boby.George2-Nov-03 23:17
professionalBoby.George2-Nov-03 23:17 
GeneralRe: Create Service Pin
Xiangyang Liu 刘向阳3-Nov-03 0:04
Xiangyang Liu 刘向阳3-Nov-03 0:04 
GeneralNot create a Service when logged as a local user Pin
Boby.George3-Nov-03 19:05
professionalBoby.George3-Nov-03 19:05 
GeneralRe: FTP OpenFile BUG? Pin
BlackRider2-Nov-03 22:24
BlackRider2-Nov-03 22:24 
QuestionHow to run application at win2k startup? Pin
golden06062-Nov-03 21:28
golden06062-Nov-03 21:28 
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 

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.