No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm having trouble overloading >> in a fairly specific manner. When the program reads from a file, I want it to read the data into multiple classes. However, you can't pass more than 2 arguments to an istream overload. I've fiddled around with making one class a base class of … |
|
This program reads information from a text file with an istream_iterator and initializes a vector with the data. Everything has been working fine, but when I created a constructor for the class to use for insertion into the vector, I get a compiler error involving the istream_iterator. [code] #include <vector> … |
|
I'm using Programming: Practice and Principles Using C++ and I've hit a roadblock. Chapters 12-16 cover GUI programming and require the use of the Fast Light Toolkit. Here is what I've done so far. If you need more information I'd be happy to provide. 1. Using Dev-C++'s "Check for Updates … |