Skip to main content
deleted 24 characters in body
Source Link
Dervin Thunk
  • 20.2k
  • 31
  • 134
  • 229

Yes it is valid as described in above answers. A small suggestion, it would be more better if you are providingprovide a tag name too, as follows. This would help some of IDE'sIDEs to better parse your code for intellisense.

typedef struct vactor_tag { double x; double y; double z; } *vector; 

Yes it is valid as described in above answers. A small suggestion, it would be more better if you are providing a tag name too as follows. This would help some of IDE's to parse your code for intellisense.

typedef struct vactor_tag { double x; double y; double z; } *vector; 

Yes it is valid as described in above answers. A small suggestion, it would be better if you provide a tag name too, as follows. This would help some IDEs to better parse your code.

typedef struct vactor_tag { double x; double y; double z; } *vector; 
Source Link
FIFO
  • 21
  • 1

Yes it is valid as described in above answers. A small suggestion, it would be more better if you are providing a tag name too as follows. This would help some of IDE's to parse your code for intellisense.

typedef struct vactor_tag { double x; double y; double z; } *vector;