The function's type is
void and you are trying to display it :p
Call the function and then send the variable to cout.
fahren(centi);
cout << setw(6) << setprecision(0) << i + j << setw(18)
<< setprecision(2) << fixed << centi<< ' ' << setw(15)
<< setprecision(2) << i + j << setw(18) << setprecision(2) << fixed << cent(i + j) << ' ' << endl;
}
Last edited by minas1; Nov 8th, 2008 at 5:54 pm.
Reputation Points: 13
Solved Threads: 8
Junior Poster in Training
Offline 81 posts
since Nov 2008