[SOLVED] initiation of struct

You can do that in C99, the newer version of C. For some silly reason, C++ is no longer a superset of C, and they didn't bother including designated initializers.
It really is a nice feature though.