The structures are new to me. I'm just trying read from a file right now. This is my code I keep getting C2679 Error. Although I read about it I can't seem to resolve it. Also question about the array that is the type of my structure do I just treat that like a normal array? Thanks
When saying you get a certain error, please quote the entire error text. Error message numbers vary by compiler, and we have no idea what compiler you're using from your post.
At line 67, you're trying to output tele[i]. The compiler is telling you it doesn't know how to output an item of type infoType. If infoType were a class, you could overload the << operator to output an item of type infoType, but as long as infoType is a struct, you can't overload the << operator.
What exactly did you expect to happen when doing a cout of tele[i] ?
Best way to handle this is to write a function that takes an instance of infoType as an argument and outputs the individual members.