Advertisement

Results for "Category: Data Structures"

2_2002-2004 #127444
Character arrays, structures and unions

This program covers character arrays, structures, and unions - three VERY powerful features of C++. The first part, character arrays, explains and demostrates the use of the [] operators when dealing with strings. The second part, structures, demostrates the use of structures in real-world applications and defines the differences/similarities between structures and classes. The third and final part, unions, identifies the word 'unions' as a keyword, shows how their used and gives a copy-and-pastable example.

2_2002-2004 #127571
Doubly Linked List

This is simple example of doubly linked list. You can insert/delete items anywhere in the list.

2_2002-2004 #127690
Code Example - Stack Template

A simple stack template.

2_2002-2004 #127691
Code Example - List Template

a simple little list template, done for practice. Comes with example driver.

2_2002-2004 #127692
Code Example - Vector Template

a simple vector template.

2_2002-2004 #127747
tower of honai

in recursion we have limited stack to keep data. so when we try to find the solution of tower of honai for 5, we get in trouble. to solve this problem we've non recursive solution of it.

2_2002-2004 #127881
Binary Tree

Advance Pointers

2_2002-2004 #127883
Scheduling Alrorithm Simulator

THis is a scheduling algorhim simulator very cool

2_2002-2004 #127894
Linked List Example - Telephone Directory

I hope that this code will be helpful to those (specially the beginners) who want to know about using linked lists. This is actually a very simple program which shows the basic linked list operations like insertion, deletion, searching, modifying and traversing. Any queries related to this code is very welcome. Tell me if this piece of code was useful to you !!

2_2002-2004 #127895
A Binary Search Tree (BST)

This BST code will be useful to everyone who wants to know about the basic operations of a BST like Insertion, Deletion, Make Empty, Find Minimum, Find Maximun, Search, Traverse Ascending, and Traverse Descending. Do leave some comments on this code!!

2_2002-2004 #127902
single linklist novice

The code is for creating adding deleting and printing

2_2002-2004 #127920
Introduction to C++ STL vector

Introduction to C++ STL vector - a C++ standard class that acts similarily to a C array. No 3rd party classes, this is all standard among every standards compliant C++ compiler! The major benefit to the vector is that it is dynamic in size. You can add to it, remove from it, and not have to worry about handling the memory yourself. Very useful.

2_2002-2004 #127982
HugeInt - Integers of unlimited size

*Now compatible with MSVC* This is a class called HINT (or "Huge Int"). You use an object as you would any built-in data type with respect to all math operators (+ - * / % ++ --) and logical operators (> = == !=) and the standard insertion and extraction operators (>). Basically it's an integer of limitless size. The main difference from an int (other than the hugeness) is that you can assign it strings of numbers, and in some cases you have to, such as if you want to deal with a number that's too lar for the program to handle. Here's an example: HINT huge = "987654321012345678901231231236549878765431" cout

2_2002-2004 #128009
[ * Link List - Data Structure * ]

You can learn Pointer & Link List easily. Familiar with Link List

2_2002-2004 #128053
StudentsLinkedList

learn all about a single linked lists (adding and deleting nodes). Sorting works but it is not sorting the linked list itself but sorting array then transfering back into linked list.

2_2002-2004 #128277
[ all stack operations ]

all stack operations

2_2002-2004 #128327
Coversion of postfix to infix

Converts a given postfix expression into Infix Expression using stack of pointers.

2_2002-2004 #128433
Simplest Linked List Structure

Some linked list implementations are very hard to understand. Take a look at this Simplest Linked list. please vote

2_2002-2004 #128571
Display database results in 'pages'

Many a time I found myself needing to display results in 'page' form. And call me old fashioned, devoted to learning or just plain stoopid, but I'd much rather learn how to code something myself than just plug in variables and let a snotty frontpage wizard do it for me. So, here it is, simple code to divide records into 'pages' of your choosing.

2_2002-2004 #128721
ADODBTypeName

Quickly find out the type of variables returned from your adodb recordset. TypeName() function doesn't do the trick. Databases offer additional data types. This script helps solve type problems without having to lookup the name of the numbers returned.

Languages
Top Categories
Global Discovery