Advertisement

Results for "Category: Data Structures"

3_2004-2005 #145980
Text that types itself!

The following code, when running, looks like the text is actually typing itself. This technique uses two main things, char arrays and the Sleep(); function. This technique would be great to use for slash screens, presentations or just impressing your friends! Also, please take the time to vote for my code. Thanks!!

3_2004-2005 #145988
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.

3_2004-2005 #146115
Doubly Linked List

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

3_2004-2005 #146234
Code Example - Stack Template

A simple stack template.

3_2004-2005 #146235
Code Example - List Template

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

3_2004-2005 #146236
Code Example - Vector Template

a simple vector template.

3_2004-2005 #146291
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.

3_2004-2005 #146425
Binary Tree

Advance Pointers

3_2004-2005 #146427
Scheduling Alrorithm Simulator

THis is a scheduling algorhim simulator very cool

3_2004-2005 #146438
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 !!

3_2004-2005 #146439
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!!

3_2004-2005 #146446
single linklist novice

The code is for creating adding deleting and printing

3_2004-2005 #146464
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.

3_2004-2005 #146526
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

3_2004-2005 #146553
[ * Link List - Data Structure * ]

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

3_2004-2005 #146597
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.

3_2004-2005 #146821
[ all stack operations ]

all stack operations

3_2004-2005 #146871
Coversion of postfix to infix

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

3_2004-2005 #146977
Simplest Linked List Structure

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

3_2004-2005 #147114
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.

Languages
Top Categories
Global Discovery