CDT Java Error [message #869870] |
Fri, 04 May 2012 15:19 |
Amanda Ward Messages: 2 Registered: May 2012 |
Junior Member |
|
|
Hi All,
I'm new to Eclipse, but I like the IDE for the most aprt. I've been writing some simple C++ programs and encountered an error I don't understand. The program:
#include <iostream>
#include <fstream>
using namespace std;
int main() {
ofstream fFile;
fFile.open("Testfile.txt");
fFile << "Write this string to the file.\n";
fFile << "Write some more to the file.\n";
fFile.close();
return 0;
}
I see no errors in the IDE, but when I try to build the project, I get this error:
Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'File Out'.
java.lang.IllegalArgumentException
The code compiles just fine in Terminal.
I "think" everything is set up correctly, but being pretty new at this, I'm not sure!
I wouls appreciate any suggestions.
Thank you,
Amanda
[Updated on: Fri, 04 May 2012 15:19] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03316 seconds