i dont have exp in console apps... and your situation is unique...
if i were u then i would just search and replace the fgets as
search
fgets(char*,xx,xx,xx);
replace with
myFgets(char*,xx,xx,xx);
its a very easy thing and u dont have to do anything if u use any text editor..
then make your function
myFgets(char* str,xx,xx,xx)
{
str=(convert string char by char);
}
search
fgets(char*,xx,xx,xx);
replace with
myFgets(char*,xx,xx,xx);
its a very easy thing and u dont have to do anything if u use any text editor..
then make your function
myFgets(char* str,xx,xx,xx)
{
QString file=QInputDialog/QFileDialog;
str=(convert string char by char);
}
To copy to clipboard, switch view to plain text mode
Bookmarks