C++
cin>>"nihao";
cout<<"nihao"<<endl;
C#
System.Console.ReadLine()
System.Console.WriteLine("nihao")
python
input("nihao")
print("nihao")
本文提供了使用C++、C# 和 Python实现简单的输入输出操作的示例代码,包括读取用户输入并输出到屏幕的基本过程。
C++
cin>>"nihao";
cout<<"nihao"<<endl;
C#
System.Console.ReadLine()
System.Console.WriteLine("nihao")
python
input("nihao")
print("nihao")
转载于:https://www.cnblogs.com/fuhang/p/8781845.html

被折叠的 条评论
为什么被折叠?