The C++ Modulus Operator [mod or % operator]
The C++ language provides a built-in mechanism, the modulus operator (mod or %), that computes the remainder that results from performing integer division.
Read MorePosted by M. Saqib | Oct 1, 2017 | C++ Programming: Different Articles on C++ Programming |
The C++ language provides a built-in mechanism, the modulus operator (mod or %), that computes the remainder that results from performing integer division.
Read MorePosted by M. Saqib | Sep 18, 2017 | Data Structures: Different Articles on Data Structures |
In order to find middle element of linked list in one pass, you need to maintain two pointers, one increment at each node while other increments after two nodes at a time. By having this arrangement, when first pointer reaches end, second pointer will point to middle element of linked list.
Read MorePosted by M. Saqib | May 30, 2015 | C++ Programming: Different Articles on C++ Programming |
This post contains lecture notes of “Introduction to C++” course which is taught at MIT OpenCourseWare. OCW is a free and open publication of material from thousands of MIT courses, covering the entire MIT curriculum. There’s no signup, no enrollment, and no start or end dates.
Read MorePosted by M. Saqib | Apr 20, 2010 | C++ Programming: Different Articles on C++ Programming |
The goal of these columns is to explore object-orientation through practical object-oriented programming. This time, we look at C++, but in the future we will explore other areas of object-orientation. Learning an object-oriented language-a whole new way of programming-will pave the way for many exciting topics down the road.
Read MorePosted by M. Saqib | Apr 8, 2010 | C++ Programming: Different Articles on C++ Programming |
Google Code University website provides tutorials and sample course content so CS students and...
Read MorePosted by M. Saqib | Jul 18, 2009 | Data Structures: Different Articles on Data Structures |
A binary tree is made of nodes, where each node contains a “left” pointer, a...
Read MorePosted by M. Saqib | Jul 14, 2009 | C Programming: Different Articles on C Programming |
This tutorial covers many topics in VGA programming in the C programming language. Tutorial assumes that the programmers have a comprehensive understanding of C and should also have a familiarity with DOS and BIOS function calls and interrupts. Knowledge of trigonometry and geometry would also be helpful.
Read MorePosted by M. Saqib | Mar 28, 2009 | Data Structures: Different Articles on Data Structures |