I’m trying to run a simple Hello World! program on a Fedora Linux system through the terminal using gcc, and get the following:
[abder-rahman@Abder Desktop]$ gcc hello.cpp
hello.cpp:1:22: fatal error: iostream.h: No such file or directory compilation terminated.
Why is that? What is going wrong?
Thanks.
g++, notgcc.iostream.hheader in standard C++. It’siostream(thoughiostream.hmay be offered for backwards compatibility with ancient C++ code).