繁体   English   中英

我刚刚开始使用 c++,但我在hackerRank 中遇到此代码错误

[英]I have just started c++ but I'm getting error in hackerRank for this code

这是程序

#include <iostream>
#include <cstdio>
#include <conio.h> 
using namespace std;  

int main() {
    clrscr(); 
    cout<<"Hello, World!";
    getch();
}

致命错误:conio.h:没有这样的文件或目录#include <conio.h>sdfs

getch 返回值如下

   #include <iostream>
#include <cstdio>
#include <conio.h> 
using namespace std;  

int main() {
    clrscr(); 
    cout<<"Hello, World!";
    char a = getch();
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM