im trying to use getline to get a line of input but on execution the getline code is skiped over???
this is the code...
using namespace std;
cout<<"Please enter a string... \n";
cin.getline(cTemp, nLim, '\n');
I copied the same code into borland and it worked fine.
any help would be cool...