Re: [SMAUG] Learning C

Re: [SMAUG] Learning C



Well as Xerves said, most books cover a good portion of what you will be
doing with the Smaug codebase, or any mud codebase
in that matter, except for sockets (most of comm.c). And here are my
recomendations for both of these types of books:


Sam's Teach Yourself C in 21 Days
Sam's Teach Yourself C++ in 21 days
(http://www.amazon.com/exec/obidos/ASIN/0672315645/qid=1009421799/sr=1-2/ref
=sr_1_2_2/107-8056321-0441346)

 Probably the best books around when it comes to C/C++ learning, it covers
probably everything your going to need to code a mud,
 except for sockets.

The Pocket Socket Guide
(http://www.amazon.com/exec/obidos/ASIN/1558606866/107-8056321-0441346)

 This book is cheap, and very good... it explains sockets well. The book is
written around C, and the _book_ is for unix socket programming
 in both TCP/IP sockets and UDP sockets. But the website of the publisher of
the book includes every example in the book with a Windows
 Winsock version.

--Noplex
Implmentor of Crimson Blade
http://www.crimsonblade.org
telnet://crimsonblade.org:8888



----- Original Message -----
From: xerves
To: Derek Bowles
Cc: SML
Sent: Wednesday, December 26, 2001 2:59 PM
Subject: Re: [SMAUG] Learning C


Nod most "beginner" books cover about 95 percent of what you will code in
Smaug (not counting the comm code).  The rest you can pick up from the code
or other sources.  But as far as a newbie C coder goes, just getting use to
how to declare variables, arrays, strings, pointers, saving/reading from
files, etc, will be covered in most books (just how well covered is the
point of interest though).
My only recomindation is stay away from For Dummies books when it comes to
advance topics such as coding, but I found atleast the one in Java to be
rather useless.
Derek Bowles wrote:
A couple years ago, my dad bought a book on C, but never really learned it.
Later, i used the book to learn the basics of programming, then started on
muds, learning more advanced things. I then went back to the more advanced
parts of the book to go over some of the things that where handled 'behind
the scenes' in muds, that i never had to mess with (allocating memory from
the heap, for example)
This took a while, but i learned very easily.
At 09:46 PM 12/25/2001 -0600, you wrote:
>I agree, that is what I started with, it will teach you the basics (well
the
>essentials really) of C programming, and then you can get your feet dirty
with
>the code....
>
>Noplex wrote:
>
> > I suggest picking up,
> >
> > "Sam's Teach Yourself C in 21 days"
> >
> > I've found both books (C/C++) to be very helpful in learning. But
> nothing is
> > better than actual, hands-on coding.
> >
> > --Noplex
> > Implmentor of Crimson Blade
> > http://www.crimsonblade.org
> > telnet://crimsonblade.org:8888
> > ----- Original Message -----
> > From: "Sixpak" <Sixpak@sixpak.net>
> > To: <smaug@game.org>
> > Sent: Monday, December 24, 2001 3:25 PM
> > Subject: [SMAUG] Learning C
> >
> > > If you read my previous two messages then by now your probably
> > > thinking that I should go learn C :)  Well sure, why not, it's my mud
> > after
> > > all anyway :)  Problem is I'm finding some excellent resources for
> C++ but
> > > the online resources I've found for C are a bit "lacking".  If anyone
has
> > > any suggestions for some sites or perhaps a great book I sure would
> > > appreciate it.  I had found a copy of Borland, but I thought I read
> > > somewhere that Borland wasn't a good choice and I've got my *nix
server
> > > sitting right next to me so I've already got gcc as a compiler anyway.
> > >
> > > I guess my biggest problem is I have plenty of great ideas, just no
> > > practical knowledge :)
> > >
> > > PS.  I hope you all have a great holiday season!
> > >
> > > Sixpak
> > >
> > > www.sixpak.net
> > >
> > >
> > >
--
Windows NT crashed.
I am the Blue Screen of Death
No one hears your screams.
--
---------------------------------------------------------------
If art is still inside, I feel it
I wanna bleed, show the world all that I have inside
I wanna scream, let the blood flow that keeps me alive
I need music to set me free, to let me bleed
--Bleed, Cold
---------------------------------------------------------------

Visit Rafermand at
   www.rafermand.com
Or check out the Informational Center for Smaug and Muds at
   www.rafermand.com/infocenter