Is this an structure or an array?
I think is an structure because it starts with struct, but it has the [4] which is only in arrays :S
Code:struct part data[4] = { {1, "Smith"}, {2, "Jones"}, {3, "Adams"}, {4, "Wilson"} };
Is this an structure or an array?
I think is an structure because it starts with struct, but it has the [4] which is only in arrays :S
Code:struct part data[4] = { {1, "Smith"}, {2, "Jones"}, {3, "Adams"}, {4, "Wilson"} };
Does this compile on your system? It doesn't compile on my VC++ 6.0.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge