version, that helps too
| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Dev C++
Started by Final)arkJon, Oct 23 2004 12:25 PM
29 replies to this topic
#27
Posted 27 January 2005 - 09:58 AM
There are so many choice :DevC++ is OK and you also have Watcom c++ or you can just install GCC + Anjuta...anyway, you have many options.
If you plan to go pro with making software and, someday, even selling them, I suggest you risk some money and order licensed Visual Studio .Net.
If you plan to go pro with making software and, someday, even selling them, I suggest you risk some money and order licensed Visual Studio .Net.
#30
Posted 11 October 2008 - 11:12 PM
iGuest-, on Jul 15 2008, 04:46 PM, said:
syntax
Dev C++
Ifstream in;
This is not recognised by dev C++ what alternative to use?
Dev C++
Ifstream in;
This is not recognised by dev C++ what alternative to use?
here is a simple way i have used ifstream to read a .csv file... hope it helps someone
#include
#include
using namespace std;
int readFile()
{
string line;
ifstream readFile;
readFile.open ("file.csv");
if (readFile.is_open())
{
while (! readFile.eof() )
{
getline (readFile,line);
cout << line << endl;
}
readFile.close();
}
else cout << "Unable to open file";
return 0;
}
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














