Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ConsoleApplication23.cpp : Defines the entry point for the console application.
- //
- #include "stdafx.h"
- #include <iostream>
- #include <conio.h>
- using namespace std;
- int main()
- {
- unsigned char znak1, znak2;
- cout << "size_znak1: " << sizeof(znak1) << endl;
- znak1 = 0;
- znak2 = 128;
- for (int i = 1; i <= 128; i++)
- {
- cout << "znak1:" << znak1 << " kod: " << int(znak1) << " ";
- cout << "znak2:" << znak2 << " kod: " << int(znak2) << endl;
- ++znak1;
- znak2 + 1;
- }
- getchar();
- getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement