Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <locale.h>
- #include <wchar.h>
- int main()
- {
- setlocale(LC_ALL, ".852");
- wchar_t * test = L"ąźć";
- if (test[3] == L'\0')
- printf("Tak!\n");
- printf("%ls", L"Język polski jest pięknym \njęzykiem!");
- wchar_t str[100];
- str[0] = L'ó';
- printf("Podaj imie z polskimi znakami: ");
- scanf("%ls", str);
- printf("Twoje imie: %ls", str);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement