Sports Text Sim VB or C++
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...
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/
http://www.gdarchive.net/druidgames/
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.
BetaShare - Run Your Beta Right!
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.
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.
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
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
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
Epolevne
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement