Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Program "Witaj"
- * Autor: ti222u12
- */
- #include <iostream>
- using namespace std;
- int main()
- {
- // Wysyła tekst na ekran
- cout << false << ' ' << true << endl
- << boolalpha << false << ' ' << true << endl
- << noboolalpha << false << ' ' << true << endl << endl
- << -1 << ' ' << -1U << ' ' << -1UL << endl
- << 10 << ' ' << 010 << ' ' << 0x10 << endl
- << oct << 10 << ' ' << 010 << ' ' << 0x10 << endl
- << hex << 10 << ' ' << 010 << ' ' << 0x10 << endl
- << dec << 10 << ' ' << 010 << ' ' << 0x10 << endl << endl
- << .5 << ' ' << 1e-4 << ' ' << 1e-5 << ' ' << 1e5<< ' ' << 1e6 << ' ' << 1000000. << endl << endl
- << "" << '\t' << "\"ABC\"" << ' ' << '\x21' << '\41' << endl
- << "ABCD\b\b1\r2" << '\n' << '\'' << "C:\\WINDOWS'" << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement