- Joined
- 11/28/06
- Messages
- 31
- Points
- 18
Hi,
I am facing a problem in C++. I am trying to set the precision (for the results-matrix elements) in the output text file, which doesn't seem to be working. The command which I am using is follows:
ofstream myfile("output.txt");
myfile.precision(14);
Could anybody suggest where am I going wrong?
thanks
Sandeep
I am facing a problem in C++. I am trying to set the precision (for the results-matrix elements) in the output text file, which doesn't seem to be working. The command which I am using is follows:
ofstream myfile("output.txt");
myfile.precision(14);
Could anybody suggest where am I going wrong?
thanks
Sandeep