McCo 0 Newbie Poster

Hey guys,
I just wanted to know if I can access shared documents from C++.
Eg.
I have created a file named A.txt in shared docs using fout.open("A.txt");
where fout is an object of ofstream.
Can A.txt be accessed from another computer which is connected to each other VIA LAN.

if yes please do tell me how to access it assuming the name of the shared document to be JOHN.

cheers

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.