Compound data type: Difference between revisions
Content added Content deleted
(Added more detailed description) |
|||
Line 63:
'''Compiler:''' [[GCC]], [[Visual C plus plus|Visual C++]], [[BCC]], [[Watcom]]
// C++ style: typedef is not required
struct Point
{
Line 68 ⟶ 69:
int y;
};
// C style
typedef struct Point
{
int x;
int y;
} Point;
==[[C sharp|C#]]==
|