> 知识 >

问一个程序改错题,
指出下面程序中的错误
//
#include
void main( )
{
cout

人气:408 ℃ 时间:2025-07-11 01:13:01
解答

stdio.h是C语言的输入输出流库函数 而你用C++的输入输出流cout当然报错了!吧stdio.h改为
#include
using namespace std;
int main()
{
cout

推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版