📜  cpp 中的用户输入 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:56.379000             🧑  作者: Mango

代码示例1
#include
int main(){
int input = 0; // you should aways store inptu in a variable or the inptu won't work
 std::cout << "put the input/n"
 std::cin >> input;
 std::cout << "input accepted it is" << input << "thankyou";
  
}