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
Explain about Garbage Collector?
What is endl c++?
What is the use of namespace std in C++?
Can member data be public?
What is the use of bit fields in structure declaration?
Does c++ vector allocate memory?
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
What is a list c++?
What is setbase c++?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
what kind of projects are suitable for c and c++
Can we overload operator in c++?
What are the advantages of pointers?
What is a dll entry point?