简体   繁体   中英

“No such file or directory” error during C++ compilation

fatal error: iostream.h: No such file or directory

Why code blocks returned this error after compile

I'm a beginner in C++

In C++, You need to Include iostream without the 'h'

See More Information here http://www.cplusplus.com/reference/iostream/

use only #include<iostream> as #include<iostream.h> works in old compiler like turbo c++.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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