cygwin底下編譯出來的程式,無法正常顯示全型字元 - Linux
By Oscar
at 2011-05-01T14:31
at 2011-05-01T14:31
Table of Contents
在cygwin下面直接用vim開一個test.cpp
#include <iostream>
using namespace std;
int main(void)
{
cout << " " << endl; //那個空白是全型空白
return 0;
}
然後用g++ test.cpp編譯後
無法正常顯示那個空白,會產生亂碼
請問要如何解決這個問題
--
#include <iostream>
using namespace std;
int main(void)
{
cout << " " << endl; //那個空白是全型空白
return 0;
}
然後用g++ test.cpp編譯後
無法正常顯示那個空白,會產生亂碼
請問要如何解決這個問題
--
Tags:
Linux
All Comments
By Mason
at 2011-05-04T15:21
at 2011-05-04T15:21
By Edith
at 2011-05-05T01:20
at 2011-05-05T01:20
By Brianna
at 2011-05-07T20:42
at 2011-05-07T20:42
Related Posts
Debian 更新grub的問題
By Doris
at 2011-04-30T23:43
at 2011-04-30T23:43
ubuntu 10.04 move mount
By Susan
at 2011-04-30T23:13
at 2011-04-30T23:13
Debian 更新grub的問題
By Yuri
at 2011-04-30T20:14
at 2011-04-30T20:14
讀取 exfat 格式
By Wallis
at 2011-04-30T19:43
at 2011-04-30T19:43
讀取 exfat 格式
By Audriana
at 2011-04-30T15:49
at 2011-04-30T15:49