Thread: C++ Emacs
hey trying figure out how basic c++ programming. want use emacs. file saved hw10.cpp. when try compile get.
ah535@ah535-laptop:~$ g++ hw10.cpp
hw10.cpp:2:21: error: isostream: no such file or directory
hw10.cpp: in function ‘int main()’:
hw10.cpp:7: error: ‘cout’ not declared in scope
code in emacs window.
#include <isostream>
using namespace std;
int main()
{
cout << "hello world/n";
return 0;
}
emacs has nothing - it's "iostream", not "isostream".
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk C++ Emacs
Ubuntu
Comments
Post a Comment