Miscellaneous > Programming & Networking
Kdevelop
jtpenrod:
quote:heh, is there any way i can force Kdevelop to use iostream.h?
--- End quote ---
If KDevelop is anything like Glade, which I have used, then you can simply hand-hack the files KDevelop generates to add the iostream include where you want it, even if those files contain warnings that you shouldn't hand-hack them. After all, it's sometimes easier to modify Glade files that they claim you shouldn't modify if it makes programming the app easier.
_____________________________________
Live Free or Die: Linux
"There: now you'll never have to look at those dirty Windows anymore"
--Daffy Duck
Maniaman:
I'm not using KDevelop but I'm using g++ and I cant get the iostream file to work...
--- Code: ---
--- End code ---
--- Code: ---
--- End code ---
[ September 28, 2003: Message edited by: usr/bin/maniaman ]
Faust:
Works fine for me.
--- Code: ---
--- End code ---
May be a silly question, but whats your gcc version and do you have the libraries installed? Try it with a std:: in front of the cout. (so std::cout << "hello")
flap:
Just put
using namespace std;
after the #include.
Maniaman:
The using namespace std; fixed it. Thanks.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version