question about structure initializationa and reference# Programming - 葵花宝典
i*d
1 楼
I have been using Fortran for many years but have to switch to C for the
current project. Get a question about structure initialization and would
appreciate any help!
I define a structure contatining a number of integers, reals, chars, and
arrays to be allocated. A point to such a structure is declared in the
main function, and I want to use a function to initialize this structure.
I know there must something wrong with my initialization function, but I
am unable to locate it. Many tutorials and
current project. Get a question about structure initialization and would
appreciate any help!
I define a structure contatining a number of integers, reals, chars, and
arrays to be allocated. A point to such a structure is declared in the
main function, and I want to use a function to initialize this structure.
I know there must something wrong with my initialization function, but I
am unable to locate it. Many tutorials and