C and C++ Programming Resources

Custom Search

Tutorials

Linux kernel coding style

Posted on October 15th, 2008 1 Comment

This is a short document describing the preferred coding style for the linux kernel. Coding style is very personal, and I won’t _force_ my views on anybody, but this is what goes for anything that I have to be able to maintain, and I’d prefer it for most other things too. Please at least consider the points made here. First off, I’d suggest...
Read More | Make a Comment

Basic dataypes and operators in C Programming

Posted on October 14th, 2008 0 Comments

C provides a standard, minimal set of basic data types. Sometimes these are called "primitive" types. More complex data structures can be built up from these basic types. Integer Types The "integral" types in C form a family of integer types. They all behave like integers and can be mixed together and used in similar ways. The differences...
Read More | Make a Comment

Indian Hill C Coding Styles and Standards

Posted on October 13th, 2008 1 Comment

This document is a result of a committee formed at Indian Hill to establish a common set of coding standards and recommendations for the Indian Hill community. The scope of this work is the coding style, not the functional organization of programs. The standards in this document are not specific to ESS programming only. We have tried to combine previous work...
Read More | Make a Comment

More on Inheritance in C++

Posted on October 10th, 2008 6 Comments

In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. It supports the concept of hierarchical classification. For example, the bird robin is a part of the class flying bird which is again a part of the class bird. One reason to use inheritance is that it allows...
Read More | Make a Comment

Inheritance in C++

Posted on October 10th, 2008 6 Comments

In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. It supports the concept of hierarchical classification. For example, the bird robin is a part of the class flying bird which is again a part of the class bird. One reason to use inheritance is that it allows...
Read More | Make a Comment

C++ Memory Management

Posted on October 9th, 2008 2 Comments

By George Belotsky Published on Linux DevCenter (http://www.linuxdevcenter.com/) http://www.linuxdevcenter.com/pub/a/linux/2003/05/08/cpp_mm-1.html Everyone knows that memory management is a difficult and dangerous chore in C++. This series of three articles will show you that the conventional wisdom is not true. When approached correctly, C++’s seemingly...
Read More | Make a Comment

GNU coding styles and standards

Posted on October 8th, 2008 0 Comments

Reference standards Don’t in any circumstances refer to Unix source code for or during your work on GNU! (Or to any other proprietary programs.) If you have a vague recollection of the internals of a Unix program, this does not absolutely mean you can’t write an imitation of it, but do try to organize the imitation along different lines, because this...
Read More | Make a Comment

Direct3D Retained mode sample

Posted on October 7th, 2008 0 Comments

Over here I’ll shove in some basics, like coordinate systems, world and object coordinate systems, etc. For now I’ll assume you’re at least a little familiar with 3D programming. Blah blah blah, differences between immediate and retained mode, etc etc. Devices Direct3D interfaces with the surface it is rendering to (e.g. screen memory, system...
Read More | Make a Comment


Page 2 of 9123456789