hello all

i can write string in a text file but i don't know how to choos a path like this c:\test\tets.txt
and how can show it on screen

i tried to use fscanf and printf but i couldn't

thanks for yr helps

how about fstream file_op("c:\\test\\output.txt",ios::in);

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.