C++

Talk about anything, including games and servers not affiliated with The Mana World.
Post Reply
DarkX
Peon
Peon
Posts: 6
Joined: 14 Aug 2006, 11:48
Contact:

C++

Post 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.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post 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.
Last edited by Crush on 14 Aug 2006, 12:11, edited 1 time in total.
DarkX
Peon
Peon
Posts: 6
Joined: 14 Aug 2006, 11:48
Contact:

Post 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.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post by Crush »

maybe you should start with reading the manual or help file?
DarkX
Peon
Peon
Posts: 6
Joined: 14 Aug 2006, 11:48
Contact:

Post 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++?
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post 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/
DarkX
Peon
Peon
Posts: 6
Joined: 14 Aug 2006, 11:48
Contact:

Post 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
User avatar
Bjørn
Manasource
Manasource
Posts: 1470
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Post 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.
DarkX
Peon
Peon
Posts: 6
Joined: 14 Aug 2006, 11:48
Contact:

Post 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...)
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post 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.
DarkX
Peon
Peon
Posts: 6
Joined: 14 Aug 2006, 11:48
Contact:

Post 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.
Post Reply