Error iostream: No such file or directory

Error iostream: No such file or directory

In this tutorial, we will learn what is the “IOStream: No such file or directory”.

The iostream is the standard header file behaving like a library. In this header file, there is important information stored, just like how to get input and how to show the output?

If we forget to add this library or misspell the name of the header file, then this kind of error can occur. The error is “[error]: iostream, no such file or directory” is found.

Error IOstream No such file or directory
Figure: [Error] IOstream No such file or directory

How to solve [Error] iostream: No such file or directory found?

Solution: Just put the header file carefully. You can add the header file, by writing this line at the start of the program.

#include<iostream>

By:Prof. Fazal Rehman Shamil
CEO @ T4Tutorials
Last Modified: May 27, 2019

Leave a Reply

Your email address will not be published. Required fields are marked *