Miscellaneous > Programming & Networking
Kdevelop
Siplus:
i finally got Kdevelop downloaded and installed, but it doesn't recognise C++ headerfiles like iostream
is iostream just a windows header file, or if it is a universal c++ header, how do i get it and install it so Kdevelop recognises it?
right now i'm stuck with stdlib.h, and the only thing i really know is printf() ....
shuiend:
I would nto recomend kdevolp. i wanted to use it when i first started c++ cause we use visual c++ crap at skool and i wanted it to look similar and such. I never figured out howto get it to work so i just said fuck it and started usin g++. g++ has worked like a charm for me.
Faust:
With the added advantage that using a plain vanilla text editor like emacs will *force* you to learn exactly what code does what.
Siplus:
hmm, well i did try programming w/ vi as a text editor first, but when i tried compiling, it still didn't recognise the iostream header file. (i also don't know how to run the program, i successfully compiled plain C programs (a basic printf("hi") ;)
Faust:
So gcc cli compile doesn't work?
So this isn't just a kdevelop problem?
Have you put the brackets around iostream:
include <iostream>
?
I'm not a fan of C++ as yet so I don't claim expert advice here, but I think the brackets are necessary (search standard locations kinda thing.) Only omit them if the file you require is in the current directory. But like I said, I'm not a C++ expert so don't quote me on this.
Navigation
[0] Message Index
[#] Next page
Go to full version