Floating point representation and output seems to be compiler dependent?

Answer Posted / rohit sah

Regrettably, yes. The action of ios::setprecision() varies among compilers.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you tell what shell you are running on unix system?

641


When is the copy constructor called?

634


What is std :: flush?

576


How are Structure passing and returning implemented by the compiler?

600


What is the difference between object-oriented programming and procedural programming?

696






What are literals in C++?

599


What are the advantages of c++ over c?

585


How do you compile the source code with your compiler?

618


Define the process of error-handling in case of constructor failure?

572


What are the benefits of c++?

569


What is name hiding in c++?

616


Out of fgets() and gets() which function is safe to use?

643


What is a catch statement?

587


Is java the same as c++?

547


Describe new operator?

622