The C++ Modulus Operator

Introduction to Modulus When we divide two integer numbers we will have an equation that looks like the following: A/B = Q Remainder R where A is the dividend B is the divisor Q is the quotient R is the remainder Sometimes, we are only interested in what the remainder...

Find the middle element of linked list in C

Data structures and algorithm questions are important part of any programming job interview, whether Java interview, C/C++ interview or any other programming language. Since data structures are core programming concept, it’s mandatory for all programmers, to know...

An Introduction to C++

The ACM Student Magazine has a series of courses to teach C++ and java called “Objective Viewpoint”. The tutorials touch on many aspects of object-orientation. The word object has surfaced in more ways than you can count. There are OOPLs (Object-Oriented...

C++ Operator Overloading Guidelines

Google Code University website provides tutorials and sample course content so CS students and educators can learn more about current computing technologies and paradigms. In particular, this content is Creative Commons licensed which makes it easy for CS educators to...

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...

256-Color VGA Programming in C

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...
Page 1 of 9123456789