eclipse using some weird version of fstream? [message #730553] |
Wed, 28 September 2011 15:40 |
daft-punk-rulz Messages: 2 Registered: September 2011 |
Junior Member |
|
|
not sure if the subject is the actual problem or not, but i'm trying to use an fstream in eclipse and it refuses to let me use any of the members in fstream. here is the code:
#include <fstream>
using namespace std;
int main() {
fstream file;
return 0;
}
just about as simple as it can possibly get, not even doing anything with the fstream yet, but when i try and do something with it, namely file.open() , it says that that member can't be resolved. when i type "file." and the dropdown list appears where it's supposed to show the available members, the only member there is basic_fstream, whatever that's supposed to mean. can someone inform me on how to make an fstream be how it's supposed to be normally?
[Updated on: Wed, 28 September 2011 15:43] Report message to a moderator
|
|
|
Re: eclipse using some version of fstream? [message #730617 is a reply to message #730553] |
Wed, 28 September 2011 17:37 |
|
On 28-Sep-11 09:40, daft-punk-rulz wrote:
> not sure if the subject is the actual problem or not, but i'm trying to
> use an fstream in eclipse and it refuses to let me use any of the
> members in fstream. here is the code:
>
> #include <fstream>
> using namespace std;
>
> int main() {
> fstream file;
> return 0;
> }
>
> just about as simple as it can possibly get, not even doing anything
> with the fstream yet, but when i try and do something with it, namely
> file.open() , it says that that member can't be resolved. when i type
> "file." and the dropdown list appears where it's supposed to show the
> available members, the only member there is basic_fstream, whatever
> that's supposed to mean. can someone inform me on how to make an fstream
> be how it's supposed to be normally?
Check out sticky posts at top of forum.
|
|
|
|
Re: eclipse using some version of fstream? [message #731025 is a reply to message #730996] |
Thu, 29 September 2011 17:54 |
|
On 29-Sep-11 10:43, daft-punk-rulz wrote:
> mkay then, i'll make my post in that other forum if thats what your
> saying. The reason i put it here was because i wasn't sure if it was a
> problem with using eclipse, or a problem using the compiler :/
As soon as what you're asking relates to C/C++, go to the Eclipse CDT
forum. If it's just launching Eclipse, working the editor, navigating
workbench panes/views, etc. this is a good place. The C/C++ compiler
you're using doesn't belong to Eclipse. It's just wired into Eclipse via
plug-ins.
|
|
|
Powered by
FUDForum. Page generated in 0.03353 seconds