setting precision with C++

Joined
Sep 28, 2006
Messages
2
Reaction score
0
This is my first post but I read alot of the threads on the site and hope that some one can help me. When I use a string maniupilater, setprecision (), to be specific and I want to return to the default setting how do I do this ? I can set it to any value but I would like to know not only for this command but any string manipulator how to return to the default.

thankx, big-red
 
Joined
Sep 28, 2006
Messages
2
Reaction score
0
Thankx
But what I want to do is set the precision to 4 for example then later on I want to return to the infinite or default value. So if I understand what you are saying it would be just dont use setprecision() ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top