Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!rpi!leah!jj5824 From: jj5824@leah.Albany.Edu (Dorian Hawkmoon) Newsgroups: comp.lang.c Subject: Assignment help request Keywords: lvalue is array Message-ID: <3016@leah.Albany.Edu> Date: 7 May 90 18:29:23 GMT Organization: The University at Albany, Computer Services Center Lines: 19 Hi. I have an question regarding assignment statements. I am attempting to assign a sting (type char *) to a field of a record that has type array of char. The problem, as I'm sure everyone knows, is that it is an illegal assignment since the lvalue is an array. I can get it to work by changing the record field to type char *. However, I am reading into an array of these records, and when I try to read in the next symbol to the next record, the char * field of the previous record is changed to the value I am trying to assign to the next record. And I can't figure out why. Any help would be greatly appreciated. Please email asap, and I can clarify any points that seem really vague above (as I'm sure most do). Thanks in advance, Jim Jurista jj5824@leah.albany.edu