i have two questions

1st is can any one please tell me what is the role of setprecision in C++, why it is used?

2nd is : this statement


is equivalent to what, i.e what is the role of this +=

thanks alot

ok thanks.. please answer my 2nd question as well..


is equivalent to


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.