Community talk about communities.sas.com. Meta!

book on c language for beginners

Reply
Occasional Contributor is2
Occasional Contributor
Posts: 12

book on c language for beginners

Hello everyone.

Could you please help me knowing the book on c language for beginners.

 

Thank you.

Super User
Super User
Posts: 9,599

Re: book on c language for beginners

Erm, this is a SAS forum not a C forum?  Check out one of the forums associated with C or perhaps Amazon.  Although to be fair, most of the basics are pretty straight forward to learn without needing a book, I have used Csharp a fair bit and never bothered with a book. There is a free Csharp compiler/ide at:

http://www.icsharpcode.net/opensource/sd/Default.aspx

Which is what I use.  

Super User
Posts: 10,228

Re: book on c language for beginners

The "Kernighan-Ritchie" (The C Programming Language) is still the bible on basic C.

But be aware that C is nowadays outdated for anything but UNIX kernel or embedded device programming, where speed and a small footprint are of utmost importance.

 

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Community Manager
Posts: 3,424

Re: book on c language for beginners

Posted in reply to KurtBremser

Fun fact: most of the SAS functions and procedures that we use are implemented in C.

 

SAS also has some C++, Java, Lua -- and more assembly language than you might expect.

 

Client apps are C# (EG and SAS Add-In for MS Office), Java (SAS DI Studio and Enterprise Miner), or HTML5 (SAS Studio).

 

Speaking as someone who learned C in college and even taught a class in it, I think it's an excellent way to learn computing basics and how programs and OSs work together.  C has strict rules, and if you don't follow them your program won't compile or work correctly at all, so it's good for learning some discipline.

Super User
Posts: 23,700

Re: book on c language for beginners

You should consider C++ at least..

Super User
Super User
Posts: 9,599

Re: book on c language for beginners

I would caution against that.  C is the underlying language of C, Csharp, C++, ObjectiveC amongst others.  So learning the simple form of C, before jumping into memory management (or infact other things like GUI's and such like) would be the best start - then branch out into the larger arenas.  You can use CSharp for instanace without knowing anything about pointers and memory management that C++ has to, and still write industry applications.

Ask a Question
Discussion stats
  • 5 replies
  • 204 views
  • 0 likes
  • 5 in conversation