Sign in to follow this  
EsteemDE

I need to be shown the right direction.

Recommended Posts

I use to use DarkBASIC Professional but I found the community to not be helpfull and quite rude. I dont know if I should learn C# or C++. My dad is a hardware specialist and got visual Studio .Net Pro(i think pro, the level above standard) 2005 for me from his work. I want to use C# or C++ but had concerns about people having to have .Net 2.0 (for C#) to use my games and programs. Is there a way to build native code from C# .Net? Also, I am 18 and have never programmed before, I had little experiance in DarkBASIC Professional. I chose to learn C# or C++ because it is a lot better for career purposes. Could you guys please suggest some good free online tutorials to get started using C# or C++ (suggest which one is better), DirectX/OpenGL, networking and the Windows forms API (and whatever else is needed or good to learn)? And if there are any really good books for beginners I would also like to know those. I also want to state I plan on writing my own Blitz/DarkBASIC type program later on as I learn (not any time soon). So if there are any tutorials to write compilers or interpreters for C#/C++ I would also appreciate those. Thanks, Esteem. [Edited by - EsteemDE on May 18, 2006 8:32:42 AM]

Share this post


Link to post
Share on other sites
I can't really recommend any good tutorials because it's been awhile since I've started out. I do recommend you try and buy a book though, as they are usually far better written and are better at introducing topics. One book I've heard people say is good is 'Beginning C++ Game Programming'. If you can't afford that I'm sure you can look around this website for some tutorials. Maybe www.cplusplus.com/doc/tutorial/

As for being able to have c# code that can run without .NET... I don't think that's possible. However, it will be some time before you really need to care about catering to a large audience and I hear c# is a great source to learn how to program. Once you learn c# you can go back and learn c++, which will be much easier once you have a language under your belt.

When making your own compiler/interpreter, the two big tools that are used are Lex and Yacc or their derivitives Flex and Bison. There are books on how they are used. In addition to those, the definitive book on compiler design is 'Compilers: Principles, Techniques, and Tools'. Which covers both how to make all the tools and on how to use Lex and Yacc. Given after 20 years they are finally updating it you can probably find a relatively cheap copy on the internet. It is written primarily in C, but the algorithms are generic and can be written in just about anything.

Beginning C++ Game Programming
Compilers: Principles, Techniques, and Tools
Lex and Yacc handbook
Cover design of new edition of Compilers: Principles, Techniques, and Tools

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this