Click here to Skip to main content
15,894,460 members
Home / Discussions / C#
   

C#

 
GeneralRe: Referencing a reference Pin
Heath Stewart4-Aug-03 6:34
protectorHeath Stewart4-Aug-03 6:34 
QuestionHow to get system-wide cursor status in c#? Pin
CyberKewl3-Aug-03 22:02
CyberKewl3-Aug-03 22:02 
AnswerRe: How to get system-wide cursor status in c#? Pin
J. Dunlap3-Aug-03 22:34
J. Dunlap3-Aug-03 22:34 
GeneralRe: How to get system-wide cursor status in c#? Pin
CyberKewl4-Aug-03 4:25
CyberKewl4-Aug-03 4:25 
GeneralAbout some syntax Pin
FlyingDancer3-Aug-03 21:40
FlyingDancer3-Aug-03 21:40 
GeneralRe: About some syntax Pin
Alexander Kojevnikov3-Aug-03 22:41
Alexander Kojevnikov3-Aug-03 22:41 
GeneralRe: About some syntax Pin
FlyingDancer3-Aug-03 23:03
FlyingDancer3-Aug-03 23:03 
GeneralRe: About some syntax Pin
Alexander Kojevnikov4-Aug-03 2:42
Alexander Kojevnikov4-Aug-03 2:42 
Aleon666 wrote:
virtual void operator()(const char* string)=0; // call using operator

This is an abstract virtual function. The class containing an abstract virtual function cannot be instantiated, and is intended to be a base class.

Aleon666 wrote:
template class TSpecificFunctor : public TFunctor

I guess this should look like this:
template<class TClass> class TSpecificFunctor : public TFunctor

This is a declaration of a template class. I think you better read on templates in MSDN.

Aleon666 wrote:
TSpecificFunctor specFuncA(&objA, TClassA::Display);

I again guess it should be:
TSpecificFunctor<TClassA> specFuncA(&objA, TClassA::Display);

This line creates an instance of TSpecificFunctor object, passing TClassA as a template argument, and (&objA, TClassA::Display) as constructor arguments.

Aleon666 wrote:
TFunctor** vTable = new TFunctor*[2];

This creates an array which contains two pointers to TFunctor objects. This array is then initialized with two created functors: specFuncA and specFuncB.

HTH

Alexandre Kojevnikov
MCAD charter member
Leuven, Belgium

GeneralRe: About some syntax Pin
FlyingDancer4-Aug-03 2:55
FlyingDancer4-Aug-03 2:55 
GeneralReturn possibilty Pin
deanoA3-Aug-03 16:33
deanoA3-Aug-03 16:33 
GeneralRe: Return possibilty Pin
James T. Johnson3-Aug-03 16:59
James T. Johnson3-Aug-03 16:59 
GeneralRe: Return possibilty Pin
Furty3-Aug-03 17:04
Furty3-Aug-03 17:04 
GeneralRe: Return possibilty Pin
James T. Johnson3-Aug-03 17:10
James T. Johnson3-Aug-03 17:10 
GeneralRe: Return possibilty Pin
Furty3-Aug-03 17:24
Furty3-Aug-03 17:24 
GeneralRe: Return possibilty Pin
Furty3-Aug-03 17:00
Furty3-Aug-03 17:00 
GeneralRe: Return possibilty Pin
James T. Johnson3-Aug-03 17:03
James T. Johnson3-Aug-03 17:03 
GeneralRe: Return possibilty Pin
Furty3-Aug-03 17:09
Furty3-Aug-03 17:09 
GeneralRe: Return possibilty Pin
deanoA3-Aug-03 17:03
deanoA3-Aug-03 17:03 
Generalprinting Pin
karan_sandhu3-Aug-03 13:49
karan_sandhu3-Aug-03 13:49 
GeneralRe: printing Pin
James T. Johnson3-Aug-03 17:42
James T. Johnson3-Aug-03 17:42 
GeneralCLR error Pin
karan_sandhu3-Aug-03 13:44
karan_sandhu3-Aug-03 13:44 
GeneralRe: CLR error Pin
Alex Korchemniy3-Aug-03 18:47
Alex Korchemniy3-Aug-03 18:47 
GeneralRe: CLR error Pin
karan_sandhu5-Aug-03 21:21
karan_sandhu5-Aug-03 21:21 
GeneralRe: CLR error Pin
Alex Korchemniy7-Aug-03 6:21
Alex Korchemniy7-Aug-03 6:21 
General.Net framework Pin
Alex Korchemniy3-Aug-03 13:19
Alex Korchemniy3-Aug-03 13:19 

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.