Forum
Off Topic C++ TutorialBut I have a problem with inheritance
I get an error "in constructor fin::fin() int temp::x is private",but they are supposed to be friends.
Edit:
I am having trouble installing OGRE and Irrlicht and every other Game or Graphics Engine. I always get errors.
edited 1×, last 31.07.10 08:05:28 pm
Do you get errors such as "undefined reference to xyz"?
If so, you must link your project with the libraries (Alt+P->Parameters->Linker-> write -lirrlicht)
I think it was -lirrlicht, don't remember right now, but it should be called something like that
private members of a class are accessible only from within other members of the same class or from their friends.
protected members are accessible from members of their same class and from their friends, but also from members of their derived classes.
Finally, public members are accessible from anywhere where the object is visible.
Edit:
How to add Scintilla to C++ I cant find a header file for it.
edited 1×, last 01.08.10 07:41:33 am
www.Allegro.cc
There is also a pack avaiable for download for Dev-C++.
Tutorial: http://www.cppgameprogramming.com/
Dark Byte has written
Know any good IDEs (C++)?
IDE's are over rated, rather use something like Notepad++, it has support for many programming languages. I use it for all my coding, except when I'm coding in assembly, coz it doesn't have any syntax for that Pityy, pitty...
But other wise it's great, IDE's are HUGE cap wasters when you download them, and they also hog ur HDD. Rather go the text route, you'll wonder why you eer thought of IDE's.
They just consume all your RAM while coding.
A good IDE will make your life easier with coding.
You might double your programming speed. I'd "waste" a bit of RAM for that..
Dev-C++ has support for the dev packs so you won't have to be looking over the internet for a library that then you will have to compile and then you will have to manually put the files in the right folders.
Also, they are not so big to be a waste in your hard disk, my dev-c++ is less than 150MB counting a few libraries that I've downloaded and the compilers I've installed (MingW32 and Cygwin), and the setup of Code::Blocks with MingW included is 70mb
stealth has written
A real programmer does not use IDEs!
They just consume all your RAM while coding.
They just consume all your RAM while coding.
OMFG! People with shit computers don't use IDEs. A real programmer would use what ever is fastest and easiest for him.
Edit:
IDEs are irrelevant I am learning C++. I don't care of your opinion on IDEs.
Edit:
GAH!! WTF am I doing wrong? I downloaded wxDev-C++ with all packages libraries etc AND IT WONT FUCKING WORK! I am using examples so it is not just an error in syntax or something. Help me.
edited 2×, last 06.08.10 11:13:07 pm
Anyways, wxDev is still too buggy.