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 are the different types of polymorphism in c++?

0 Answers  


What can I use instead of namespace std?

0 Answers  


What is the difference between Class and Structure?

40 Answers   HP, IBM, Samsung, TCS,


What's the "software peter principle”?

0 Answers  


What is object slicing and how can we prevent it?

2 Answers   Tech Mahindra,


Friend functions can access private and protected members of a class.

1 Answers  


Carry out conversion of one object of user-defined type to another?

0 Answers  


Explain terminate() and unexpected() function?

0 Answers  


What is atoi?

0 Answers  


How to access a variable of the structure?

0 Answers  


What is a driver program?

0 Answers  


What is buffering in c++?

0 Answers  


Categories