Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do I open binary files?



How do I open binary files?..

Answer / guest

do a bitwise or of the file open mode with ios::binary, as in:

ifstream mystream( "filename.ext", ios::in | ios::binary );

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is abstract keyword in c++?

0 Answers  


What is name mangling?

3 Answers  


What is the difference between "calloc" and "malloc"?

9 Answers   ADP,


What is algorithm in c++ programming?

0 Answers  


What is a multimap c++?

0 Answers  


What can I safely assume about the initial values of variables which are not explicitly initialized?

0 Answers  


What is function prototyping? What are its advantages?

0 Answers  


How does throwing and catching exceptions differ from using setjmp and longjmp?

1 Answers  


What is c++ mutable?

0 Answers  


Differentiate between structure and class in c++.

0 Answers  


Difference between strdup and strcpy?

0 Answers  


Difference between delete and delete[]?

5 Answers   Infosys, TCS, Virtusa,


Categories