Hi,
Please help me.
I want to create a function taking file as an argument and open that file in the browser.
wfstream file_stream;
void function(string filepath)
{
cout<<"Open The file"<<endl;
file_stream.ope n( filepath.c_str( ) , ios::in );
if ( file_stream.is_ open() )
{
cout<<"Open Successfully"<< endl;
cout<<"Try to open in browser"<<endl;
How to implemment in c++ code
}
else
{
cout<<"Unable to open the file"<<endl;
}
}
please give me some information how to ipmlement those things, please reply me some one quickly.
Thanks in Advance.
Please help me.
I want to create a function taking file as an argument and open that file in the browser.
wfstream file_stream;
void function(string filepath)
{
cout<<"Open The file"<<endl;
file_stream.ope n( filepath.c_str( ) , ios::in );
if ( file_stream.is_ open() )
{
cout<<"Open Successfully"<< endl;
cout<<"Try to open in browser"<<endl;
How to implemment in c++ code
}
else
{
cout<<"Unable to open the file"<<endl;
}
}
please give me some information how to ipmlement those things, please reply me some one quickly.
Thanks in Advance.
Comment