Yes, you can use ifstream in linux. At work I had a problem using ios::binary on Unix, since all files are treated as binary. I assume you may find the same problem. Use a conditional define to test for the operating system, eg :
Code:
#ifdef _LINUX_
ifstream aFile ("blah");
#else
ifstream aFile ("blah", ios::binary);
#endif