I tried to install the boost library, but I copied the files in wrong to my include directory. I decided to delete the include folder and reinstall gcc and g++. It did not work. Now, it says that the iostream header is missing. How do I get them back?
If you use debian or ubuntu, enter "dpkg-query -S iostream" and then install required package with "apt-get install libstc++-5-dev". Other package systems have similar commands.
0:root@beauhefley-server:[~]# apt-get install libstdc++-4.9-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++-4.9-dev is already the newest version.
libstdc++-4.9-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
It says that libstdc++ is already installed
I removed it, and reinstalled it (and g++)
It now says that it is missing features.h, so at least I got the iostream header back