下面举一个例子来说明怎样定义结构体变量。 这个例子定义了一个结构名为string的结构体变量person。还可以省略变量名person,做如下定义: 如果将"结构变量.成员名"看成一个整体,这样就可以像其他变量那样使用。 下面这个例子定义了一个 ...
I am trying to pass an array of strings or a 2d array of chars to a function so I can modify them using that function. I have tired referencing, pointers e.t.c but all produce errors. Is there a way ...