Geekpedia Programming Tutorials






Tutorials and Code C++ Tutorials and Code

1 2 3 4 5
(33 tutorials and code snippets in 6 pages)
Latest Tutorials: RSS Feed RSS Feed     KlipFolio Klip Klip     Add to Google    Add to My Yahoo!    Subscribe in NewsGator Online    Add To Windows Live    Subscribe with Bloglines   
Latest Code: RSS Feed RSS Feed     KlipFolio Klip Klip     Add to Google    Add to My Yahoo!    Subscribe in NewsGator Online    Add To Windows Live    Subscribe with Bloglines   
Tutorial

****-
3.67 from 6 votes

Sep 9th 2007
by Andrew Pociu

Overloading Operators: Creating a Rational Class

This tutorial will teach you how to overload most of the operators available in C++, including arithmetic and comparison, in order to create a class that is able to calculate rational numbers.

Code

****-
3.33 from 3 votes

Nov 6th 2007
by Andrew Pociu

Reverse a linked list

This code shows the logic behind reversing a linked list in C++ using pointers and looping through the current nodes, changing the order in which the elements are linked to eachother.

Tutorial

****-
3.7 from 10 votes

Mar 13th 2007
by Andrew Pociu

Palindrome Detector using C++

The palindrome detector application will first clean and analyze a string and then inform you whether or not it is a palindrome.

Code

-----
No votes

Oct 17th 2007
by Andrew Pociu

Using vectors to calculate the average

This C++ example shows you how to store a set of numbers into vectors and loop through the values in order to get the average of those numbers.

Tutorial

****-
4 from 5 votes

Aug 3rd 2005
by Andrew Pociu

Introducing Structs

A tutorial for beginners, offerring a look into C++ structures. How structures can be defined, created, accessed and what is their actual use. Includes example code.

Code

*****
4.67 from 3 votes

Oct 11th 2007
by Andrew Pociu

Read file to output stream and return its state

This code will read a file and display its content to the output stream (console), while being on the lookout for errors.

Tutorial

****-
3.8 from 5 votes

Jul 28th 2005
by Andrew Pociu

Constants

There are two main ways of defining constants in C++, and we'll review and compare both of them, seing their advantages and disadvantages.

Code

**---
2 from 2 votes

Sep 26th 2007
by Andrew Pociu

Calculate grade average with weights

This C++ program will calculate the average of 4 grades by using weight calculation. It will then display the average and give the user a chance to review the grades.

Tutorial

*****
4.64 from 11 votes

May 11th 2005
by Nick Fletcher

The Binary Adding Machine

Ever wondered how computers work? In this tutorial, I attempt to explain this from the ground up. First, we'll look at how a machine can add numbers.

Code

*****
5 from 2 votes

Sep 12th 2007
by Andrew Pociu

Quicksort algorithm and character count

This C++ console application accepts a string as input and after storing them in a character array, sorts them alphabetically using the quicksort algorithm. It also counts the number of character occurences in the string.

1 2 3 4 5
(33 tutorials and code snippets in 6 pages)
Filter Results
Show:


Latest IT Jobs


Other Resources
Latest Tech Bargains

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons