C and C++ Programming Resources

Share/Bookmark
Custom Search

Tutorials

Binary Trees

Posted on July 18th, 2009 1 Comment

Binary Trees
A binary tree is made of nodes, where each node contains a “left” pointer, a “right” pointer, and a data element. The “root” pointer points to the topmost node in the tree. The left and right pointers recursively point to smaller “subtrees” on either side. Stanford CS Education Library: introduces the basic concepts... 
Read More | Make a Comment

256-Color VGA Programming in C

Posted on July 14th, 2009 0 Comments

David Brackeen has a very good tutorial on VGA graphics programming for DOS in C programming. The tutorial is a five part C programming tutorial which covers VGA basics, Primitive Shapes & Lines, Bitmaps & Palette Manipulation, Mouse Support & Animation and Double Buffering, Page Flipping, & Unchained Mode. This tutorial covers many topics in... 
Read More | Make a Comment

Arrays as Data Structure in C/C++ Programming

Posted on March 28th, 2009 0 Comments

Arrays as Data Structure in C/C++ Programming
As discussed in the previous post, there are two types of data structures available to C/C++ programmers. One is already built into the programming language and other one is a bit complex in a sense that it can be implemented using the built in data structures and data types. In C/C++ programming language, built in data structures include Arrays, structures,... 
Read More | Make a Comment

Data Structure Articles

Posted on March 21st, 2009 0 Comments

Data Structure Articles
The basic aim of mycplus.com website was to develop a website for students of C/C++ and data structures. There are lots of tutorials and source code covering different aspects of C/C++ programming language. Today I have decided to write few articles about data structures and their implementation in C/C++. National Institute of Standards and Technology (NIST)... 
Read More | Make a Comment

Unions and Structures

Posted on October 16th, 2008 28 Comments

Unions and Structures
What is a Union? If we are having the less memory to use in our program, for example 64K, we can use a single memory location for more than one variable this is called union. You can use the unios in the followig locations. You can share a single memory location for a variable myVar1 and use the same location for myVar2 of different data type when myVar1 is... 
Read More | Make a Comment

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


Page 1 of 812345678»5