Advertisement
andruhovski

prog0101-demo

Sep 1st, 2014
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <stdio.h>
  3. #include <locale.h>
  4.  
  5. void print_hello();
  6.  
  7. int _tmain(int argc, _TCHAR* argv[])
  8. {
  9.     setlocale(LC_ALL, "Ukrainian");
  10.     print_hello();
  11.     return 0;
  12. }
  13.  
  14. void print_hello()
  15. {
  16.     int iYear = 2014;
  17.     _tprintf(_T("Мові Сі вже %d р."), iYear - 1972);
  18.     return;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement