Skip to main content


Association for Computing Machinery at the University of South Carolina

Intro to C

Swearingen 2A17

Joshua Nelson

Learn about syscalls, threading, and memory by touring a web server written in C! Topics covered will include:

  • How to write a C program
  • Headers, preprocessing, and imports
  • Error handling without exceptions
  • Pointers, output parameters, and stack vs. heap vs. static memory
  • Basic data structures in C
  • How to read man pages
  • How to read and write to and from sockets
  • Threading (briefly)
  • Signals and signal handlers

This talk will be of special interest to students currently in 311 (Operating Systems) or 416 (Networking).

The full source code for the web server can be found here