Created
April 1, 2018 14:55
-
-
Save bossxomlut/8f96e9e511a7eab08826d3f773644626 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<conio.h> | |
| #include <fcntl.h> //_O_U16TEXT | |
| #include <io.h> //_setmode() | |
| #include <string.h> | |
| #include "khaibao.h" | |
| void main() | |
| { | |
| SV sv1; | |
| char str[10]; | |
| _setmode(_fileno(stdout), _O_U16TEXT); //needed for output | |
| _setmode(_fileno(stdin), _O_U16TEXT); //needed for input | |
| wprintf(L"Xin chào!"); | |
| //FILE* fp=_wfopen(L"tep.csv",L"r,ccs=UTF-8"); | |
| wchar_t a[]=L"Ngô Tấn Vịnh"; | |
| wprintf(L"%s\n", a); | |
| //fscanf(fp,"%s",&str); | |
| printf("%s",str); | |
| _getch(); | |
| //fclose(fp); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment