how come we can't use the fixed manipulator from the iomanip library, to avoid getting the output in scientific notation??
any clue about solving this problem?
Search found 2 matches
- Sun Jan 21, 2007 6:09 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10055 - Hashmat the Brave Warrior
- Replies: 166
- Views: 72190
- Sun Jan 21, 2007 3:19 pm
- Forum: Volume 4 (400-499)
- Topic: 458 - The Decoder
- Replies: 71
- Views: 25298
458..output limit exceeded???
#include <iostream> using namespace std; int main() { char ch; cin.get(ch); while (ch != '\0') { if (ch == 10) cout << ch; else cout << (static_cast<char>(ch-7)); cin.get(ch); } cout << '\n'; return 0; } my code works fine and im getting the correct output, except when i submit the code, im getting ...