hell, I am new to code blocks and programing in a linux enviroment
my issue is that my code worked find in VS 2010 but it does not work in Code Blocks running in Ubuntu. The problem that I have is
fstream f;
f.open("adsf"); ///at this point intellisense does not offer f.open so if I type f. nothing comes up and I have
#include<fstream>
#include <iostream>
#include <sstream>
using namespace std;
also I can not use std::fstream because fstream is not an option when I type std::
Update to the latest Code::Blocks svn for more reliable code completion: http://apt.jenslody.de/
Eclipse's code completion is still better, though - especially its C++11 support.
also I can not use std::fstream because fstream is not an option when I type std::
That's an interesting way of reasoning. Protip: it's possible to write "fstream" manually.
I got it to work, for the code completion problem I updated to a nightly build
for it to work with out the code completion I either had the path wrong(I don't think so) or it was I had
to add ios_base::in to file.open("filename", ios_base::in)