search the articles directory
Enter your search terms in the field above then hit the "Search" button. You will be provided with a list of results from the article directory.
The directory search is powered by Google™
old C articles
Excessive Commenting - ...n useless. It's deadly. First, the comment distracts the reader from the code, increasing the volume of text the reader has to wade through in order...
Magic Numbers in C - ..., not a maximum number of contracts or the length of an identifier. Therefore we're obliged, when reading or maintaining code that employs magic num...
Misunderstanding References in C plus - ... it's simply another way of referring to its initializer. A reference doesn't have an address, and it's even possible that it might not occupy any ...
Ignorance of Base Language Subtleties in C plus plus - ...o be increasingly underutilized by new C++ programmers. Isn't it irritating to see code like this?
bool r = false; if( a < b )...
Precedence Problems in C plus - ...different levels of operator precedence, since this allows simplification of complex expressions without excessive and distracting use of parentheses...
Making Template Methods Too Flexible - ...lasses. (Note that the Template Method pattern has nothing whatever to do with C++ templates.)
This allows a base class desi...
Calling Virtual Functions in Constructors and Destructors - ...seize(); } virtual ~B() { release(); } protected: ...
define Literals in C plus plus - ...rocessor symbols is that the preprocessor expands them before the C++ compiler proper has the opportunity to examine them. The preprocessor knows no...
define Pseudofunctions - ...ourse, all the usual caveats apply with respect to any use of the preprocessor. In particular, the above definition is flawed.
typedef unsi...
for Statement Debacle in C plus plus - ... branches:
if( char *theName = lookup( name ) ) { // do something with name . . .}// theName is out of scope here
...
latest articles under "C"
Navigation: Categories » » C
Below is a list of all C articles. If you want to find a tutorial by keywords, all you have to do is a quick search in our directory. Just use the search option. The website search is powered by Google. But, if you want to read specific C tutorial, just point to it. The newest articles and tutorials are shown first in the list. To access the last ones, browse the pages 2, 3, 4... at the bottom.
Page# 1 (last added articles shown first)
Enter page# 1 (last added articles shown first)
Below is a list of all C articles. If you want to find a tutorial by keywords, all you have to do is a quick search in our directory. Just use the search option. The website search is powered by Google. But, if you want to read specific C tutorial, just point to it. The newest articles and tutorials are shown first in the list. To access the last ones, browse the pages 2, 3, 4... at the bottom.
Page# 1 (last added articles shown first)
Excessive Commenting (09/21/2009)
... The line should originally have been written without a comment: a = b; The code is maximally clear as it stands, with no comment to be incorrectly maintained...
... The line should originally have been written without a comment: a = b; The code is maximally clear as it stands, with no comment to be incorrectly maintained...
Magic Numbers in C (09/21/2009)
... (If we had any concern about safety and correctness, we'd use a standard vector...
... (If we had any concern about safety and correctness, we'd use a standard vector...
Misunderstanding References in C plus (09/21/2009)
... (Though the C++ standards committee has discussed allowing references to references in the future, at least in some contexts...
... (Though the C++ standards committee has discussed allowing references to references in the future, at least in some contexts...
Ignorance of Base Language Subtleties in C plus plus (09/21/2009)
... If val is a function, this is of little importance...
... If val is a function, this is of little importance...
Precedence Problems in C plus (09/21/2009)
... A left-associative operator like + will bind first with the argument to its left...
... A left-associative operator like + will bind first with the argument to its left...
Enter page# 1 (last added articles shown first)
