Quote:
Originally Posted by sYs73m
I keep seeing the following;
C
C++
C#
I wanted to know the difference between the three and which is best to
start and which is best to relate to web-based things and then which is
best to relate to CS:S/HL2/SourceMod.
|
C - Released in the 1980s, it is a very nice programming language but
unless you are writing an operating system or other low level apps it is
not something worth while playing with. I would say don't learn C at start
with.
C++ - Is C plus more. Released in 1998 it is just a super-charged C. Look
at it this way, C - Windows 95, C++ - Windows XP. If you really want to
get into half life development you will need to learn this but even if easier
than C it is not easy to learn and I would suggest learning - C#, VB,
VB.net, PHP or Java (one of, not all of) before you learn C++. You need
to get the basics down before you can move on to something more
difficult.
C# - Is a different kettle of fish... Released in 2000 by Microsoft, it is the
easiest one of the three to learn and the only one that can be used to
develop web-sites. It is also the easiest to use because of its modern
design and very powerful library (called the .Net framework).
The drawback with C# is that it
can't be used for Half Life
development at all. However you can't go from knowing nothing to doing
half life development in one jump, you have to build on what you know
and in my opinion C# is a great place to start.
Quote:
Originally Posted by sYs73m
I am having a hard time picking which book would best suit me.
|
C# for dummies is good. Anything with C# that sounds like a beginners
book should work.
Quote:
Originally Posted by sYs73m
then which is best to relate to CS:S/HL2/SourceMod.
|
C++ relates to HL2 and CSS. SourceMod uses its own languages -
JavaScript and Small C (not to be confused with 'C' or 'C++' or 'C#').
When SM comes out it will have some nice, getting started guides...
I suggest you try both / all of the scripting languages supported until
you find one you like.