Hi, I'm printing some values in a loop with this code:
Qt Code:
  1. cout << "\tOut" << y << "= " <<output<< " " ;
  2. cout << "\terr = " << error << "\t" << " sq_err = " << _serrv<< " ";
  3. cout << "OK";
  4. cout << "\n";
  5. // I know this can be done in a line...
To copy to clipboard, switch view to plain text mode 
Qt Code:
  1. //output
  2. Out0= 0.9474925 err = 0.05250749 sq_err = 0.001378518 OK
  3. Out0= 0.6843882 err = 0.3156118 sq_err = 0.04980541
  4. Out0= 0.8848782 err = 0.1151218 sq_err = 0.006626516 OK
  5. Out0= 0.7979639 err = 0.2020361 sq_err = 0.0204093 OK
  6. 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)