Advertisement

1 - 10 of 68 containing alltags:("typedef") (0 seconds)
I have a question how to rewrite this code to a class instead of a struct. typedef struct tagMSG {    int blaha,bloof; }MSG; is this the same as class tagMSG { int blaha,bloof; }; ...
Zones: C++Date Answered: 10/12/1999 Grade: A Views: 0
Convert this code to VB typedef struct {    struct time StartTime;    struct time EndTime;    char Module[32 + 1];    char Macro[32 + 1];    char Object[32 + 1];    char Remarks[200];  ...
Zones: Visual BasicDate Answered: 07/06/2001 Grade: B Views: 0
I know simple use of typedef but I need to know how to use it for class member functions and for functions
Zones: C++Date Answered: 03/21/2002 Grade: A Views: 0
Hi, I have a problem typedefing a struct that uses another struct that uses the first struct! still there? Is there a way to do that (I'd like to avoid void pointers if possible) Thanks ty...
Zones: CDate Answered: 12/15/2002 Grade: A Views: 4
As the title says I want to map a name so it is replaced by sth. else. In c I used define for values or even macros and I could typedef variable names. In my case, I tried: #define HashSum byt...
Zones: C#Date Answered: 01/22/2004 Grade: A Views: 0
How can I simulate a typedef in C# ? I want to create my own variable type such as typedef TimeCode long I have a class which is using such typedefs in C++ and I must convert it to C#
Zones: C#Date Answered: 11/07/2005 Grade: B Views: 78
Hi, Is it valid to do something like this: struct THREE_COMPONENT {     int x, y, z; }; typedef THREE_COMPONENT     VECTOR typedef THREE_COMPONENT     POINT_3D Now VECTOR and POINT_3...
Zones: C++Date Answered: 04/21/2007 Grade: A Views: 0
I am passing data to VB from a C dll through a user-defined structure.   In C, the structure is defined: typedef enum {   DEFAULT, ... } TCategory; typedef struct {   char Tword[50];   TCategory...
Zones: Visual BasicDate Answered: 11/29/1998 Grade: C Views: 0
In the help of VC5(mk:@ivt:vclang/F8/DA/S1D8F1.HTM), I found the following lines ! typedef void fv( int ), (*pfv)( int );  /* typedef declarations */ void ( *signal( int, void (*) (int)) ) ( int ...
Zones: CDate Answered: 02/09/1999 Grade: A Views: 0
I'm bemused on a point. Always the typedef. The syntax of the typedef is like this: typedef type-declaration synonym; So typedef long LONG; is easy to understand. But something like: typedef ...
Zones: C++Date Answered: 06/10/1999 Grade: D Views: 0