From: kevin lyda (kevin at domain suberic.net)
Date: Tue 13 Apr 1999 - 13:52:31 IST
Philip Trickett burst across the net:
>struct instrument {
> char name[60]; /* Name of the Instrument */
it's not a char *, it's an array of char...
>conn_inst[0].name = "Blah Blah Blah";
strcpy(conn_inst[0].name, "Blah Blah Blah");
>Does anyone have any ideas, as every book etc. i have checked has indicated th
>at this is an OK way to do this.
get different books. and read sections on pointers and arrays. they
can trick you.
kevin
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:07 GMT