Sunday, March 2, 2008

9 Excellent C Programming Tutorial Lessons

Here are 9 excellent C Programming Tutorial Lessons, hosted by brainbell.com. C is a powerful programming language, but using it can cause risk. These C tutorials will help you avoid problems and dangers of C programming by showing you specific programming techniques that make C programming both faster and safer. These techniques will lesson the probability of common C coding mistakes that can lead to serious or difficult-to-solve software defects.


Introduction
C and C++ are widely promoted as ideal portable, fast, and - in the case of C++ - "object-oriented" languages. This characterization is deserved when C...

Introduction
What's the Problem?
"Real Programmers" And C
A Better C
Conquering C

Common Mistakes and How to Avoid Them
Hard-core C programmers may try to convince you it's your inexperience, not C's syntax, that causes this type of coding error. But there's a booming market in C source-code checkers (known as "lint" filters) to help experienced C programmers protect themselves from just these kinds of sneaky problems.
Common Mistakes and How to Avoid Them
Lazy Logic
Precedence Without Precedent
No Such Number, Address Unknown
It Hurts So Good
Sidebar 1 - C Coding Suggestions

Foolproof Statement and Comment Syntax
C is not really a bad language; it's just too often misused. As a language for writing low-level device drivers or operating system kernels, C is superb. It's also a great language for torturing student programmers.
Foolproof Statement and Comment Syntax
Brace Yourself
Follow This Advice, or ElseS
Give Me a Break
One Last Comment
From C to Shining C
(Sidebar 1) - C Coding Suggestions

Hassle-free Arrays and Strings
When you learn that, in C, the first element of an array is referenced as x[0], you appreciate C's reputation for being both efficient and hard to read.
Hassle-free Arrays and Strings
String Symphony
Sidebar 1 - C Coding Suggestions

Simplified Variable Declarations
An object's scope is something you can't C very clearly in source code. Or should I say you can't code scope clearly in C source?


Practical Pointers
C pointers are simply memory addresses, they're notorious for contributing to tricky programs and hard-to-spot program bugs.
Practical Pointers
Finger Pointing
C's a Real Nowhere, Man
You Can't Get There from Here
Amnesia
One Blankety-Blank Trap After Another
Letting the Cat Out of the Bag
Sidebar 1 - Pulling a "Fast" One
Sidebar 2 - C Coding Suggestions

Macros and Miscellaneous Pitfalls
A bad macro can drive a good programmer mad. Imagine the frustration when an unsuspecting programmer codes...


Working with C++
Why is C's successor called ?C plus-plus?? One rationale is that C++ is a ?better C? (the first ?plus?) and adds object-oriented programming (OOP) features (the second ?plus?).
Working with C++
Starting on the Right Foot
Your Constant Companion
The Calm Before the Storm
New and Improved
Merrily Down the Streams
Non-Plused
OOP, Not Oooops!
Weighing the Pluses and Minuses
C Coding Suggestions

Managing C and C++ Development
C has scores of traps that can ensnare an unwary programmer. Without invoking discipline to stay clear of C's traps, sooner or later - usually sooner - a programmer will get caught.
Managing C and C++ Development
Discipline Has Its Rewards
How Big Is the World?
Getting Started With Standards
The Evolution of Standards
No Train, No Gain
The Right Tool For the Job
Debugging Is a Waste of Time
Order Out of Chaos
Reuse It Or Lose It
Principles Of Reuse

No comments: