| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: files |
MT> Can someone please tell me the best way to open a file (shared) is
MT> c++ I am using fsopen and then attaching that to a c++ fstream..
You could just open the thing as an fstream and supply the
appropriate parameters to the open call (or in the constructor
call).
For example:
fstream f;
f.open("filename", ios::binary, filebuf::sh_read);
---
þ Blue Wave/QWK v2.12 þ
---------------
* Origin: St. Louis Users Group (1:100/4) |
|
| SOURCE: echomail via exec-pc | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.