Page 1 of 1

C++

Posted: 14 Aug 2006, 11:55
by DarkX
Hello everyone... I know this is going to sound very newbish, but I am trying to learn the game designing aspect of C++, but can't even figure out how to open up a project in VC++ could someone help a newb('''\(^_^)/''')
Thank you in advance
Korrey D.

Posted: 14 Aug 2006, 12:08
by Crush
Are you trying to open an existing project with visual c++? VC can only open projects that are made with VC. It has no import function for projects of other developer enviroments like DevC++ or Code::Blocks.

When the project you've downloaded hasn't got a vc++ project file (the filename extension is .dsp) you have to create a new project and add all the source- and header files yourself.

Posted: 14 Aug 2006, 12:11
by DarkX
I'm not really sure how to do that, I just got (VC++) about 2 days ago and am just looking for something to start looking at like I did VB. But I have no clue how to do what you just said.

Posted: 14 Aug 2006, 12:14
by Crush
maybe you should start with reading the manual or help file?

Posted: 14 Aug 2006, 12:18
by DarkX
I didn't think that this would be that much more complicated then VB but I guess I was wrong. Ohh where would I get DevC++ rather than VC++?

Posted: 14 Aug 2006, 12:28
by Crush
i would suggest you to try Code::Blocks instead. DevC++ is rather buggy and there haven't been any updates for about a year, so you shouldn't expect that the bugs will be fixed so soon.
http://www.codeblocks.org/

Posted: 14 Aug 2006, 13:12
by DarkX
Ok just so people don't think that I'm just stupid, I'm a begining VB6 designer, and have somewhat programmed a updated functioning version of MSE Here's a link if anyone wants to see(http://www.freewebs.com/darkkniteonline) I became interested in programming C++ about 2 years ago but finally got the cash to buy the VC++ and am looking for tuts and helpful info so that I may learn to program a 2d mmorpg engine.

And thanks for the link Crush

Posted: 14 Aug 2006, 23:20
by Bjørn
Hmm so in my opinion you should have installed Dev-C++ two years ago instead of saving up money for VC++. As of today, Code::Blocks seems indeed a very nice alternative to Dev-C++. Both can use MinGW as compiler (and do so by default I think), which is a Windows port of GCC. All of this is completely free.

For The Mana World, Dev-C++ and Code::Blocks are the two development environments supported on Windows.

Posted: 14 Aug 2006, 23:30
by DarkX
I can get codeblocks to upload the forms but I can't get it to compile, plus I have no clue where to start wether to upload all the files or what(I'm clueless...)

Posted: 15 Aug 2006, 00:19
by Crush
did you try to create a simple hello world executable?

Project->New Project->Console Application

this should create a project with one source file (main.cpp) that contains the standard hello world code. You can copile and run it with:

Build->Build&run

when this works you should start from there and work through a basic c++ tutorial.

Posted: 15 Aug 2006, 03:03
by DarkX
Ok thanks, but I was hoping you could tell me how to open this(it's the same way I learned VB. but thanks I'll try that. Forget the above(I'm to lazy to delete it) I went out and bought 2 C++ programming books, which teaches all the basics, then another one that I was interested in about a wekk ago call "Programming role playing games with directx 2nd edition" but it's pretty good and it has about 4 diffrent ways to load graphics files, (rather) aside from just having the 2d layer, it teaches how to do full 3d; pre-rendered; 3d chars/objects over 2d levels; and or 2d chars/objects over 3d levels. I'm back and fourth between using Code::Blocks and VC++. But I thank you for your assistance Crush.