Search Results

Showing results 1 to 1 of 1
Search took 0.01 seconds.
Search: Posts Made By: rajenpandit
Forum: C++ Nov 25th, 2008
Replies: 18
Views: 897
Posted By rajenpandit
just try this one...........................

ifstream fin;

cout << "Enter filename: ";
getline(cin, ifile);
fin.open(ifile.c_str());

if(fin.fail())
{
Showing results 1 to 1 of 1

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC