Results for "Category: Data Structures"
Convert a binary file in a useful C/C++ structure that can be included in a C/C++ source.
Visual Basic 2005 OLEDB Demo - showing how to use a database in code only.
This example illustrates how to save objects to XML files, and load objects from XML files, via serialization.
A stack is a LIFO (Last in First out) collection. It can store any kind of data and has the possibility to extend its maximum number of objects. Comments would be greatly appreciated!
2D Array Implemented as a Queue. http://users.neca.com/jboxall/ja05007.htm
Pointers Tutorial. Introduction to pointers for beginners. I hope u find it useful. :)
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.
Hash table management by Jerry Coffin, with improvements by HenkJan Wolthuis.
This is the third installment of the Lessons in C programming tutorials created by me, Alexander. In this lesson I will cover loops. Loops basically do what it sounds like, loop. If you have read lesson 2 you should understand some Boolean expressions. If you do not, you should read it again. When working with loops it is important to understand truth and false. Maybe you should try doing some truth tables with problems.
Now that you have learned all about variables, loops, and if statements it is time to learn the next thing in programming: Functions. Obviously, you should have a good idea about what a function is, as you have used ones like cout before. However, this lesson will be more in detail about not only functions that are already made, but about making your own, or maybe I will continue this later...
This lesson is one on strings. Strings are really arrays, but there are some different functions that are used for strings, like adding to strings, finding the length of strings, and also of checking to see if strings match. Strings are basically sentences, or words. Like, "This is a string".
Template for a doubly linked-list data structure, can be used also for queues and stacks.
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.
produces a link list as a queue. it is part of my billing project and so uses order placing. nothing complicated.
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).
An introduction to linked lists for beginners. I know there are already some. I guess it won't hurt to have another.
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.
Demonstration of Reverse Polish Notation expression calculation using Stacks.
Demonstration of expression trees. Creating and evaluationg an expression tree, a special type of binary tree.
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