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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to open a file for read/write operation? 1

Status
Not open for further replies.

qwert85103

Technical User
Dec 27, 2003
162
US
Actually its more of original C++ than of VC++.

file.open("ABC.DAT",ios::app,ios:eek:ut,ios::in);

This when compiled under VC++ environment gives the following error:-
"error C2248: 'init' : cannot access protected member declared in class 'ios'"

Could anyone please help with this.


Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top