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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain static and dynamic memory allocation with an example each.

1114


What is the most useful programming language?

1051


Why c++ is created?

1008


Why is c++ still used?

1091


What is a singleton c++?

1009


Why we use #include iostream in c++?

1058


What is helper in c++?

1093


Explain the advantages of using friend classes.

1173


Declare a class vehicle and make it an abstract data type.

970


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

2198


What is conditions when using boolean operators?

1238


what is upcasting in C++?

1189


What is a storage class? Mention the storage classes in c++.

1026


what is c++

2391


What is difference between c++ and c ++ 14?

1058