Classes Frameworks OOP in c plus plus

From codeuu,source code

Jump to: navigation, search
A Simple, Action Based, UndoRedo Framework

How to use a simple, action based, Undo/Redo framework

A Matrix Multiplecation

Program to multiply 2 matrix and print the result

A String Class

Used for string manipulation. Contains over 10 string operators, and string manipulation functions!

Rational: This was last weeks home work, enjoy

It does every thing that you can do with fractions

  • Modulous class % works on double as well as integers. A few functions for mod operations
    • To eliminate not being able to do modulos operations on a double
  • AbstractFunction
    • Code demonstrates abstract classes/functions. I'm trying to get back into C++ and this was a great place to start. There is an account class with virtual functions that are inherited by a savings class. The savings class is instantiated in the form of savings and checking. deposit, withdrawal, and balance are included methods.
  • A Control Panel Applet Framework
    • The Windows Control Panel is the ideal way to allow a user to alter settings for an application that runs in the background, or automatically. But what are control panel applets and how do you write one?
  • A Task Tray Applet Framework
    • A framework for applets that live in the system tray. Derive from the base class, provide an implementation for three virtual functions and your work is done.
  • A Winsock Client Class Example
    • This is a Class-based form of my Winsock Client Example.
  • A Linked list and OO menu example
    • This code is my first project in C++. took me like 2 weeks. Contains a fully implemented linked list example and also an OO console menu that makes it ridiculously easy for the main() programmer to have a linked list operable with a flexible menu. GREAT for learning purposes.
  • A student class
    • This is a simple database made in c++ , does not save the records on disk permanently , it is just to give the beginners an idea about implementing databases with classes
  • Abstract Data Types (Tutorial)
    • This is a tutorial on abstract data types that is designed for complete beginners. I think advance coders may even learn something from this article. If you find any thing that is incorrect, please notify me ASAP. thank you
  • AcceptFileClass
    • This class manages for you drag & drop of files over your windows.
  • A Basic Class
    • This code contains a "BOX" class that will store the 3 dimensions of a box and it's volume.
  • A SocketServer Class
    • When it comes to writing high performance server / client applications that use the TCP/IP protocol, this class will handle everything for you. Check it out. If you make any changes or find any bugs, Please let me know. (Version 1.0.2.2)
  • Arithematic Operations Using CLASSES
    • Object:This porgram is made to use simple arithematic operations using classes.
  • A Simple C plus plus Compiler
    • A Simple COmpiler For Testing Switch and If else Statements. all the files should be pout into the TC\BIN files
  • A C plus plus Compiler
    • Simple Compiler testing if else and While statements
  • A Comptent Out of the Box String Class
    • This class allows you an out-of-the-box C++ method of string manipulation. You can concat strings logically with + and +=. The class can be cast to char* and std::string. Various string manipulation routines are members of the class including VB-esque mid(), left(), and right(). This class uses definable symbols to make it very customizable. All of its functions accept std::strings including concating. If you'll be using C++ string manipulation, this is the class to have. The class should work on just-about-any compiler including non-windows ones. This is my first submission to PSC, so please comment... C & C is welcome. If you like my code... vote!
  • A SQL Access Class
    • Contains two very simple custom classes: CSQL and CRecordSet. These two classes allow you to easily access a SQL server from your C++ application, execute statements and retrieve data. (Version 1.0.0.4)
  • A Cmd Line Param Class
    • This simple class allows you to access command line parameters within a windows application in the same manner as a console application. Very simple... (Version 1.0.0.1)
  • A simple Process Class
    • This simple class allows you to execute a separate process from within your application and take complete control over it. (Version 1.0.0.0)
  • A C plus plus Ngrams Package
    • It is a natural language processing tool for creating n-gram profiles for text documents, and can be used in pre-processing for text classification and/or clustering.
  • A great splitting string function by tokens
    • This is a class that takes a string and a token, and splits this string by the tokens, and returns a vector of chars containing every token found on the string.
  • A nonnegative integer of any size
    • Class Num is a utility for storing non-negative integers of any size.
  • BUTTON DEMO in Turbo C plus plus
    • Shows a really effective way to create buttons
  • Banking application
    • will allow the user to open new accnt and perform various operations with the implementation of the program.. its a very simple and basic banking application code in c++.
  • bcstring
    • This is a string class (similar, but not exactly) like cstring. It has many functions, including the basic Copy, and Append. It also has a few, more advanced, functions such as Insert, Replace, ReplaceStr, and a variety of others.
  • B.Calculator
    • It is a basic calculator using functions and classes.
  • Business Logic Processing in a Socket Server
    • To maintain performance a socket server shouldn't make any calls that should block from its IO thread pool. In this article we develop a business logic thread pool and add this to the server developed in the previous article.
  • BCOL
    • You can't believe your eyes!!! (or you can?)
  • Bff (BrowseForFolder)
    • This example showes the use of BrowseForFolder Dialog Box
  • Base & Derive Classes Polymorphism
    • To learn about Base and derived classes using Polymorphism.
  • banking sysetm composition
    • it basically composes two classes atm and account in bank.
  • BalckJackC plus plus
  • Binary number to DECIMAL
    • my program ask for enter binary number and it conver it in decimal number
  • Creating and using DLLs in both formats
    • Creates a DLL, and shows how to link dynamically at run-time or compile-time.
  • Card Deck
    • With this code you can easily make a Card Deck.
  • C plus plus code profiler
    • A code profiler is either a program or code itself that times how long a program spends inside of specific functions. This is often very useful for optimizaiton, so that you know where you need to optimize. I have coded a simple code profler in a c++ class that should be very useful. NOTE: Profining causes overhead, so I do not recommend profiling very small functions that are called millions of times per second.
  • class for a mathematical set of letters
    • just a class that you can use while working with sets
  • class,destructor,polymorphism
    • concepts of classes,destructor,constructor,polymorphisms
  • Class Menu Builder
    • Class for creating graphical menus...
  • ID3 class
    • This is a class that allows users to easily read, write and manipulate ID3 data. ID3 is the format embedded within mp3s that allows you to provide information about the mp3 such as artist, title, etc.
  • CTreeView
    • ????These classes are supposed to simplify the use of TreeViews. The TreeView is still fully customizable in case you want to add any feature the classes do not provide. I included a sample program, that displays the directory tree of drive C. I also included to functions that can be used to do simple benchmarking.
  • Card Game Outline
    • This is the begining of a card game which creates a deck, stores
  • Class inheritance ADT virtual functions
    • Teaches the fundamentals of classes in using inheritances,ADT (Abstract Data Type), and virtual functions.
  • cRational: class that deals with rational numbers
    • code written is a class that handles rational numbers, includes overloaded operators, etc.
  • Cars shop inventory database
    • This programm will keep a record of cars. In the cars shop.
  • CReadWriteIni
    • Have you ever wanted to avoid using the registry and use an ini file instead, well here you are the class ReadWrite does exactly that for you, Easy to use just add to your source files and create and instance of the class.
  • C plus plus Bible Volume 2
    • Read this C++ Bible and become faitfull to C++ and have faith in yourself that you will do well at C++.
  • Reusable card class ideal for card games (efficient shuffling algorithm)
    • It is a Card class that is perferct for any one that wants use it to make a card game.It is extendable, so go ahead, add all you want. It uses a very efficient algorithm that does not have indefinite postponement.
  • class_Matrix
    • working with class matrix
  • class Deque
    • implementation of the class Dequeue (named to avoid STL clash)
  • Compiler/Processor/Ram Simulator
    • Based on assembly language, you can script a "robot" with a "processor" and some "ram" do execute your defined functions. I'm using this in a game that I'm writing. All of the robots in the world will have different processors, ram, and function tables.
  • class CComplex
    • This code is an implementation of the class CComplex which adds, subtracts and multiplies complex numbers with simple functions and operator overload.
  • codeforooplearner
    • Polmorphism, Inheritance and Encapsulation is use so clearly in this code
  • CTray
    • A lot of tray samples in psc, so i couldn't miss mine.
  • Class Complex
    • Implementation of class complex, including some operators overloading.
  • CSok
    • Allows the programmer to easily add client/server interaction through the internet with only a few lines of code.
  • Class_C_DB
    • This program is a test for some classes of mine.
  • Binary Tree Class
    • This is a basic binary tree class implemented using templates, so it can be used with any data type. It includes the pre-order, post-order, and in-order traverses.
  • Queue
    • This is a basic queue class implemented using templates, so it can be used with any data type. It includes the standard enqueue() and dequeue() functions and some more.
  • Stack Class
    • This is a basic stack class implemented using templates, so it can be used with any data type. It includes the standard push() and pop() functions plus some more.
  • CommandLine Parser
    • This class simple parses the command line and retrieves exe path and name and all paths and names of the files/folder you dragged and dropped over exe.
  • Extensible C & C plus plus determine which archiver was used on a packed file
    • Written by Jari Laaksonen (2:221/360.20), 2 Sep 1994. Based on the code by Heinz Ozwirk and David Gersic.
  • converting to base numbers
    • This program proforms base conversion
  • CD Organiser
    • It is helpful for people having huge number of CDs
  • Console Window
    • Allows the user to attach a console window to a win32 application, and provides basic input/ouput functions along with a number of console manipulation functions (including fullscreen(), setScreenSize(), and MoveCursor())
  • Creating win32 apps with classes
    • This is the actual source for how to create an app using a class and thus elliminate the use of global variables in win32 applications...I uploaded the wrong source files in the first attempt...5 am and all=0)
  • Calender for DOS
    • to generate calender for years upto 9999 and above
  • CBits
    • CBits Class whih implement bit operation Like SetBit,GetBit,LeftShift RightShift..etc.
  • ComPort
    • Class for serial port access under Windows NT.
  • CHAND
    • THIS PROGRAM CONTAINS THREE FILES DEALS
  • controls
    • The components are the controls that serve to provide a user-friendly environment and enhancing the graphical outlook of the programms. Almost all the visual languages(e.g. visual basic. java, visualc++ etc.) provide these components to the programmers to be used in their programmes. But unfortunately c++ doesnt and hence a c++ programmes always lacks a so much user friendly environment and good graphical outlook. To meet this problem, this effort was made to provide some basic components to a c++ programmer, so that any of these components can be used in any of the c++ programmes, by just including the header file and then using the class functions for that component in ur code. These components provide all the facilites as provided in windows or by any visual language. The functions work like almost in the same way as they do in java's awt or swing library(even the function names of a number of functions are same to those provided in java. So any1 having some knowledge about java will find the useage of these components, more easier). Due to the pure object oriented approach of these components, more functions can be added by any1 according to the requirement. The components provided so far are :
  • CLog File class
    • Simplifies creating and adding entries to a log file for your aplication. Uses a routine with a similar format to printf to add a formatted string to a log file
  • ClassDialog
    • Simplifies the window creation process using WNDCLASSEX using classes in a totally OOP approach (no global variables), and completely reusable. Demonstrates the principle of storing the instance pointer in GWL_USERDATA, and using this in a WndProc router.
  • Creating a Collection Class in C plus plus
    • In this tutorial I?m going to show you how to use a template to create a custom collection class. I will also be using the C++ std::vector STL library as well as the operator. I will expect you understand how pointers, classes, templates and the operator works.
  • Cascading in Classes
    • TO EXPERIMENT CASCADING OPERATION USING CLASSES
  • constructor overload
    • enter the date in four formats
  • MessagePumpThread
    • A class for implementing a thread with a message pump on it. There is an example derived class and an example MFC application. The class itself does not require MFC.
  • Simple Board Game(OOP)
    • This is simple board game, but coding is done on OOP concepts. I think this code will be of good learning for guys who just started learning oop concepts.I have assumed that game owns the board that is board is part-of game and players are part-of game. Almost every line is commented. The board size(9 x 9 max) and number of players(4 max)can be changed by changing the default values.Enjoy the game and learn the oop concepts.
  • CX Win32 API using Classes
    • Shows how to implement Win32 API using classes
  • CX BETTER Win32 API using Classes with Exception Handling
    • Shows how to implement a WIN32 API program using classes with error checking. (thx to Jared Bruni =) for helping me)
  • NARSCAR RACE Simulation
    • First of All Please take a minute and Rate my Code.=)
  • OOP Address Book for beginners updated
    • Changed the code on Dec 17th so that when searching for a contact, you can enter only part of the contact info to search for it instead of the whole string.
  • Clone Smart Pointer
    • The clone_ptr class is a smart pointer that can clone itself without requiring the base class to have a clone method. It can clone itself to the type pass to the constructor. The constructor for the clone_ptr is a template method, which is able to store type information for later usage when cloning the pointer.
  • Dll To Create Drive Latter (i.e C:\ Q:\)
    • To Create Drive Latter like C:\ D:\ E:\ which can be use for FTP and any other things
  • Crossplatform file system
    • This is an object-oriented file system library, with concepts taken from the STL.
  • digital alarm clock
    • digital clock with alarm using class
  • Deck Template & Card Class
    • Reusable deck template. The card class was created simply to demonstrate how the deck template works. The code takes advantage of the STL where applicable.
  • DOS GUI Framework
    • Written in DJGPP 1.5. The major differences from other compilers is the keyboard utility. This is a version of a DOS GUI Framework written in February used for testing and learning as I have abandoned and almost forgot it was still on my system. The framework uses class inheritance to create various controls which are placed on dialogs. in this test version there are buttons (push, check and options), list boxes (single and multi-lined), input box (single lined edit box), static labels/control frames scroll bars and menus (drop down and pop-up menus). Dialogs on this version can be docked on either side top or bottom, other styles such floating dialogs, boarder less (boarder is default), fixed size or sizable, maybe some more i forgot about. buttons can have shadows or not. option or check boxes are animated on mouse down events.
  • Date Formatter Class In C plus plus
    • The DateFormatter class creates & manipulates date objects.
  • Dictionary Class (FDictionary ver 3)
    • This is essentially a linked list class with string-variant pairs.
  • DayTeller
    • This program tells the user the Day of the date entered, from the year 1600.
  • Display Message for 20 seconds
    • This program displays a particular message on the screen for 20 seconds.It is made by using classes and a for loop function.
  • Displaying Message for 20 seconds
    • This program displays a particular message on the screen for 20 seconds.It is made by using classes and a for loop function.
  • Easy C plus plus Mp3 class
    • This is C++ class for playing mp3. Simple and easy. Now you can play mp3 files in your application. Create instance of class, open and play . Simple 3 steps ( 3 lines of c++ code ) to play mp3 in your application. It reads ID3v1 and ID3v2 tags, fast seek position ( xing vbr header supported ), pause, stop ... This class has built-in mpglib decoder. So you don't need additional library or dll. This class has built-in equalizer, echo processor and VU meter. You can play files from hard disk, from exe resource or from allocated memory. More info on http://www.inet.hr/~zcindori/mp3class/
  • Employee Leave and management system
    • HIghly interactive and Graphics based system To store the employee information in files and perform various operations as user selects
  • employ3.cpp
    • AS a beginner it is my first executeable code which was a class assignment.This code takes employ's record and user can delete any employ record and can add new employ record. It uses array of objects and takes position from user to add new record or to delete any record
  • Elevator Simulation using Borland
    • Elevator Simulation
  • Everything about classes
    • Teaches begginers to learn how to use classes
  • Flash Interface
    • General
  • File Version Information Reader (Class)
    • All of the Version tab information found in .EXE and .DLL files may be obtained simply using the CVersionInfo class. Supports multiple languages as well.
  • Fully functional fractions (rational) class
    • This class is a fully functional fractions class, complete with the following:
  • fire fighter game
    • an entertaining fire fighter game
  • FileClass
    • a very very simple class for managing files,
  • FileCheckerClass
    • CFileChecker is a class that wants an out folder
  • Film Class
    • This program uses composition -- objects as members of classes
  • FastGDI
    • Just some little classes to fastly handle brushes and pens,
  • Finance 1
    • This snipet of code can be used by beginner's to understand class design, OOD
  • Function Pointers
    • Created this awhile back for a class I was taking. Using the generic class "Menu" you can easily create a bordered and centered menu, display it, and capture user choices. Simply include the Menu and MenuApp class to create your own program menus. Commented fairly well so it shouldn't be too hard to follow. This is my first upload so be kind, but I do appreciate ALL feedback, positive or negative.
  • FIFO list with classes
    • This is an implementation of a FIFO list (First In First Out) with a linked list. It's really a very easy implementation, accepts any pointer as a parameter, and includes 2 samples of its implementation, named <prueba1> y <prueba2>. Included is the VC6 project, so you can compile it properly.
  • A Game Program
    • See Program
  • Generic data class
    • this code is a class that allows you to create a variable without specifying the data type.
  • Grid class
    • I wrote this grid class for use in some games I had to write for windows programming course. I used the class in Tetris and TicTacToe, but it will come in handy whereever you need to keep track of an objects position, or board moves. The class has several functions and can be used in a console environment, and has more advanced functions that can be used in a windows environment. The declaraton file is pretty well commented and the implementation I think is pretty self-documenting and easy to understand.
  • Great GUI for your DOS apps
    • This is my powerful GUI Library for DOS. It is really easy to use. One problem with DOS is that it does not have a GUI (just plain old text). So, the programs will not have a visually appealing interface.
  • gFrame C plus plus Class Library
    • An OO class library for game programming on the DOS16 platform.
  • Hospital Bill
    • Just to put a bill and it is very simple for the beginners and to interesting
  • How to create a VB style form using mfc
    • It is an example of how to create a VB style form using mfc.
  • hit the enemy
    • This basically is an activity made to show the object oriented technique , our rectangle is an object which has certain properties such as color, and certain methods i.e function that is perfroms e.g it move right and left , it makes it self , it dissapears and again appears (without the user being aware of it ;)), it fires on the balls falling from above etc. useful for people who are new to object oriented programming
  • Hello World With MFC( CWnd class )
    • Simple Hello World Using MFC, Learning how to load Accelerator with CWnd Class ( this Codes using CWnd Instead of CFrameWnd ), and Learn How to handle simple Message WM_PAINT,WM_COMMAND( ON_COMMAND()) in MFC.
  • hotel reservation system
    • Hotel reservation system is project about the hotel system. you can add, modify, delete, search,rate list of the rooms and more (by three different ways) the data of the custmer.
  • Headertoolbar
    • Implement a headertoolbar on your SDI/MDI program.
  • hotel/apartment administration
    • This is an administration program for hotel or apartment.
  • Hello World without using main
    • Simple Class that prints "Hello World!" without declaring any variables or objects in "main"
  • Hacking into C plus plus private member Varriables
    • This code snippet shows how we can access the private member varriable of one class from another class or non member function without using the member function of that class.
  • Interface Template Linked List Classes
    • Here are linked list classes that are coded using an interface template class structure. Not for beginners. I wrote these when I was teaching myself interface classes and implementations. Read the readme.txt file for a detailed explanation of the class structure. Concepts utilized in this project: classes, templates, inheritance, abstract classes, virtual functions, interface classes and implementations, and singly/doubly linked lists/nodes and iterators.
  • Inheritance
    • Inheritance to derive classes
  • inheritance in C plus plus
    • This is the easiest program i have ever seen to understand the concept of inheritance in C. It's a real life example using husband, wife and children......
  • Implementation of speech technology
    • Using microsoft SAPI in your programs simple code using a text to speech engine
  • inventory
    • To prepare the invoice.
  • ISO 8583 standard implementation
    • This is a C++ implementation of the ISO-8583 standard for financial applications, a fully functional source code library, used in banking systems interfaces, covering ACI-BASE24-Release 4 and 6 with Tokens. See "Data Processing Center" for the implementation of a data-processing-center (interfase program) supporting the standard ISO8583 : "DPC-ISO8583"
  • ISO 8583
    • For manipulating the ISO-8583 financial standard for online transactions, as variable-length messages.
  • INI reader
    • Allows the programmer to specify variables in the INI file and be able to access them extremely fast.
  • Inheritance Example (Cicle and Point)
    • This code creates a class of point then inherited another class Circle from point
  • KASSafeObject
    • A class that once inherited, permit your object to access its critical data members in a multi threaded-safe way so that parallelism will not corrupt your object data and you will avoid locking the whole object just to read a member's data.
  • KAS SafeObject
    • In multi-threaded environment, an object should access its critical member data in a thread-safe way to avoid unexpected data corruption and thus undefined behavior. A class that inherits "KASSafeObject" automatically have these abilities enabled for the specified data members.
  • LPTPORT_131d
    • Peripheral I/O Device Driver, Control and Support Library for Win9x, SE, ME, XP and 2000. Includes my ntiodrv.sys kernel mode device driver written in 1995 for NT 3.5 and revised in 2000 to run on WIN2K Pro.
  • LPTPORT_131_XP_VC plus plus
    • LPTPORT_131 Visual C++ 6 Project Workspace Peripheral I/O Control Library for 2000/XP.
  • Library to draw regular polygons with straight line primitives
    • A library created with the allegro game programming library in mind to draw regular polygons up to 45 sides (45 because there is a bug at 46+) using straight line primitives.
  • Logic Designer
    • Draw Logic designs and have your output
  • Very Long Integers
    • This Library provides the framework for Integers
  • List of ODBC Drivers Installed
    • This program will display the list of ODBC drivers installed in your computer.
  • let ur program live with colors
    • a header file to use it in ur programs to choose ur output color on console i tried to make it shorter,to be easy to understand and its ur turn now to add afunction to make both fore and back color
  • linear/binary search
    • example of binary vs linear search.
  • LinkedListTemplate (double linked)
    • This rather small piece of code simplifies the use of (double) Linked Lists. You can add, remove and swap items and clear the whole list. You can also find the index of an item. The item itself can be accessed with the [] operator. Because this is a template class, you can provide any type (even user-defined types/structures) to the class. I didn't implement any sort functions, because there is no way to sort structures in general (at least, I know of none). If you want to write your own sort-class around this class, I provided a function for swapping 2 items. For an online documentation visit http://code.jakobbieling.de/LinkedListTemplate-Help.html .
  • Max_Classes
    • Hi,
  • Matrix and DoubleScriptArray template classes and MatrixUndefinedException class
    • It is a generic template class that implements basic matrix operations (identity, trace, transpose). Also overloads some operators...
  • Matrix and DoubleScriptArray template classes, and MatrixUndefinedException class
    • To possibly get help from others to improve the code, i.e. a reduced echelon function, inverse function, overload the divide and modulus operators.
  • MFC Drwaing Example
    • I am reading a book on MFC and wrote this as a practice exercise in what I have learned about windows drawing using MFC. All the drawing code is in the view class.
  • MultiVector Classes
    • This is a very robust Vector (math) class.
  • my STL link list yes it's been done a million times, but what the heck.
    • Just an example of a STL double-ended linklist ( like STL deque )
  • moveable menu bar
    • The idea is to make 'Menu Bar' is moveable,using SetMenu(NULL) to disabling MFC menu and therefor make a new 'Menu Bar' with CToolBar.....
  • maxINIFileclass
    • This is a different approach to a often-seen class...
  • Moving Word
    • It seemply moves a word like a screensaver.
  • Memory Management Simulation for an OS
    • This was my Operating Systems Project for the Spring Semester of 2003. It simulates an operating system requestion pages with the NRU (Not Recently Used) and LRU (Least Recently Used) Alogorithm. Enjoy. Remember to vote.
  • Matrix template, bells and whistles such as multiplying and inverting included.
    • The code implements a template of a class designed to handle matrices, and several associated functions.
  • MYEDIT
    • IT DEMONSTRATES "HOW DO THEY DO THAT"
  • change console text color
    • this class makes it quick and easy to change the color and backcolor of text in a console program written in C++.
  • More about Classes
    • Teaches how inhertance works
  • MyIRCBot
    • MyIRCBot is a simple implementation class that connects to an IRC server of your choice, and responds to certain received data. It has a number of commands already integrated, such as !join, !nick and !quit, which are easily extendable in the irc.cpp file. It responds fine to pings fine, I have had it connected to a server for over 2 and a half hours constant.
  • no of days (program using classes)
    • This is a program using classes which gives the difference between two days..EG: Find out difference between 2 june 1725 and today...good implementation of logic i guess..
  • Natural Language Processing
    • This program takes a sentence as input and tells the user whether it complies with the grammer and vocabulary it has been given. This app is basically a C++ container for a Prolog logicbase. Prolog is an AI language that is often used in Natural Language Processing applications, as it is in this app. This program requires the Amzi! Prolog LogicServer to implement the Prolog code, available here: http://www.amzi.com/download/index.htm. compile the project and try this sentence, "adam is cool." please mail me any comments or suggestions/additions/revisions you have and feel free to vote!
  • Number Class
    • Just a simple class that manipulates three numbers.
  • Numerology (Fun with numbers)
    • Have you ever saw the game online called "Mind Reader". If you have and was puzzled about how it worked then you wont be anymore. This program runs the game in a console window and then explains it. Enjoy.
  • OOP in C plus plus
    • polymorphism, ncapsulation and Inheritance in oop class has ben shown clearly in this code.
  • EVERY THING IS AN OBJECT
    • This is an illustration of how to use templates to build new Types. It uses very interesting code to define an interger class that was inherited from Object. If you think it was worth you time. please vote for me.
  • Open/Save file dialogs class wrapper
    • This is a class wrapper for calling the Open/Save file dialogs under ms-windows....This should work for most versions...I haves tested it under 2000/xp. This avoids the hassle of using an active-x control.
  • operator overloading tutorial
    • This is the operator overloading tutorial. I have seen many friends of mein confuse at operator overloading program. So I have decide that I would like to present my friends with operator overloading Tutorial. This tutorial cover all the basic to advance concept of operator overloading. I am sure that u cannot find tutorial like this in any books. It removes all ur doubts. This tutorial gives u lot of confidence. zooooom ;->
  • Object Oriented Programming in C
    • This framework allows for object oriented processing in pure ANSI C, not C++. Features include auto-optimizing memory scheme, generic object processing (all objects are a hash table!), and inheritance, including multiple inheritance.
  • Overloading streams
    • Overloading of streams so that programmer need not to worry to which stream his object is being insterted or from which stream object is being extracted.
  • OOP Templates Tutorial
    • This Tutorial shows the importance of templates and teaches you how to implement them in
  • OpenGL Enabled Window Creation Class
    • This class creates a simple OpenGL enabled window. The alGLWindow class is derived from the alWindow class and therefore must be included. Updated 1-07-04.
  • OPERATOR OVERLOADING USING CLASSES
    • Object:This porgram is made to use simple arithematic operations using classes and operator overloading.
  • Operators Overloading in C plus plus
    • Understand the operators overloading in c++
  • Overloading
    • To show how to use basic operator overloading. Please post comments good or bad lol..
  • pelib
  • Person class
    • To help learn how to use classes and objects
  • Person Class v1.1
    • Shows how to create objects on the free store
  • Polymorphism simplified
    • Comprehensive tutorial on one of C++'s
  • Printing the graph of a linear equation
    • This is a simple C++ class, that prints the graph of a linear equation in a console window.
  • Polymorphism
    • The Tree class has two virtual functions, Read and Display.
  • Process/CPU Scheduling Simulation (4 algorithms)
    • This was my Operating Systems Project for the Spring 2003 semester. It is very interesting and has a nice OOP (object oriented design). It simulates a CPU switching Processes and you can choose between 4 algorithms. this includes:
  • Plugin System (Allows Multiple Plugins, Automated Loading)
    • This is a plug-in system I created for my game engine. It can load multiple plug-ins and do all the 'dirty' work for you, in 1 line of code! Then all it takes is 1 more line to unload all of the plug-ins and clear the memory allocated for them. So all it takes is 2 lines for a plug-in system to work... The plug-in system can be modified to fit any specific plug-in structure you need. If you find this program usefull, please vote or comment. They are all welcome. You can use any of this code you want, just please give me a little credit.
  • PointerArray Template
    • Provides a template class for working with pointer arrays of any data type. I have always found Pointer arrays extremly usefull so this class makes allocation/deallocation easy so you don't have to worry about forgetting to deallocate all pointers,etc.
  • perfect'n complete link list
    • A complete and perfectly working link list with some unusual fuctions. This link linst contains all the function, one would ever need. Plz. vote for me, if u like it. A must see!!!!
  • Polymorphism Tutorial
    • This Tutorial explains Polymorphism and also with the help of a Disassembler shows how the compiler implements virtual functions while generating the Code.
  • A Print Program
    • Create a PrintFile object which will print a file. OR use the static methods Print_F to print file or Print_t to print text. This was a class that was used in a large program that I completed for a college assignment.
  • publictaion
    • programs relating to polymorphism concept
  • Palindrome22222
    • This program reads user input, stores it in a vector. Checks if the number make up a palindrome.
  • Queue Data Structure Implementation
    • PLEASE RATE THIS CODE
  • Rich Text Drawing,Printing Preview and Printing (GDI only)
    • Rich Text Drawing,Printing Preview and Printing (GDI only)
  • RL Tut7 : Database Handling
    • no framework is useful until database access, here is an application using RL that uses Microsoft Access Database, very easy to use. and dudes plz vote or comment at least i need to know what i am doing is worth to do :)
  • Reduced Fraction Calculator, Reducing a fraction, Reduce Fractions
    • User inputs a fraction, 2 / 12, and program calculates reduced fraction. Uses class structure, ignore the other class procedures they were a hwk assignment.
  • Rectangle Class
    • It allows for the manipulation of rectangles.
  • Remote Command Server for NT/2000/WIN9x
    • Remote control any NT/2000 server or WIN9x computer via command line with Remote Command Server. This server utility is a must have tool kit for programmers, systems administrators or any serious end-user.
  • Robot
    • Two robots can walk around on an adjustable grid. (step forward and change orientation) Robots are controlled via a seperate form.
  • a rational class
    • perform airthmetic operations on rational number using overloading operator. Get the Greatest common divisior and finds the roots using Newton's method.
  • ReturnType overloading practically!
    • It is not returnType overloading technically but
  • RTTI Examples
    • Explains About The Common Mistakes Commited By The Beginner
  • Sunrise Data Dictionary
    • The Sunrise Data Dictionary is a library for hash table storage of arbitrary data objects with lock-free lookups, built-in reference counting and guaranteed order iteration for the C programming language. The library can participate in external reference counting systems or use its own built-in reference counting. It comes with a variety of hash functions and allows the use of runtime supplied hash functions via callback mechanism. The API design is based on data encapsulation, it exports opaque datatypes to hide all implementation details. The source code is well documented.
  • SML tutorial and the new version of the source code
    • This icludes the SML's (Simple Machine Language)
  • sdate.h
    • This is a header file which allows us to perform various operations on the date field. Makes extensive use of operator overloading. Also takes care of leap year etc.
  • Stock Exchange
    • This program simulates a stock exchange system. There have some certain number of stocks to trade and throughout the program can view the transcation within it. Please rate it!
  • String Class (FString ver 1.3)
    • A fairly complete string class.
  • Stacks and Queues
    • To learn how the pointers works and how the memory operates...
  • Speeding up socket server connections with AcceptEx
    • When a server has to deal with lots of short lived client connections it's advisable to use the Microsoft extension function for WinSock, AcceptEx(), to accept connections. Creating a socket is a relatively "expensive" operation and by using AcceptEx() you can create the socket before the connection occurs rather than as it occurs, thus speeding the establishment of the connection. What's more, AcceptEx() can perform an initial data read at the same time as doing the connection establishment which means you can accept a connection and retrieve data with a single call.
  • Scientific and Numerical Calculator
    • The scientific calculator and numerical analysis calculator find all mathematical functions.
  • series of classes for a basic aol chat program
    • This is a series of classes for a basic aol chat program..I have written such a program and plan to upload it at the end of the summer..after I finish this mfc book....here is the underlying class framework though
  • ShortCutSample
    • Hi,
  • Sim_Car
    • This is a good learning tool. Uses a class to simulate the car. Good functions for making sure you can't accelerate without having the engine on, etc.
  • Smooth Vector Rotations AntiQuaternion
    • This is with use of my Vec3d class -- which is in my MultiVector classes -- search for that on www.planetsourcecode.com or goto www.daxxus.org/code to get it.
  • Subclass with Class (UPDATE)
    • This C++ class serves as a base class for subclassing any window the Object-Oriented-Programming way.
  • SDI/MDI MFC application in the Windows System Tray
    • This article describes the process of creating an application that is startup-hidden and is opened when clicking on the System Tray icon. The SDI VC++ v6.0 demo project is attached. The project demonstrates the use of a hidden window, a System Tray icon and a startup flipping prevent technique.
  • Sorting Algorithms in C
    • The computer will generate random lines, and the user will be able to choose from 6 sorting algorithms. Bubble Sort, Selection Sort, Insertion Sort, Heap Sort, Shell Sort, and Quick Sort. When the user has selected a sorting algorithm the computer will then sort the random lines using the algorithm chosen, and displays the total time it took to sort them. Very usefull in explaining the different sorting algorithms.
  • Sorting the numbers and alphabets in Class templates
    • Another assignment of my cource. please check it and vote me.
  • Subclassing a MessageBox
    • It is just a simple example on subclassing a MessageBox.
  • SelfDeleting Executable
    • This class (CKamikaze) deletes the executable or program from which its member functions are called. Note that this class is written for MFC, but it can be modified for Win32 (by replacing CString with LPCTSTR, and re-writing the CFile-dependent section with CreateFile()).
  • set class
    • it's a simple beginners set implementation code...it is good for OOP and bit operations exercise...
  • Standard Container
    • It's standard template container consist of Queue, Stack, PriorirtyQueue, LinkedList, List(Circle LinkedList) all these structures use Double Linked List. And this container also contains Vector(Dynamic Array)
  • String
    • Manipulate on String
  • Solitiare Game
    • A Simple Solitiare game. Easy to use and understand
  • Stack_Class
    • A simple stack class.
  • String Tokenizer Class
    • The class can be used to split strings into tokens. There are two minor drawbacks that I mention in the about file that enclose din the zip file. However, overall the class does it's job well. One of the great features is that you can export the Tokens as a vector.
  • Strutures and classes serialization deserialization
    • Serializes and deserializes an object or struct for ANSI C++. So far works with POD types. It doesn't work with MFC.
  • Time Namespace
    • I felt bad that I didn't submit anything lately. So I created a small namespace for time. It has a time class, stopwatch class, and pause function. Enjoy!
  • TEdit
    • A Free\MS DOS based ASCII text editor. Multiple pages (for larger documents), word wrapping, text colors, hanging indents, text searching capabilities, clipboard operations and a few graphical controls such as drop menus with shadow, simple dialog boxes (also shadowed) for saving and opening text files, about box and a message box asking if a user wants to save a file edited but not already saved and scroll bars. There still are a few annoying issues with keyboard navigation in the edit window. The CDialog control can contain buttons (push, check or option buttons), text and list boxes and control frames and can be dragged. The layout of the dialogs are easily customized. Uses text buffers (double buffers) for drawing off the screen, LPSTR and MString class (MString for dialog text boxes and searches, LPSTR string class for the main edit window). A screen saver function was attempted but it created some conflicts when running the application in DOS, still working on that... but probably should focus on polishing up what is already working (for the most part) I apologize ahead of time for the amount of code, probably 10-15% of the size is due to commenting.
  • tutorial on C plus plus
    • It gives a beginner an insight of c++ programming.
  • Timer
    • Compares execution time of Recursive and Iterative functions in this case Factorial.
  • Two easy to use sockets classes and demonstration of their use.
    • Contains two sockets classes, server and client. Demonstrates how to send commands to the server. The packaged server class supports execution of .exe's, file transfer back to the client and beeping. Yes beeping. We can't be serious all the time.
  • Time and Date Class with Example Program 2.0
    • This code declares and defines a time and date class which greatly simplifies all aspects of getting the system time. It also has a simple stopwatch. The example program uses functions (defined in the class) to display the time in 12 and 24 hour format and the date. It also demonstrates use of the stopwatch. It is fully compatible with MSVC++ and Borland. It uses preproccessor directives to define certain functions differently for both compilers. Please e-mail me to tell me if you like/dislike it. Please vote.
  • Templated Binary Tree Class
    • This is a Templated Binary Tree class. it include functions to add, remove, view Post Order, view Pre Order, view In order, destroy a sub tree, and search
  • templated linked list
    • This is a class that i wrote to do my own linked list using a templated struct and templated class. it incudes accessor functions and even a cheesy sort
  • TCHAR String Class
    • my Code creates a TCHAR string object with a full suite of operator overloads and member functions such as mid,left,right,and findStr. The previous add functionality akin to the most common vb character handling functions.
  • ThreadInClass
    • Hi,
  • TrayWnd
    • This is not the usual class to manage system tray.
  • TiC TaC ToE (A game)
    • Tic-Tac-Toe (Popular TicTacToe Game)
  • TrxRes Transaction Resolution
    • For implementing a fully-qualified Financial Transaction Resolution process in a banking environment or switching network. In other words, the Acquirer/Owner scheme for debit card transactions.
  • TurboGUI A GUI Framework for Turbo C/C plus plus
    • This is TurboGUI a GUI framework for Turbo C/C++. In this first version it provides basic objects such as Desktop,Window,Button,TextBox,CheckBox,Label and utility classes such as Mouse. Using this you can create a window with 2 or 3 lines and also you can manipulate the window like in Windows such as moving and closing.
  • Timer using classes
    • It is a timer program which is just like a stop watch.It starts from the initial value given by the user and ends after just after 1 minute of the value entered initially.
  • TIMER FINAL VERSION
    • IT IS A TIMER WHICH CAN WORK LIKE A STOP WATCH SHOWING TIME INTERVAL IN HOURS, MINUTES, SECONDS & MILLISECONDS IT CAN ALSO KEEP PREVIOUS 3 RECORDS OF END VALUES OF THE TIMER AND SETS ALL INVALID VALUES TO ZERO.
  • Time("H:MM:SS DD:MM:YYYY") Formater
    • To simplify time manipulation in C++.
  • TeeChart Point Series with Errorbars
    • This class allows one to create error bar series for of objects. To demonstrate the below program creates a graph will points with errorbars. I converted Delphi code taken from Steema suppport site to do this. See www.adampetrus.com for an example on how to use.
  • Tiny Log Engine
    • This is a very fast and easy-to-use logging engine. It has support for using event categories, event contexts, has a printf()-style method to write to the log. It can save textual & binary logs. The program comes with an MFC logviewer, wich can save the logs to HTML format with a configurable stylesheet. The TinyLogEngine is not finished, but it's pretty much usable right now. The main class is more or less C++ standard compatible, there's only two Win32 function in UpdateTime(). Please check out my homepage ( msi.uw.hu ) for more C++ and VB sources!
  • TicTacToe Game2222
    • Another of my simple games. The program is Object Oriented, easy 2 use an understand. I love designing games, if u like it, holla back iight. PeaceYoo.
  • Textcolor Class
    • This is a reusable class that can be used to change the text color inside of unix shells.
  • Unit of measurement
    • Implements a class that takes consideration of value's unit of mesasurement.
  • uzer Aol C plus plus Class
    • This code allows users who previously used Visual Basic to develope AOL Addons to begin using the more powerful C++. The code includes an aol class that allows aol functions like instant messaging, chat manipulation including sending text and ignoring other users and general functions that you would expect to find in an aol module for Visual Basic.
  • UNICODE / ANSI Window wrapper class
    • UNICODE / ANSI Window wrapper class -- the article explains more.
  • Using a Class
    • Hi folks... this is my first creation using a class. I've been working with C++ for about 1 week now. It's been tough trying to think VB and now switching that to C++. It is my opinion to anyone wanting to learn C++ to forget about learning MS Visual C++. I put off learning because MS made it look so complicated. I'm now using Dev C++ and so far it has been simple to follow and learn. Just unzip the source, and click on Main.cpp. Compile and run. This was compiled with MS VC++ and Dev C++ without errors. Good luck!.
  • Voter List Count
    • It is used to count the number of vote pooled and display it
  • Virtual Polymorphism
    • This simple program introduces you to Inheritence, Virtual functions, and basic Polymorphism concept.
  • Variant Class (FVariant ver 2)
    • A variant class supporting char,int,long,char*,double,bool,FString and void* (for pointers)
  • VSOCK Winsock Development Tutoral , SDK and VC plus plus Source Code
    • VSOCK WinSock SDK, API was developed to enhance and simplify the complex development of windows socket creation and management.
  • WinForms framework
    • This is a framework for creating WinForms functionality in c++ without the use of MFC or managed code. At present, the framework is capable of creating a window with a button. The following functionality has been implemented: Transparency (Form), tray icon (Form), file drop handling (Form), background image (Form), OnMouseOver events (Button), OnMouseLeave events (Button), OnClick events (Button). The framework utilizes subclassing, delegates (custom made), threading, thread synchronization (CRITICAL_SECTION), and other advanced concepts. Plans are to implement all commonly used controls at some point.
  • Win32 Tut2 : Adding Controls
    • adding basic controls to RL Frame
  • Win32 Tut3: Simple Event Handling
    • shows how to do simple event handling, a simple calculator that performs addition and subtraction of two numbers, uses textbox and buttons
  • Win32 Tut4: Some More Event Handling
    • shows how to handle some more events like mouse move, click, drag, key press, frame unload etc
  • Win32 Tut5: A Lot of Graphics
    • Wonderful Graphics and Colors :), code is commented whereever needed. please comment and vote. for more documentation visit my website. anyone having experience with threads or networking and can provide a nice small class for handling them that can work with RL, please contact me at ashwanisoft@yahoo.com, enjoy graphics
  • Word Search Solver Class w/ Example
    • This code solves a word search, it comes with a class as well as a text based example usage of the class.
  • Weather
    • Loads a month worth of data from a data file. Outputs, using a Class, Average daily tempature, precip, ect.
  • window exit effects
    • /********************************************
  • Windows Details
    • This Code basically displays your
  • Win32 Timer Classes
    • Provides a base GenericTimer class with Start/Stop/Pause/GetElapsedTime and statistics member functions. The base class does not do the actual time calculation, but leaves it up to derived classes that can use their own method of calculating elapsed time.

  • Window Wrapper Class
    • Wraps up the window functions, reducing the crappy, long-winded window init code into two lines.
  • Windows Style for DOS
    • This header file helps one to add forms, windows, command buttons etc to dos applications with mouse programming. all the necessary functions are incorporated. few projects have already been submitted designed and made operational with the same , this is open and can be altered as you wish.
  • Winsock TCP Client Classes
    • It?s a TCP Client that connect, send anda receive data
  • CMenu a menu class for DOS
    • The CMenu class is a fully operational, dynamic class for creating menus in DOS.

  • PT Extensions, command line
    • PT Extensions implement a very useful and intuitively designed system for handling command line arguments. This code should be extremely portable and should run on nearly any OS. I have only tested it in MSVC 6.0 Pro on window XP. Please leave comments if you find this useful.
  • PT Extensions: HTTP, SMTP addresses
  • PTExtensions: serialize and unserialize
    • This portion of PT Extensions allows a coder to serialize an object into a string object for storage to a device (file). The program can than retrieve the data at a later point in time (or when run again) and re-instate the object into memory. This is an effective way of storing data to a drive without necessarily writing file parsing code.
Personal tools