New, and completly lost. Basic C++ help needed.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
300happy

New, and completly lost. Basic C++ help needed.

Post by 300happy »

Hi everyone, it's me again.

I just finished looking through all my C++ programming programs(at least I think that is what they are for, blank things with too many windows and lots of buttons that do weird things, and anything I type it says it's wrong code :roll: ).

None of them seem to be working in XP, and all I got out if that was a hard drive full of programs that won't uninstall in XP. I had to manually delete them.

I need some serious help. A simple explination of how to get a C++ compiler and write a piece of code, as well as what the file names all are would be sufficiant, I hope. Basically, treat me like an idiot. Don't just say initilize math.h, explain what the math.h thing is, as well as why I can't say initilize printmeamillionbucks.h. I know NOTHING of config files and lib files, .h files, and in general anything to do with C++.

The only programs I have ever used, everything was built into it and I didn't have any files to include or all that. So in general, HELP!!!!!

I think I got my point across. I ran the demo for this engine, and really would like to see how to use it, but I don't even know what file to open to see the code for the example. Not to mention all my programs are for win 95. :(

The only thing I know right now are the techniques of basic programming, like if loops and counters, running the program based on the system clock, and so fourth. Please understand that this does not mean that I know the syntex for doing this in C++.

Yea. Total newbe, completly lost, need help with the stupid things all of you take for granted, like how to start the program. :P

Thanks in advance,

300happy.
Chev
Posts: 37
Joined: Wed Nov 19, 2003 6:15 am

Post by Chev »

The first thing you'll need to do is pick a compiler / IDE. I think most people that are on Windows machines are either using visual studio or dev-C++ (which is free).
disanti
Posts: 367
Joined: Sat Jan 17, 2004 1:36 am
Location: California, US
Contact:

Post by disanti »

Get DevC++ to start with. To see the source for any of the examples that come with Irrlicht, first, GET DevC++ and open the .dev files in the example folders. Then double-click the main.cpp in any one of the examples, examine for hours :P and try adding stuff. It is pretty basic. I suggest you go to http://www.cplusplus.com/doc/tutorial/ and read some of the C++ basics tutorials.
________
Medical Cannabis
Last edited by disanti on Tue Feb 22, 2011 8:01 am, edited 1 time in total.
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

I think I got my point across. I ran the demo for this engine, and really would like to see how to use it, but I don't even know what file to open to see the code for the example. Not to mention all my programs are for win 95.
Open up main.cpp in something like notepad. When you see an include line with quotes (""), open those files (called headers) along with their counterparts, the .cpp files.

Did you start reading that ebook yet?
Crud, how do I do this again?
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

And this site: http://codenewbie.com/

They even have a hello world.
Crud, how do I do this again?
Post Reply