dear experts,
i have encountered a strange behaviour i need your help to solve this,
i have getline function
Code:
#include <iostream>
#include <sstream>
#include <fstream>
#include <vector>
#include <string>
using namespace std;
std::istringstream linestream(ss1);
string item;
while (getline(linestream,item,','))
{
}
this getline function is working fine in windows but it is giving error in unix,
Unresolved text symbol "std::getline(std::basic_istream<char,std::char_traits<char> >&,std::basic_string<char,std::char_traits<char>,std::allocator<char> >&,char)"
what is the reason what can be the solution plz help me.