Re: Is Chinese C++ SourceCode restricted to ASCII?
Francesco wrote:
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
/* ??????C + +?????????????????????????????????*/
int main() {
cout << " X |";
for (int ????????? = 1; ????????? <= 10; ++?????????) {
cout << setw(4) << ?????????;
}
cout << endl << "-----+" << string(40, '-') << endl;
for (int ?????? = 1; ?????? <= 10; ++??????) {
cout << setw(4) << ?????? << " |";
for (int ?????? = 1; ?????? <= 10; ++??????) {
cout << setw(4) << ?????? * ??????;
}
cout << endl;
}
return 0;
}
I CAN'T GET THIS PROGRAM COMPILED BY A GCC 4.4.1 COMPILER RUNNING ON AN
x86_64-unknown-linux-gnu !!!
test.cpp:10: error: stray ???\302??? in program
test.cpp:10: error: stray ???\240??? in program
test.cpp:10: error: stray ???\302??? in program
test.cpp:10: error: stray ???\240??? in program
test.cpp:11: error: stray ???\302??? in program
test.cpp:11: error: stray ???\240??? in program
test.cpp:11: error: stray ???\302??? in program
test.cpp:11: error: stray ???\240??? in program
test.cpp:11: error: stray ???\350??? in program
test.cpp:11: error: stray ???\256??? in program
test.cpp:11: error: stray ???\241??? in program
test.cpp:11: error: stray ???\346??? in program
test.cpp:11: error: stray ???\225??? in program
test.cpp:11: error: stray ???\260??? in program
test.cpp:11: error: stray ???\345??? in program
test.cpp:11: error: stray ???\231??? in program
test.cpp:11: error: stray ???\250??? in program
test.cpp:11: error: stray ???\350??? in program
test.cpp:11: error: stray ???\256??? in program
test.cpp:11: error: stray ???\241??? in program
test.cpp:11: error: stray ???\346??? in program
test.cpp:11: error: stray ???\225??? in program
test.cpp:11: error: stray ???\260??? in program
test.cpp:11: error: stray ???\345??? in program
test.cpp:11: error: stray ???\231??? in program
test.cpp:11: error: stray ???\250??? in program
test.cpp:11: error: stray ???\350??? in program
test.cpp:11: error: stray ???\256??? in program
test.cpp:11: error: stray ???\241??? in program
test.cpp:11: error: stray ???\346??? in program
test.cpp:11: error: stray ???\225??? in program
test.cpp:11: error: stray ???\260??? in program
test.cpp:11: error: stray ???\345??? in program
test.cpp:11: error: stray ???\231??? in program
test.cpp:11: error: stray ???\250??? in program
test.cpp:12: error: stray ???\302??? in program
test.cpp:12: error: stray ???\240??? in program
test.cpp:12: error: stray ???\302??? in program
test.cpp:12: error: stray ???\240??? in program
test.cpp:12: error: stray ???\302??? in program
test.cpp:12: error: stray ???\240??? in program
test.cpp:12: error: stray ???\302??? in program
test.cpp:12: error: stray ???\240??? in program
test.cpp:12: error: stray ???\350??? in program
test.cpp:12: error: stray ???\256??? in program
test.cpp:12: error: stray ???\241??? in program
test.cpp:12: error: stray ???\346??? in program
test.cpp:12: error: stray ???\225??? in program
test.cpp:12: error: stray ???\260??? in program
test.cpp:12: error: stray ???\345??? in program
test.cpp:12: error: stray ???\231??? in program
test.cpp:12: error: stray ???\250??? in program
test.cpp:13: error: stray ???\302??? in program
test.cpp:13: error: stray ???\240??? in program
test.cpp:13: error: stray ???\302??? in program
test.cpp:13: error: stray ???\240??? in program
test.cpp:14: error: stray ???\302??? in program
test.cpp:14: error: stray ???\240??? in program
test.cpp:14: error: stray ???\302??? in program
test.cpp:14: error: stray ???\240??? in program
test.cpp:15: error: stray ???\302??? in program
test.cpp:15: error: stray ???\240??? in program
test.cpp:15: error: stray ???\302??? in program
test.cpp:15: error: stray ???\240??? in program
test.cpp:15: error: stray ???\351??? in program
test.cpp:15: error: stray ???\246??? in program
test.cpp:15: error: stray ???\226??? in program
test.cpp:15: error: stray ???\345??? in program
test.cpp:15: error: stray ???\205??? in program
test.cpp:15: error: stray ???\210??? in program
test.cpp:15: error: stray ???\351??? in program
test.cpp:15: error: stray ???\246??? in program
test.cpp:15: error: stray ???\226??? in program
test.cpp:15: error: stray ???\345??? in program
test.cpp:15: error: stray ???\205??? in program
test.cpp:15: error: stray ???\210??? in program
test.cpp:15: error: stray ???\351??? in program
test.cpp:15: error: stray ???\246??? in program
test.cpp:15: error: stray ???\226??? in program
test.cpp:15: error: stray ???\345??? in program
test.cpp:15: error: stray ???\205??? in program
test.cpp:15: error: stray ???\210??? in program
test.cpp:16: error: stray ???\302??? in program
test.cpp:16: error: stray ???\240??? in program
test.cpp:16: error: stray ???\302??? in program
test.cpp:16: error: stray ???\240??? in program
test.cpp:16: error: stray ???\302??? in program
test.cpp:16: error: stray ???\240??? in program
test.cpp:16: error: stray ???\302??? in program
test.cpp:16: error: stray ???\240??? in program
test.cpp:16: error: stray ???\351??? in program
test.cpp:16: error: stray ???\246??? in program
test.cpp:16: error: stray ???\226??? in program
test.cpp:16: error: stray ???\345??? in program
test.cpp:16: error: stray ???\205??? in program
test.cpp:16: error: stray ???\210??? in program
test.cpp:17: error: stray ???\302??? in program
test.cpp:17: error: stray ???\240??? in program
test.cpp:17: error: stray ???\302??? in program
test.cpp:17: error: stray ???\240??? in program
test.cpp:17: error: stray ???\302??? in program
test.cpp:17: error: stray ???\240??? in program
test.cpp:17: error: stray ???\302??? in program
test.cpp:17: error: stray ???\240??? in program
test.cpp:17: error: stray ???\347??? in program
test.cpp:17: error: stray ???\254??? in program
test.cpp:17: error: stray ???\254??? in program
test.cpp:17: error: stray ???\344??? in program
test.cpp:17: error: stray ???\272??? in program
test.cpp:17: error: stray ???\214??? in program
test.cpp:17: error: stray ???\347??? in program
test.cpp:17: error: stray ???\254??? in program
test.cpp:17: error: stray ???\254??? in program
test.cpp:17: error: stray ???\344??? in program
test.cpp:17: error: stray ???\272??? in program
test.cpp:17: error: stray ???\214??? in program
test.cpp:17: error: stray ???\347??? in program
test.cpp:17: error: stray ???\254??? in program
test.cpp:17: error: stray ???\254??? in program
test.cpp:17: error: stray ???\344??? in program
test.cpp:17: error: stray ???\272??? in program
test.cpp:17: error: stray ???\214??? in program
test.cpp:18: error: stray ???\302??? in program
test.cpp:18: error: stray ???\240??? in program
test.cpp:18: error: stray ???\302??? in program
test.cpp:18: error: stray ???\240??? in program
test.cpp:18: error: stray ???\302??? in program
test.cpp:18: error: stray ???\240??? in program
test.cpp:18: error: stray ???\302??? in program
test.cpp:18: error: stray ???\240??? in program
test.cpp:18: error: stray ???\302??? in program
test.cpp:18: error: stray ???\240??? in program
test.cpp:18: error: stray ???\302??? in program
test.cpp:18: error: stray ???\240??? in program
test.cpp:18: error: stray ???\351??? in program
test.cpp:18: error: stray ???\246??? in program
test.cpp:18: error: stray ???\226??? in program
test.cpp:18: error: stray ???\345??? in program
test.cpp:18: error: stray ???\205??? in program
test.cpp:18: error: stray ???\210??? in program
test.cpp:18: error: stray ???\347??? in program
test.cpp:18: error: stray ???\254??? in program
test.cpp:18: error: stray ???\254??? in program
test.cpp:18: error: stray ???\344??? in program
test.cpp:18: error: stray ???\272??? in program
test.cpp:18: error: stray ???\214??? in program
test.cpp:19: error: stray ???\302??? in program
test.cpp:19: error: stray ???\240??? in program
test.cpp:19: error: stray ???\302??? in program
test.cpp:19: error: stray ???\240??? in program
test.cpp:19: error: stray ???\302??? in program
test.cpp:19: error: stray ???\240??? in program
test.cpp:19: error: stray ???\302??? in program
test.cpp:19: error: stray ???\240??? in program
test.cpp:20: error: stray ???\302??? in program
test.cpp:20: error: stray ???\240??? in program
test.cpp:20: error: stray ???\302??? in program
test.cpp:20: error: stray ???\240??? in program
test.cpp:20: error: stray ???\302??? in program
test.cpp:20: error: stray ???\240??? in program
test.cpp:20: error: stray ???\302??? in program
test.cpp:20: error: stray ???\240??? in program
test.cpp:21: error: stray ???\302??? in program
test.cpp:21: error: stray ???\240??? in program
test.cpp:21: error: stray ???\302??? in program
test.cpp:21: error: stray ???\240??? in program
test.cpp:22: error: stray ???\302??? in program
test.cpp:22: error: stray ???\240??? in program
test.cpp:22: error: stray ???\302??? in program
test.cpp:22: error: stray ???\240??? in program
test.cpp: In function ???int main()???:
test.cpp:11: error: expected unqualified-id before ???=??? token
test.cpp:11: error: expected primary-expression before ???<=??? token
test.cpp:11: error: expected primary-expression before ???)??? token
test.cpp:12: error: expected primary-expression before ???;??? token
test.cpp:15: error: expected unqualified-id before ???=??? token
test.cpp:15: error: expected primary-expression before ???<=??? token
test.cpp:15: error: expected primary-expression before ???)??? token
test.cpp:16: error: expected primary-expression before ???<<??? token
test.cpp:17: error: expected unqualified-id before ???=??? token
test.cpp:17: error: expected primary-expression before ???<=??? token
test.cpp:17: error: expected primary-expression before ???)??? token
test.cpp:18: error: expected primary-expression before ???;??? token