[EMAIL PROTECTED]:~$ apt-cache policy g++ g++: Installed: 4:4.2.3-1ubuntu6 Candidate: 4:4.2.3-1ubuntu6 Version table: *** 4:4.2.3-1ubuntu6 0 500 http://us.archive.ubuntu.com hardy-updates/main Packages 100 /var/lib/dpkg/status 4:4.2.3-1ubuntu3 0 500 http://us.archive.ubuntu.com hardy/main Packages [EMAIL PROTECTED]:~$ uname -a Linux ubuntu-laptop 2.6.24-20-generic #1 SMP Mon Jul 28 13:49:52 UTC 2008 i686 GNU/Linux [EMAIL PROTECTED]:~$ lsb-release -a bash: lsb-release: command not found [EMAIL PROTECTED]:~$ g++ ~/c++/1.c /home/user/c++/1.c: In function ‘int main()’: /home/user/c++/1.c:7: error: ‘cout’ was not declared in this scope /home/user/c++/1.c:7: error: ‘endl’ was not declared in this scope
-- when including the iostream library in a c++ file, upon compilation g++ does not find the iostream library. instead a deprecated version (iostream.h) must be used. this results in having to flag g++ in order to bypass the deprecation warning. https://bugs.launchpad.net/bugs/256250 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs