Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试运行一个简单的Hello World!通过using在Fedora Linux系统上编程,得到以下信息:terminalgcc
Fedora Linux
terminal
gcc
[abder-rahman@Abder Desktop]$ gcc hello.cpp hello.cpp:1:22: fatal error: iostream.h: No such file or directory compilation terminated.
这是为什么?出了什么问题?
谢谢。
g++
iostream.h
iostream
使用 g++ 代替 gcc
g++ hello.cpp