M
Matrixinline
Hi All,
File Text.txt
Contains following text as :
"C:\program file\application data\details\app" "D:\Program File"
I tried to read that data as
fscanf(oFp, "%s %s", sCopyDirectory, sToDirectory);
it gives me
sCopyDirectory = "C:\program
sToDirectory= file\application
How can I read a full string between a two double quote mark from a
file?
Well we can read "C:\program file\application data\details\app" "D:
\Program File"
in two character pointers easily. I need the same solution but reading
from a file.
Thanks
Anup
File Text.txt
Contains following text as :
"C:\program file\application data\details\app" "D:\Program File"
I tried to read that data as
fscanf(oFp, "%s %s", sCopyDirectory, sToDirectory);
it gives me
sCopyDirectory = "C:\program
sToDirectory= file\application
How can I read a full string between a two double quote mark from a
file?
Well we can read "C:\program file\application data\details\app" "D:
\Program File"
in two character pointers easily. I need the same solution but reading
from a file.
Thanks
Anup