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
C/C++ Guide
Thursday, July 8, 2004 by digitalpeer, updated Wednesday, August 18, 2004
Differences Between C and C++
- In C++, all functions must have a protype. Protoypes are optional in C.
- Only in C, is a character constant automatically elevated to an integer.
- Only in C, may a global variable be declared more than once.
- Only in C, may the main() be invoked from within the program.
GUI Development
wxWidgetsOnly the best cross platform open source GUI framework if you ask me.
STL Resources
STL online documentationMore STL documentationProbably 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.
pStreamsAll about Function PointersGreat C++ ResourceThe Quick on why C++ is better than CDocumenting Source
Document your C/C++ Source with
doxygenC++ and Regular Expressions
http://bazar.conectiva.com.br/~niemeyer/projects/regexx/PCRE - Perl Compatible Regular ExpressionsC++ Exceptions
Bleeding Edge ExceptionsC++ DocumentationError Handling with C++ Exceptions, Part 2GNU 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++ SignaturesAn 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");
}
}