Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ simultaneous file access?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I run my web site with CGI written in C++. My program creates pages based on regular text files. If two people hit my site at the same time, can those files still be read, or does one of them get an error? I use ofstream and close open files as soon as possible. I also read a datafile, again as ofstream. Lastly, I append to a log file using ifstream. Can a single file be opened by several instances of my program?
 
You should know how to work with security attributer. John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top