Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

OU2000

Sports Text Sim VB or C++

This topic is 6458 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am planning a text sports sim and was wondering what language I should use, VB or VC++ I know both, good. And I am really interested on getting things done fast and efficient. I need something that can simulate 114 games and generate realistic stats for these games in about 1/2 to 1 second. I also need to programm very good AI. I think I am leaning towards C++ but if VB could do these things just as fast I would gladly switch over due to faster development time. I need an answer real soon so I can know which to upgrade, I have very old versions of both. Thanks in advance...

Share this post


Link to post
Share on other sites
Advertisement
Well, if you''re going for speed, then C/C++ (plus some ASM for MMX/3DNow!/SSE) is the best choice. I think C/C++ is actually easier to program in for complex operations (try using pointers in VB =P), and for text only it would be much easier to just use DOS or Console mode than to worry about Windows GUI stuff.



http://www.gdarchive.net/druidgames/

Share this post


Link to post
Share on other sites
Definitely C++. Only thing VB is good for is rapidly developing Windows user interfaces, and even then Delphi really kicks VB''s butt (except that the Delphi IDE is rather awkward, but it''s damn powerful). But lets not turn this into another language war. C++ has proper OOP, which would really help you in a situation like this. C++ string manipulation in the long run is more convienent than VB''s, and the whole thing about pointers and speed like Null and Void mentioned is also key. Making applications that have lots of Windows interface stuff is hell in C++, but since your doing it text-based, that point is irrelevent.

Share this post


Link to post
Share on other sites
Um, anyone who knows VB and C++ "good" would obviously know
which language would be better for them to make a game in..

If you know a language, then you know its strengths and weaknesses... I have a feeling you don''t really know either.

Share this post


Link to post
Share on other sites
Multitap,

I have very old versions of both, like I said in my origional post and I didn''t really know if VB 6.0 is as good as the later versions of VC++. If you get where I was going there could''ve been something there that was better than version 3

Share this post


Link to post
Share on other sites
I''d say it really depends on what type of development time you''re wanting. In more recent versions of VB and VC running speed has become less of an issue. At the end of the day VC is faster...but you can develope your app in a fraction on the time in VB. In the next version of Visual Studio it''ll pretty much be a moot point, since you''ll be able to integrate projects across different languages. You can write your calculation intensive functions in C++/ASM and hammer out any interfaces in VB. But that isn''t until VS.Net''s released at the end of the year.

Epolevne

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!