C Primer Plus 第十四章——结构和其他数据形式
注意:指向结构的指针、指向结构数组的指针的区别(实际上没用到后者)
ptr[i].assign (ptr+i)->assign
read_file() write_file()
指向函数的指针(用(*pt)代替函数名)的数组 float (*p[F])(float x, float y) = {add, subtract,multiply,divide} ;
expected declaration or statement at end of input 在最后的函数最后一行出现,找了半天,是少了一个大括号。。。而且是main那里少的。。。