iostream.h: No such file or directory compiling cpp source
When using c++ in terminal I get this message: g++ hello.cpp hello.cpp:1: fatal error: iostream.h: No such file or directory compilation terminated. However using g++ or gcc on c files the command works
Binary package hint: gnome-terminal
The terminal remains open but the code is not compiled and therefore I cannot use ./a.out. I have updated all files and uploaded.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnome-terminal 2.32.0-0ubuntu1.1
ProcVersionSign
Uname: Linux 2.6.35-28-generic i686
Architecture: i386
Date: Sat Apr 16 10:56:57 2011
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: gnome-terminal
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #762835.
Can you help with this problem?
Provide an answer of your own, or ask StephenB for more information if necessary.