Advertisement

Results for "Category: Data Structures"

ASP_Volume2 #40569
Expression calculator using stacks. Infix to Postfix.

Demonstration of Reverse Polish Notation expression calculation using Stacks.

ASP_Volume2 #40570
Expression calculator using Expression trees. Infix to Postfix. Reverse Polish Notation(RPN)

Demonstration of expression trees. Creating and evaluationg an expression tree, a special type of binary tree.

ASP_Volume2 #40683
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!!

ASP_Volume2 #40691
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.

ASP_Volume2 #40818
Doubly Linked List

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

ASP_Volume2 #40937
Code Example - Stack Template

A simple stack template.

ASP_Volume2 #40938
Code Example - List Template

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

ASP_Volume2 #40939
Code Example - Vector Template

a simple vector template.

ASP_Volume2 #40994
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.

ASP_Volume2 #41128
Binary Tree

Advance Pointers

ASP_Volume2 #41130
Scheduling Alrorithm Simulator

THis is a scheduling algorhim simulator very cool

ASP_Volume2 #41141
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 !!

ASP_Volume2 #41142
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!!

ASP_Volume2 #41149
single linklist novice

The code is for creating adding deleting and printing

ASP_Volume2 #41167
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.

ASP_Volume2 #41229
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

ASP_Volume2 #41256
[ * Link List - Data Structure * ]

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

ASP_Volume2 #41300
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.

ASP_Volume2 #41524
[ all stack operations ]

all stack operations

ASP_Volume2 #41574
Coversion of postfix to infix

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

Languages
Top Categories
Global Discovery