Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
Laboratory: Tutorial This is a very brief document to familiarize you with the basics
 

Summary: 50
Laboratory: Tutorial
This is a very brief document to familiarize you with the basics
of the C programming environment on UNIX systems. It is not
comprehensive or particularly detailed, but should just give you
enough to get you going.
A couple of general points of advice about programming: if
you want to become an expert programmer, you need to mas-
ter more than just the syntax of a language. Specifically, you
should know your tools, know your libraries, and know your
documentation. The tools that are relevant to C compilation are
gcc, gdb, and maybe ld. There are tons of library routines that
are also available to you, but fortunately a lot of functionality is
included in libc, which is linked with all C programs by default
all you need to do is include the right header files. Finally,
knowing how to find the library routines you need (e.g., learn-
ing to find and read man pages) is a skill worth acquiring. We'll
talk about each of these in more detail later on.
Like (almost) everything worth doing in life, becoming an
expert in these domains takes time. Spending the time up-front

  

Source: Arpaci-Dusseau, Remzi - Department of Computer Sciences, Department of Computer Sciences, University of Wisconsin at Madison

 

Collections: Computer Technologies and Information Sciences