CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: akidess
Forum: OpenFOAM Programming & Development September 22, 2011, 03:16
Replies: 5
Views: 1,783
Posted By akidess
printf is pure C, it's C++ descendant is cout....

printf is pure C, it's C++ descendant is cout. Assuming Info is built upon cout, you can do:


Info << setw(7);
Info.precision(3);
Info << fixed << a << '\t' << b << '\t' << c << endl;

...
Showing results 1 to 1 of 1

 
Forum Jump

All times are GMT -4. The time now is 13:48.