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

C / C++ / MFC

 
GeneralATL, ActiveX with normal control ( Buttons...) Pin
Braulio Dez25-Oct-01 6:19
Braulio Dez25-Oct-01 6:19 
QuestionWTL: How do I change the background color of a view? Pin
clintsinger25-Oct-01 6:17
clintsinger25-Oct-01 6:17 
AnswerRe: WTL: How do I change the background color of a view? Pin
Cris25-Oct-01 9:24
Cris25-Oct-01 9:24 
GeneralRe: WTL: How do I change the background color of a view? Pin
clintsinger25-Oct-01 9:48
clintsinger25-Oct-01 9:48 
GeneralMacros question Pin
25-Oct-01 6:04
suss25-Oct-01 6:04 
GeneralRe: Macros question Pin
#realJSOP25-Oct-01 6:34
professional#realJSOP25-Oct-01 6:34 
GeneralRe: Macros question Pin
Tomasz Sowinski25-Oct-01 8:48
Tomasz Sowinski25-Oct-01 8:48 
GeneralRe: Macros question Pin
25-Oct-01 9:04
suss25-Oct-01 9:04 
The idea is following:

I have containers like

template< class T >
struct TSPACE3
{
TSPECE3( T x, T y, T z, T w );
T x;
T y;
T z;
};

template< class T >
struct TSPACE4
{
TSPECE4( T x, T y, T z, T w );
T x;
T y;
T z;
T w;
};

and vector like

template< class T >
class TVector : public T
{

};

typedef TVector< TSpace3<double> > Vector3d;
typedef TVector< TSpace4<float> > Vector4f;

So now if I make a instance of these objects, I would like to use constructors of TSpace, without to define them into TVector, also I don't want to make ctor like

TVector( T& x,...)

Usage
Vector3d v3d( 1, 0, 3 );
Vector4f v4f( 1.0f, 2.3f, 4.4f, 3.4f );

Some kind of "inherited" the ctor of TSpace
GeneralRe: Macros question Pin
Tomasz Sowinski25-Oct-01 9:19
Tomasz Sowinski25-Oct-01 9:19 
GeneralRe: Macros question Pin
Todd Smith25-Oct-01 9:19
Todd Smith25-Oct-01 9:19 
GeneralRe: Macros question Pin
Todd Smith25-Oct-01 9:10
Todd Smith25-Oct-01 9:10 
GeneralRe: Macros question Pin
Tomasz Sowinski25-Oct-01 9:15
Tomasz Sowinski25-Oct-01 9:15 
QuestionAnyone compiled MSVCRTd.DLL (MSVC++ 6.0)? Pin
Robin Hilliard25-Oct-01 5:25
Robin Hilliard25-Oct-01 5:25 
AnswerRe: Anyone compiled MSVCRTd.DLL (MSVC++ 6.0)? Pin
Tomasz Sowinski25-Oct-01 8:43
Tomasz Sowinski25-Oct-01 8:43 
AnswerRe: Anyone compiled MSVCRTd.DLL (MSVC++ 6.0)? Pin
Alvaro Mendez25-Oct-01 11:52
Alvaro Mendez25-Oct-01 11:52 
GeneralGood CE source code snippets Pin
25-Oct-01 4:33
suss25-Oct-01 4:33 
GeneralSaving MDI Child Windows Pin
25-Oct-01 4:32
suss25-Oct-01 4:32 
GeneralRe: Saving MDI Child Windows Pin
Christian Graus25-Oct-01 8:21
protectorChristian Graus25-Oct-01 8:21 
QuestionHow to take over whole screen on CE / Pocket PC device. Pin
25-Oct-01 4:31
suss25-Oct-01 4:31 
Generalreading a string Pin
25-Oct-01 4:30
suss25-Oct-01 4:30 
GeneralRe: reading a string Pin
Jon Hulatt25-Oct-01 4:35
Jon Hulatt25-Oct-01 4:35 
GeneralRe: reading a string Pin
25-Oct-01 4:43
suss25-Oct-01 4:43 
GeneralRe: reading a string Pin
#realJSOP25-Oct-01 6:36
professional#realJSOP25-Oct-01 6:36 
GeneralPrinting Reports... Pin
Braulio Dez25-Oct-01 3:59
Braulio Dez25-Oct-01 3:59 
GeneralRe: Printing Reports... Pin
Andrew Peace25-Oct-01 14:48
Andrew Peace25-Oct-01 14:48 

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.