19 lines
448 B
Plaintext
19 lines
448 B
Plaintext
import w32.win32console as w32cmd
|
|
import stdio
|
|
import t, c
|
|
|
|
|
|
pagecode: t.CDefine = 65001
|
|
|
|
@t.CExport
|
|
def main() -> int:
|
|
w32cmd.SetConsoleOutputCP(pagecode)
|
|
w32cmd.SetConsoleCP(pagecode)
|
|
print("你好,世界")
|
|
a: str = "测试"
|
|
b: int = 1234567
|
|
c: float = 1.234566
|
|
print(f"文本:{a},数字:{b},浮点数:{c}")
|
|
stdio.printf(f"文本:{a},数字:{b},浮点数:{c}")
|
|
return 0
|