Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 11 Nov 2006
Offline Last Active Mar 16 2014 01:05 AM

#4762809 Other programming languages worth learning

Posted by nfries88 on 21 January 2011 - 09:45 PM

How long have you been learning C and C++? If you've been learning under a year (especially if it's been under 10hr/day for any significant portion of that time), and can forsee yourself taking a job requiring you to know C and C++, then you haven't learned them nearly enough yet. Give it another few years.

If you want to continue learning C and C++ PLUS expand into web development, you can always learn how to program CGI applications. Plenty of CGI libraries exist that can help you with the painful part of actually implementing CGI; and all you do to output to the webpage is std::cout or printf()/puts(). I did this once and found it to be a very rewarding experience, but not nearly as productive as simply using PHP or another C-like programming language for the purposes. It's not the best way to do web development; but it'll familiarize you with the basic concepts while allowing you to continue learning the difficult and complex C and C++ languages.

If you seriously want to drop C and C++, let yourself rust even though you're probably not amazing yet anyway, then I seriously recommend that you "shop around" for a few months. I've never used Ruby on Rails personally; but I have only heard good things. PHP is very C++-like and might bring a level of comfort in use, and has many more pieces of already-available software and supplemental libraries than Ruby on Rails. I also recommend you learn a little ASP.NET and JSP as I know that some businesses do run their website on those as well.

SQL is a must know. In particularly, MySQL and PostgreSQL are very common in the industry, open source, and available on numerable platforms; I recommend you familiarize yourself with the similarities and peculiarities of those two. I've never worked for a big company in this field, and it is possible they commonly use some other DBMS; but at least the basic principles will still apply.

I've spent about 3 years on C but no full time study (no more ten hour sleeps!). C++ I just started late last year and i will still keep learning it. I'm not looking to move from C/C++, I'm just trying to learn more as it will most likely help me get somewhere. I will learn SQL with php as suggested.

I'd still like to hear from people that have used GLES and WebGL. I'v read WebGL works with html 5, but does GLES work with C/C++ or just Objective-C?

3 years of C with a couple of hours each day is probably about the equivalent of C++ for a year straight at 10 hours each day. You should be "okay". Glad to hear you don't intend to drop it completely.

As for GLES, it is a C API; so naturally it can be used with C. For iPhone development, you absolutely need to use Objective-C unless you want to drop money on an SDL commercial license.
On Android you can use it in C/C++ using the NDK or Java using the Android SDK.

#4761646 C++ general questions

Posted by nfries88 on 19 January 2011 - 09:21 PM

...ignoring all but OP...

-What is a game engine? I know people say "game engine" and use the word all the time, but what IS it? Is it the entire game itself? or is it a "logic" applicator? or... can somebody clarify that for me? (no links please :/)

-In your opinions, Visual Studio 2010 or Dev-c++? I heard the latter is in bad shape anymore, but i also hear people still recommending it

-What is the difference in the 'includer's in C++? You know, the '#include"'s at the top of the screen. For instance, i've seen people use all of #include <iostream>, #include <iostream.h>, and even #include "iostream". Whats the difference in those three, besides the obvious formatting of text in front of us?

1) A game engine is a pretty general term that has slightly different meanings depending on the person. Some might think that the 3D graphics engine is not a part of the game engine; but others might think that it is. Speaking as specifically as possible, it is simply the collective code that takes input from your mouse and keyboard or game controller and throws something on the screen and out the speakers as a result.

2) Out of the two, I'd definitely go with Visual Studio 2010. Dev-C++ hasn't seen any major updates in a couple of years now and was never that good to begin with. My personal favorite is Code::Blocks, which is much more flexible and results in much fewer issues.

3) The difference between #include <file> and #include "file" is effectively none. Most people use the difference to differentiate between a local header (meaning, a header that is part of your project) and a standard/library header. The difference between #include <file> and #include <file.h> is that it actually includes a different file. Don't #include <file.h> for C++ standard library files (string, iostream, fstream, sstream, etc) because that's a deprecated header that only exists for backwards compatibility reasons (back when, C++ standard library headers were slightly different).