int LineToStruct(CString TransLog) { string ReadLine; ifstream infile(TransLog); while(!infile.eof()) { getline(infile, ReadLine); } infile.close(); return 0; }
error C2065: 'getline' : undeclared identifier
#include "stdafx.h" #include <iostream> #include <fstream> #include <string.h> using namespace std;
#include<string>
#include <string>
#include <string.h>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)