First, sorry for my previous statment (im a little slow

)
Second, why am i having so much trouble opening a specific file by STRING???
MyCode:
cout << "file name to scan?";
getline(cin,s_fileIn,'\n');
s_fileIn.append(".txt");
FileIn.open(s_fileIn,ios_base::in); //line 58
ERROR:
c:\Documents and Settings\knowell\Desktop\DataSearch\DataSearch\main.cpp(58): error C2664: 'void std::basic_ifstream<_Elem,_Traits>::open(const char *,std::_Iosb<_Dummy>::openmode,int)' : cannot convert parameter 1 from 'std::string' to 'const char *'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Dummy=int
]
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the
BEER holder"
"Save your breath your going to need it for your blow up doll later"
SearchLores.org