When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.
Its a C program (.c).
<fstream> is a C++ file. Are you trying to use the standard C++ file stram std::fstream? If so, then make a C++ project. For C projects you have to use <cstdio> and FILE*.
For C projects you have to use <cstdio> and FILE*.
Quote from: SuperBoi45 on April 05, 2014, 11:48:54 pmFor C projects you have to use <cstdio> and FILE*.I think he meant C projects to be compiled with a C++ compiler.
I am using GCC (not g++).Its a C program (.c).