Hi, I'm printing some values in a loop with this code:
cout << "\tOut" << y << "= " <<output<< " " ;
cout << "\terr = " << error << "\t" << " sq_err = " << _serrv<< " ";
cout << "OK";
cout << "\n";
// I know this can be done in a line...
cout << "\tOut" << y << "= " <<output<< " " ;
cout << "\terr = " << error << "\t" << " sq_err = " << _serrv<< " ";
cout << "OK";
cout << "\n";
// I know this can be done in a line...
To copy to clipboard, switch view to plain text mode
//output
Out0= 0.9474925 err = 0.05250749 sq_err = 0.001378518 OK
Out0= 0.6843882 err = 0.3156118 sq_err = 0.04980541
Out0= 0.8848782 err = 0.1151218 sq_err = 0.006626516 OK
Out0= 0.7979639 err = 0.2020361 sq_err = 0.0204093 OK
Out0= 0.9102138 err = 0.08978618 sq_err = 0.004030779 OK
//output
Out0= 0.9474925 err = 0.05250749 sq_err = 0.001378518 OK
Out0= 0.6843882 err = 0.3156118 sq_err = 0.04980541
Out0= 0.8848782 err = 0.1151218 sq_err = 0.006626516 OK
Out0= 0.7979639 err = 0.2020361 sq_err = 0.0204093 OK
Out0= 0.9102138 err = 0.08978618 sq_err = 0.004030779 OK
To copy to clipboard, switch view to plain text mode
Why does any sq_err appear not tabulated (\t seems hans't effect)
Bookmarks