HowStuffWorks.com
RSS
Make HowStuffWorks your homepage
|
Get Newsletter
Search HowStuffWorks and the web:
Computer
Computer Software
Programming
Computer programmers write, test and implement code necessary to make certain functions happen on a computer. In this section, learn about programs like Perl and Java or how relational databases and algorithms work.
Related Categories:
> File Sharing
> Graphics & Video
> Other Software
> Operating Systems
REFERENCE LINKS
Print
Email
Cite
Please copy/paste the following text to properly cite this How Stuff Works article:
Brain, Marshall. "How C Programming Works." 01 April 2000. HowStuffWorks.com. <http://computer.howstuffworks.com/c.htm> 15 May 2008.
by
Marshall Brain
Inside This Article
1.
Introduction to How C Programming Works
2.
What is C?
3.
The Simplest C Program
4.
The Simplest C Program: What's Happening?
5.
Variables
6.
Printf
7.
Printf: Reading User Values
8.
Scanf
9.
Branching and Looping
10.
Looping: A Real Example
11.
Arrays
12.
More on Arrays
13.
Functions
14.
Functions: Function Prototypes
15.
Libraries
16.
Making a Library
17.
Makefiles
18.
Text Files
19.
Text Files: Opening
20.
Text Files: Reading
21.
Pointers
22.
Pointers: Why?
23.
Pointer Basics
24.
Pointers: Understanding Memory Addresses
25.
Pointers: Pointing to the Same Address
26.
Pointers: Common Bugs
27.
Using Pointers for Function Parameters
28.
Dynamic Data Structures
29.
Dynamic Data Structures: The Heap
30.
Dynamic Data Structures: Malloc and Free
31.
Advanced Pointers
32.
Pointers to Structures
33.
Pointers to Pointers
34.
A Linked Stack Example
35.
Using Pointers with Arrays
36.
Strings
37.
Special Note on Strings
38.
Operator Precedence
39.
Command Line Arguments
40.
Binary Files
41.
Lots More Information
42.
See all
Programming
articles
Lots More Information
Related HowStuffWorks Articles
How Boolean Logic Works
How Java Works
How CGI Scripting Works
How PERL Works
How BIOS Works
How Bits and Bytes Work
More Great Links
Cprogramming.com: Programming Tutorials
C Program Development Cycle
Introduction to Object-Oriented Programming Using C++
C Programming
comp.lang.c Frequently Asked Questions
PREVIOUS
Inside This Article
1.
Introduction to How C Programming Works
2.
What is C?
3.
The Simplest C Program
4.
The Simplest C Program: What's Happening?
5.
Variables
6.
Printf
7.
Printf: Reading User Values
8.
Scanf
9.
Branching and Looping
10.
Looping: A Real Example
11.
Arrays
12.
More on Arrays
13.
Functions
14.
Functions: Function Prototypes
15.
Libraries
16.
Making a Library
17.
Makefiles
18.
Text Files
19.
Text Files: Opening
20.
Text Files: Reading
21.
Pointers
22.
Pointers: Why?
23.
Pointer Basics
24.
Pointers: Understanding Memory Addresses
25.
Pointers: Pointing to the Same Address
26.
Pointers: Common Bugs
27.
Using Pointers for Function Parameters
28.
Dynamic Data Structures
29.
Dynamic Data Structures: The Heap
30.
Dynamic Data Structures: Malloc and Free
31.
Advanced Pointers
32.
Pointers to Structures
33.
Pointers to Pointers
34.
A Linked Stack Example
35.
Using Pointers with Arrays
36.
Strings
37.
Special Note on Strings
38.
Operator Precedence
39.
Command Line Arguments
40.
Binary Files
41.
Lots More Information
42.
See all
Programming
articles
Share This Article:
(what's this?)
More Options:
Please copy/paste the following text to properly cite this How Stuff Works article:
Brain, Marshall. "How C Programming Works." 01 April 2000. HowStuffWorks.com. <http://computer.howstuffworks.com/c.htm> 15 May 2008.
ADVERTISEMENT
VIDEO SELECTIONS
Computer Tour
Beyond Tomorrow: Computer Floor Games
Beyond Tomorrow: Computer Floor Dance
How to Install a Graphics Card
Changing PC BIOS Settings
How C-130s Are Built
How to Install Dual Monitors
How Dry Cleaning Works
How to Install RAM to a Desktop Computer
How to Buy a Laptop
More Videos on HowStuffWorks >>>
TOP SELLING
C PROGRAMMING BOOKS
Lance Latham - Standard C Date/Time Library: Programming the World's Calendars and Clocks
Release Date: January 06, 1998
$14 - $40
Jon C. Snader - Effective Tcp/Ip Programming: 44 Tips to Improve Your Network Programs
Release Date: May 01, 2000
$32 - $36
Jasmin Blanchette and Mark Summerfield - C++ GUI Programming With Qt 4
Release Date: February 08, 2008
$35 - $48