Click here to Skip to main content
16,011,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Opening/Editing a simple text file Pin
Mark Terrano21-Jun-01 8:46
Mark Terrano21-Jun-01 8:46 
QuestionWhat is the problem here ? Pin
21-Jun-01 5:27
suss21-Jun-01 5:27 
AnswerRe: What is the problem here ? Pin
John Uhlenbrock21-Jun-01 6:41
John Uhlenbrock21-Jun-01 6:41 
AnswerRe: What is the problem here ? Pin
Ben Burnett21-Jun-01 6:53
Ben Burnett21-Jun-01 6:53 
Answeranswer Pin
21-Jun-01 7:57
suss21-Jun-01 7:57 
GeneralRe: answer Pin
Ben Burnett21-Jun-01 9:12
Ben Burnett21-Jun-01 9:12 
GeneralRe: answer Pin
Tomasz Sowinski21-Jun-01 9:15
Tomasz Sowinski21-Jun-01 9:15 
GeneralRe: answer Pin
22-Jun-01 8:19
suss22-Jun-01 8:19 
The problem is that I want different Dimension Coords

template < typename TYPE >
struct Coord3
{
TYPE x;
TYPE y;
TYPE z;

typedef TYPE TYPE_NAME;
};

template < typename TYPE >
struct Coord4
{
TYPE x;
TYPE y;
TYPE z;
TYPE w;


typedef TYPE TYPE_NAME;
};


template < class dimention >
class vector : public dimention
{
private:
typedef dimention::TYPE_NAME TYPE;

TYPE& operator[]( const int nIndex )
{
ASSERT( 0 >= nIndex && nIndex < sizeof(this ) / sizeof( TYPE ) );

return ( ( TYPE *) this)[ nIndex ];
};

};

typedef vector< Coord3< float > > vector3f;
typedef vector< Coord4< float > > vector4f;
GeneralRe: answer Pin
Tomasz Sowinski22-Jun-01 8:32
Tomasz Sowinski22-Jun-01 8:32 
GeneralDrag and Drop with WTL Pin
21-Jun-01 5:03
suss21-Jun-01 5:03 
GeneralRe: Drag and Drop with WTL Pin
CodeGuy21-Jun-01 6:22
CodeGuy21-Jun-01 6:22 
GeneralCStrings in unicode Pin
Andrew Stampor21-Jun-01 4:25
Andrew Stampor21-Jun-01 4:25 
GeneralRe: CStrings in unicode Pin
Tomasz Sowinski21-Jun-01 7:06
Tomasz Sowinski21-Jun-01 7:06 
GeneralRe: CStrings in unicode Pin
Andrew Stampor21-Jun-01 7:28
Andrew Stampor21-Jun-01 7:28 
GeneralDetecting *any* program launch (not a particular one) Pin
21-Jun-01 4:13
suss21-Jun-01 4:13 
GeneralRe: Detecting *any* program launch (not a particular one) Pin
Tomasz Sowinski21-Jun-01 6:29
Tomasz Sowinski21-Jun-01 6:29 
GeneralOpening more than one file with onl one command Pin
mr200321-Jun-01 4:07
mr200321-Jun-01 4:07 
GeneralRe: Opening more than one file with onl one command Pin
Tomasz Sowinski21-Jun-01 4:23
Tomasz Sowinski21-Jun-01 4:23 
Generalautomation Pin
Gérald Mercet21-Jun-01 3:29
Gérald Mercet21-Jun-01 3:29 
GeneralRe: automation Pin
Tomasz Sowinski21-Jun-01 3:39
Tomasz Sowinski21-Jun-01 3:39 
GeneralRichEditView Notifications Pin
21-Jun-01 3:24
suss21-Jun-01 3:24 
GeneralRe: RichEditView Notifications Pin
Tomasz Sowinski21-Jun-01 4:01
Tomasz Sowinski21-Jun-01 4:01 
Questionhow to get the VARIANT array of structure having two CPoint variables Pin
pathi21-Jun-01 3:10
pathi21-Jun-01 3:10 
AnswerRe: how to get the VARIANT array of structure having two CPoint variables Pin
21-Jun-01 9:39
suss21-Jun-01 9:39 
GeneralMFC Dll called from WIN32 Dll Pin
sarup21-Jun-01 1:49
sarup21-Jun-01 1:49 

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.