digital adj. Having digits.     peer n. A comrade; a companion; a fellow; an associate. inmotion    
   
Recent Articles
Stop DNSMasq From Forwarding Local Hostnames
Saturday, September 25, 2010
Securing your Wireless LAN
Wednesday, August 18, 2010
Some tips and things you might not know about your wireless network.
Using Different Subversion Client Versions
Wednesday, August 18, 2010
Handling a Subversion Repository URL Change
Sunday, May 3, 2009
If your repository URL changes, you can use the following command to fix existing snapshots.
vfat Mounts Default to Lowercase Shortnames
Tuesday, April 21, 2009
I want a "this is brain-damage" quote from Linus for this mess.
VirtualBox or VMWare Virtual Machine at Login
Sunday, April 12, 2009
How to start a virtual machine in X when a user logs in.
Dialog Progress Bar Through Pipe
Sunday, April 12, 2009
How to use dialog to display a script progress bar and communicate progress to it through a named pipe.
Mount JFFS2 Image
Saturday, October 25, 2008
Example of how to mount a JFFS2 image using mtdblock.

Everything we hear is an opinion, not a fact. Everything we see is a perspective, not the truth.
- Marcus Aurelius

Projects-Development...-C/C++ Guide
 Trait Template Technique | Destructors in C++ | Smart Pointer Class 

C/C++ Guide

Thursday, July 8, 2004 by digitalpeer, updated Wednesday, August 18, 2004

Differences Between C and C++



GUI Development


wxWidgets
Only the best cross platform open source GUI framework if you ask me.

STL Resources


STL online documentation

More STL documentation

Probably the best portable STL there is.

Excellent STL documation and source code reference. Thank the guys at SGI for this.

Random Resources


Ever wanted to know how to directly read and write to a process. For example, if you wanted to run a small utility and get it's output, particularly on a Linux machine. pStreams

All about Function Pointers
Great C++ Resource
The Quick on why C++ is better than C

Documenting Source


Document your C/C++ Source with doxygen

C++ and Regular Expressions


http://bazar.conectiva.com.br/~niemeyer/projects/regexx/
PCRE - Perl Compatible Regular Expressions

C++ Exceptions


Bleeding Edge Exceptions
C++ Documentation
Error Handling with C++ Exceptions, Part 2

GNU Extentions


While you should never use something non ANSI/ISO standard, it's nice to know what's out there incase you do run into something that looks a little odd.

C++ Signatures

An interesting GNU extension is the ability to use ranges in case statements:
print_char_class (char c)
{
  switch (c)
    {
    case 'a'..'z': printf ("lower casen"); break;
    case 'A'..'Z': printf ("upper casen"); break;
    case '0'..'9': printf ("digitn"); break;
    default:       printf ("othern");
    }
}


Submit Comment to This Article - Be the first!
Please post a comment if you have something to add, find something wrong, or would like more information on the topic at hand. Do not use the comment form to contact the author about unrelated concerns!

Name: Email (optional):
Enter verification number here: