Advertisement

Results for "Category: Data Structures"

ASP_Volume3 #49301
Doubly Linked List Template

Template for a doubly linked-list data structure, can be used also for queues and stacks.

ASP_Volume3 #49631
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.

ASP_Volume3 #51000
Link list (queue)

produces a link list as a queue. it is part of my billing project and so uses order placing. nothing complicated.

ASP_Volume3 #51070
ASP & XML

A teaching tool that opens both Excel and Text files as data sources using ADO 2.6. The recordset then is streamed into XML for display. Then the XML is transformed back into ADO for updating the data source (Excel file or Text file).

ASP_Volume3 #51400
What is a linked list?

An introduction to linked lists for beginners. I know there are already some. I guess it won't hurt to have another.

ASP_Volume3 #51865
PE Reader Class

Well, I was bored, and I figured I want to learn something new and make something useful. So I decided to make a class to read and break down the Portable Executable header on windows EXE files. Please vote if you like this project. I hope in the next version to implement Resource and Import/Export table reading.

ASP_Volume3 #52781
Expression calculator using stacks. Infix to Postfix.

Demonstration of Reverse Polish Notation expression calculation using Stacks.

ASP_Volume3 #52782
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_Volume3 #53670
XSD Creator

Create XSD File for use with your projects. It worked with SQL Server and Access Databases. It includes the Primary and Foreign Keys. Also is an example of getting connection string from user and using schema calls to get a database schema definition. If you enhance it I would appreciate updates. Thanks

ASP_Volume3 #53982
MEL :: RSS And XML Parse Function

**UPDATED** This function will parse your favorite XML and RSS news feeds in a nice format. Only one variable to set up and easy to integrate and modify. Tested on several sources. Let me know this has been useful. Comments and suggestions are very much appreciate it. **Please Vote**

ASP_Volume3 #54509
Doubly Linked List

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

ASP_Volume3 #54638
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_Volume3 #54639
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_Volume3 #55400
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_Volume3 #55573
Classes in PHP

This tutorial will walk you step by step on how to create and manage classes in PHP.

ASP_Volume3 #55772
Auto insert Guid Datatable

Ok, I ran into a problem, MS out of some odd wisdom didn't do as you would think with the defaultvalue of a data column. you would think it so simple right? In a database such as SQL server you can set the default value to a function, I can do this with a datacolumn too such as. column1.defaultvalue = system.guid.newguid Though this has an issue, if you use this in a grid you will see as you add new rows that the darn guid is the same. It's calling the newguid only once when setting up the table and it's holding that value static for the rest of the life of the datatable\datacolumn. This goes against common knowlege in how MS does things in other area's, such as the before mentioned SQL server using NewID() will get you a new ID each time. Keep in mind that even other funtions like Now() (which returns current date time) won't work, the defaultvalue will always be the same datetime. So I don't have a solution for the default, I have a different solution. Custom datatable and custom datacolumn classes. You will see in my custom column style that there is a new property called (autogenerateguid)if set to true then it will then set each new row with the correct new guid. Though this is all code based, it works for what I need it to do. It also features the use of an un-documented function and class. NewRowFromBuilder Function System.Data.DataRowBuilder Class I've seen other post's that show to use the rowchanging or positionchanged events in order to do the same thing, this example gets to the source of the newrow creation. What would be better is that if you assign a function that MS would call that function each time instead of this lame static method.

ASP_Volume3 #56244
C++ Linked List program

This is a linked list program that allows you to add nodes to the front, end, and a specified place in the list. You can also delete nodes from the front, end, specific, and/or all node that are the same.

ASP_Volume3 #56377
Scheduling Alrorithm Simulator

THis is a scheduling algorhim simulator very cool

ASP_Volume3 #58139
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_Volume3 #58140
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!!

Languages
Top Categories
Global Discovery