Name: Anonymous 2011-03-26 16:05
Just a quick question. In C++ does formatting with iomanip stay consistent between classes?
For instance, if, in main, I set precision to 3 and then call a method to print a linked list from another class would the precision stay at 3 or would I need to setup iomanip in the linked list class?
For instance, if, in main, I set precision to 3 and then call a method to print a linked list from another class would the precision stay at 3 or would I need to setup iomanip in the linked list class?