linux下出现:
sh: 1: pause: not found
在这里插入图片描述源代码是在vs上写的,加载入linux下就出现这个问题。
因为linux并不认识这 system(“pause”); 这个代码。我们可以删掉这个端代码。也可以修改为 pause();

Logo

更多推荐