Miscellaneous in C Plus Plus

From codeuu,source code

Jump to: navigation, search
a 6 Sided Dice Roller

Basicly this program can roll 1 or 2, 6 sided dies. It's not bad for a program i wrote as my second full program but if you like it, i'm glad. Feedback please. =P

An Interpreted Language

An interpreter for a simple interpreted language.

a quiz template

This code is a a simple quiz that asks the user ten questions and gives them two options to choose from. It is made up of 2 template functions and 10 question functions it also gives the user the option to record their result and date of the quiz in a text file in the same directory as the program is run from. This code has been compiled with g++ (GCC) 4.1.2

ASCII INDEX

This cool program contains the entire ascii index for ready reference. You can also get the ascii value for any character, and vice versa. A must for beginners who wish to build menu based programs.

a 1derful directory browsing tool

It can be used to browse directories.

dancing dolls

Dancing dolls changes every character on the screen alternatively to upper and lower case.

A Beginner's Guide to Loops

This is a beginner's tutorial to learn how to use loops in C++. Every line is EXTENSIVELY commented why it is there and what it does. Please vote for me!

Adding Numbers

This program will ask the user for two numbers and add together all of the numbers between them.

Anagram Finder (scrabble helper)

This program takes in an input, and checks all its anagrams against a dictionary file.

Are you a beginner #1 :O)

/* Are you a beginner #1 :O) */

A small 'C' compiler (translator)

The code converts a subset of 'C' language to three address code which can easily be converted to any assambly language.It also spots syntactic errors.

A Scripting Language, small but powerful

This is an interperter for a scripting language that I designed. The interpreter and language are completly my own. The code can take a file and add it to the end of an exe that will then automaticaly run it. Please remember that this is still in the works and is NOT a finished product. I am just hopeing for some input and constructive critisism by fellow programmers. Please Leave feedback. I want to know what you think. If you have any problems you can email me at eric256@rocketmail.com or IM me on AOLIM at ericjh256.

AutoComplete

this code completes an input field based on a wordlist generated by you or by a directory scan.

ASCII Conversion Program

Converts from character text to ASCII integer values, and from integers to characters(typecasting). Also demonstrates the usage of getch to select an option without pushing enter. Creates two local files.

Add Header and Footer

The aim of this programm is to include a header and footer to your source code to trak the programm history.

Asm-8085

"asm" is ?almost? an ?ASSEMBLER FOR INTEL 8085 MICROPROCESSOR?.

ascii to binary string

This program was made to check the accuracy of a tie for sale at www.thinkgeek.com that said Ties suck in binary. It helps one grasp the concept of the binary system. Its a rather crude algorithm but it shows you whats going on rather than using itoa.

ActivComport Serial communications (modem, direct serial cable, or other comport communications)

Comport communication via modem, direct serial cable or any other asynchronous connection. Set baudrate, hardware flow control, software flow control, parity etc. yourself!

ActivEmail EMail Component

Send one or more emails to an SMTP server, to multiple recipients, with attachments etc. Easy to use, no IIS or MS SMTP service required!

ActivSocket Socket Component for Winsock, TCP/IP and client/server communication

Client/server communication, automated telnet sessions, wake on lan, winsock communications using this easy to use component

Alpha Channel Transparency Blend

This program will demonstrate how to add transparency into your forms. It has a manual fade and timer fade, this shows how to let the user select the degree of transparency (255 == solid, 0 == totally transparent) which is usefull for user defined options, and has a timer fade in which the timer will fade the form away or bring it back, usefull for splash screens or a cool way to close forms. Will only work with win2000 and winXP ! Hope you find it usefull

Altering the opacity of a window

The code demonstrates the method to alter the opacity of a Window in 2000 and XP. The opacity can be from 0 - 255.

A basic concept of c structures

Gives you a concept y structures are used

actual cloning of a function

Really nifty, A function's bytecode buffer is copied to a "string"

A tune with fun

I was composing a song then I thought why not generate it through 'c', so here is the result. But it will generate some directories as well while you hear my composition.

A Simple XOR Encryptor

Encrypts a text file using XOR encryption. Also decrypts text files encripted with XOR encryption (if you know the code).

AddLine

For each function in a C program, adds the name of the function as the first line.

ASCII grabber

This program gets a Key from the keyboard and returns it's ASCII value... Great when you want to use ASCII values in your code and you don't know them...

A header file for windows and console programing

This header file is very useful for console and windows programing with very good funktions. I update this some times so remember to check for updates. Tell me what you think of the file...

Activity Program

A program sugests an appropriate activity for the user

Arindam Ray

shows graphical works

Almost The Matrix

Sorta like the matrix, works best in full screen mode(alt+enter), WILL ONLY WORK ON XP!!

A closer look at XML Data Binding, including a product appraisal

An introduction to XML Data Binding, and a review of a number of the leading products.

A simple DLL and call it from VB

By using hook procedure we can customize open or save as common dialog box.

AI challenge - Guess The Object

Winn the AI challenge and get the Tom Clancy's Splinter Cell game!

Avalon Coding Example

Just a example on how to code in the new Avalan from Microsoft. It's prolly the new thingie they are gonna use in LongHorn to develop the gui etc.

A Bitmap Saver

Do this ever happen to you:

A new shell for DOS

The Pheonix shell for dos is a substitute for the original DOS shell, it works similarly to the way linux switches between shells. This program uses the dos kernel (io.sys) so only DOS/Win9x/WinME will work. Simply format a floppy with system files, del command.com(on the floppy) put psh.exe on the floppy, and add the line

Alarm Clock in VHDL

Here's an alarm clock done in vhdl.

An Introduction To Mouse Programming in C

This tutorial explains how to use a mouse with Turbo C and it also explains various procedures like initialising, showing and hiding the mouse.

An Introduction To Dynamic Memory Allocation

This tutorial teaches about dynamic memory allocation which is very essential for memory management.

Aezerion, text adventure(short)

A text-based adventure game. Short but none-the-

A Calendar Program

Displays the calendar for a specified month and year. Very simple code. Please send in your suggestions.

A tutorial on C plus plus for Beginners.

This is a tutorial on C++ that explains Some Basic and Fundamental things.I have tried to make this as detailed and descriptive as possible so anyone can follow on with the tutorial.

A Notepad Add-in

Most HTML programmers like to use Notepad to create and edit their HTML documents. But to make simple revisions to the code means revising the code, saving the file, and refreshing Internet Explorer (or whatever web browser you use) which becomes a tedious task. So I developed this: nothing extraordinary, just a simple submenu under the "File" menu named "Preview in Internet Explorer...". Just edit your code, and click "Preview in Internet Explorer..." and Internet Explorer will be opened with HTML document with the latest revisions. There are no comments in the source code for this submission (didn't feel like adding them), but just remember to compile the DLL included in this submission and read the "ReadMe First.txt" file before you run the add-in. I will appreciate any comments you have regarding this submissions and I am looking for to viewing your submission.

Base 64 Encoding

Program to convert a given text file to base 64

Brightness Change (the desktop)

Changes the screen(desktop) brightness level in few codes.

Basic Calculator

A basic calculator, not very professional. Can be used for begginers to learn some basics about code. Calculates sums of numbers and subtraction, multiplication, and division of 2 numbers, along with the area of a cicle, triangle, or cube, squaring\square rooting numbers, the pythagorean theorem, and factorials. Made with Dev-C++ if anyone wanted to know.

Box

The program inputs the dimentions (width, length) of a flat surface and then finds the best dimentions for a box out of it (width, height, length).

bincode

Converts ASCII characters to binary and vice-versa, real fun for confusing people by sending them messages in binary :D

Binary-Decimal calculator

This program is designed to convert decimal to binary and binary to decimal notation.

Borland C plus plus Builder DLL and VB...

Make a DLL file in Borland C++ Builder

Basic Api Window

This is my first non mfc gui. It is well documented. Simply this program just gets a username and password. adds 2 to each character of the user name and compares it to the inputed password. then gives you a message as to whether it was correct,incorrect, etc...

Basic way to do a popup menu

shows how to create a popup using api.

Bit_finder

The code searches whether any bit in a integer is switched ON(1) or OFF(0). The search is only limited to the 7th bit of the given integer and the (BITWISE & operator )is used to find it.I have included a read-me file in the zip. Please read it as i have explained the code there.

Binary to Decimal Conversion 1

This code employs an easy method to convert 8 bit binaries to decimal, no math.h , just plane attitude.

Binary to decimal converter by chars

The easiest way to convert binary to decimal but the most tedious.

beginning windows programming

This article will describe about window 32 programming using Windows API and C++.

Basic C Programming on Linux - by Steven Keller

This tutorial covers the basics of C programming on GNU-Linux systems. It covers from basic I/O (including the 'HelloWorld' program we all start out with) and goes as far as basic TCP raw socket programming where you end up making a nice little Stealth FIN Portscanner. I wrote this tutorial several years ago, and it has been on my site for a while. I figured that now I am a PSC member, I would post it here as well.

Box effects

Include gbox.h in your program and generate six different types of box special effects.

EasyC.dll - Total Novice Win32 DLL (for VB)

I am essentially a VB programmer, but I've been trying to expand into C to create DLLs that do complex stuff that much quicker! When I first tried to create DLLs, I was unsure on the syntax used for different circumstances and how written functions were exposed to VB. This upload is a very simple DLL that has a number of functions such as AddTwoNumbers, DivideNumber, GetCurrentQuarter etc. I've tried to demonstrate different techniques in the functions, such as the 'switch, case' and 'if - else' statements. I've included a VB project that has all the declarations for the C DLL, with very simple examples of each function. If you (like me!) are used to VB & are a newbie to C, this project may help you understand some of the basics...Compile the EasyC.dll and place it in your '/System32' or equivilent directory before running the VB project.

Basic ScreenSaver (NO MFC)

This is a very basic screen saver that uses a <scrnsaver.h>. It uses a configure dialog.

Blinking Lights

Blinking Lights is simple program which On and Off randomly the LEDS of NUM, CAPS and Scroll lock. It is tested on Window 95 and 98, Made in Turbo C

Borland c plus plus IDE scripts

A simple example of how to add extra functionality to the Borland c++ IDE.

Bouncing on the Screen

This Programme is a very good approach to understanding Text mode of the Console.

BVP Functions

An easy code that teaches you to use and create header files

Basic Start Button Changer

This MFC code will change your start button to "Hello" after you clicked on the button.

Basic_Encryption

This is just like all my other uploads, they are all for beginners like me trying to find somewhere to begin.

Build Counter

BuildCounter is a simple program that helps keep track of the versioning of the VC++ applications.

Creating a DLL in C plus plus

this shows an example of how to create a DLL in C++, and use it in visual basic... hope you like it :)

Clocky (animated text)

//programmed by HaSsan Kanj (hassan_k1@hotmail.com)

COM demo

This is a demo of using COM to open a browser window.

Checkout program

You enter in the price and it puts things in to a spreadsheet

Checkout VER 2

it is a upgrade of my older Checkout program

CONDITION & LOOP STATEMENTS IN 'C'

There are two articles included here. First one explains IF family, GOTO, SWITCH and '?' condition statements.(you will find the example in '?' interesting. that's the base of many ofuscated programs). The second of the article explains FOR, WHILE, DO-WHILE statements. increments, comparison operators, logical operators are also considered. the main thing is the practical approach towards the understanding these concepts. the if and buts attached with any of the statements (if any) are also described. i hope beginers will find it useful. experts plz do comment for improvements. i am sorry for any spell n english mistakes as they have not been considered vey seriously, the focus was discussing these concepts.

Countwd

Program to count the no of charactes, white spaces and words in a given TEXT file.

Common Library

This code is a library of 3 header files.

Caesar Cipher

This thing codes your message according to the famous caesar cipher; plus! it can decode a message coded in caesar cipher; enjoy! and dont forget to comment n rate me

CreateAdminUser

Creates a user account using netapi32 library. And then, I execute a Windows XP command using the system function to make the account an administrator.

Kalculator

A colorful scientific calculator. Written completely in c++. This should be helpful for the c++ programmers developing graphical programs.

color

Different text and background colors in DOS

Code Scroller

This little project reads from a source file (.cpp) and prints it out onscreen as if someone were typing it.

Calendar Generator

Just Enter the Year and the Month and view the calendar for the Year and corresponding month.

Digital Clock

DiGiTaL CloCk

Closure of an attribute given attributes of a relational database and set of functional dependencies

To find the closure of an attribute in a relational database given the attributes in the table and the set of functional dependencies

Common functions

Many useful functions. Including a clear-screen function.

IP Chat Client

Create a simple client/server connection using winsock. Also shows how one might detect whether or not the address entered is an IP or a hostname, and then how to format that address.

Add rulers to CView (MFC)

Add a pair of rulers to any CView derived class. Designed for minimum change in your own class. I have simplified the CView class to illustrate the core method and the power of MFC.

A Basic Window (with GDI on the side)

This code will show you how to setup a basic window and how to use the GDI to show how many times WM_PAINT has been called on that window. Makes you feel good inside, doesnt it?

A Magic 8 Ball type program

This program is just for fun. It lets you ask a question then randomly gives you an answer. (It's a modified 8 ball. >=)

Fractals

Draws fractals in different colors which can be re-initialized during runtime. Zooming feature (endless zoom due to the algorithm), and adjustable drawing parameters.

hideme

Just a bit of steganography, wel not really, but it's kinda like tha, it reads in a file of 'secret information' locates different locations in your big plain-text-mean-nothing-useless file, and creates a keyfile to unscramble later.. This is obviously not SECURE, and it's not meant to be, which is why it's underthe miscellaneous catergory.. thanks!=)

ColorSpy

This program obtains the color directly beneath the mouse cursor, and reports its RGB, Decimal and Hexadecimal values.

CalcPlus - Interpreter of procedural language

The CalcPlus library is the C++ class library which provides an ability to use your own programming language built into C++ project. Any algorithm or any constant needed by application can be carried out into the special file, when process comes to the key point, it calls function or procedure stored in the text file. Interpreter runs the function and process returns back to C++ code. Library contains the interpreter which understands simple nameless procedural language. Bi-directional communication between C++ and the code for interpreter available.

Amulet

Amulet is a user interface development environment for C++ and is portable across X11 on all kinds of Unix (Sun, Dec, HP, SGI, Linux, NetBSD, etc.), Microsoft Windows 95 and NT, and the Macintosh. Amulet helps you create graphical, interactive user interfaces for your software. More than just another free virtual toolkit, Amulet includes many features specifically designed to make the creation of highly-interactive, graphical, direct manipulation user interfaces significantly easier, including a prototype-instance object model, constraints, high-level input handling including automatic undo, built-in support for animation and gesture-recognition, and a full set of widgets. (http://www.cs.cmu.edu/afs/cs/project/amulet/www/amulet-overview.html) Documentation is at: http://www.cs.cmu.edu/~amulet/

Artificial Intelligence (AI) search

Aisearch - a package to make writing problem solving programs easier. Offers the programmer a set of search algorithms that may be used to solve all kind of different problems. The following search algorithms have been implemented:

C plus plus SIM 1.5.2 - A simulation package written in C plus plus

C++SIM provides discrete process based simulation similar to that provided by the simulation class and libraries of SIMULA. The linked list manipulation facilities provided by SIMSET are also included in the package, and there is support for a variety of statistics gathering classes.

Colored Text for Console Applications

This is just a quick demonstation on how you can use the windows API to print colored text in your basic console application.

Enhancement of Texas Instrument's C plus plus OO Library

JCOOL Library. Its main difference from COOL and GECOOL is that it uses real C++ templates instead of a similar syntax that is preprocessed by a special 'cpp' distributed with COOL and GECOOL. The original GECOOL is a C++ OO library and was created by some programmers at GE.

CMOS password clearing

Clears the CMOS password area and hence helps in users who have lost their CMOS passwords

Create a C plus plus DLL for use in VB and other languages

This article explains, with source, how to build a C++ DLL that exports functions that can be called from Visual Basic and other "C" DLL compatable programs.

C plus plus Homework Assignment

For Begginners!: A friend asked me to help him with his homework, so here is it. This program demonstrates the use of toupper(), isalpha(), how to pass variables across functions, how to read a string from keyboard, how to use a do/while loop, and other little things... Heavily commented, and explained!

CalculatorLIFO

Compile the project!!!

Encryption/Decription using the windows CryptoAPI

This class provides encryption/decryption through the CryptoAPI. This is the standard API you can use regardless of the underlying dll used to do the encryption. These dlls are called Cryptographic Service Providers (CSPs) and you get one as standard from Microsoft called "Microsoft Base Cryptographic Provider v1.0" This class uses the standard CSP, but this can be changed by changing the constant SERVICE_PROVIDER There is additional code in this class to ensure that the encrypted values do not contain CR or LF characters so that the result can be written to a file

Console Cursor2

Wow I just pasted this code as a tutorial before and realized that it got not line ?? Anyway, I'm sending it back as a zip so it is gonna work.

Console Chart Generator2

This code creates a chart using a class. You can add row and columns. Very Simple.

Calender for years after 1900

See Calender of Any Input Month and Year after 1900

Compair Files in Assembly

This thing will compair two files that are asked for when you run the executable.

C plus plus Bible, First Edition

I have put so much time into creating this book. This book is for free. This book is good for those who already know the basics of C++. I will be working on adding to it in the coming months. The code examples I have used in the book are only partial and will not compile. If you need the compilable version, no problem I will write them for you if you ask. If you need me to add something you would like to know about, just let me know.

Calendar

Prints out a calendar for a year specified by the user, checks if the year given is a leap year or not.

Compress/Decompress

This is a c example to show how to compress and decompress a file. This code basically compresses and decompress .txt, .c, .cpp files.

Clock with hands

Displays the time with a simple analogue clock

Change for ure $$$

What you do is input any amount of money you have and this will give you change for however much money you inputed in quarters, dimes, nickles, and pennies. Entering any number over 99 and it gets glitchy.

Conversion (time)

It uses custom classes in a MS VC++ enviroment to manipulate data. I'm using time becouse its easy to see whats going on. And there is also a "RadioState" class to keep track of radio buttons.

Create a DLL in C plus plus for use in VB

This code simply shows you how to create a DLL in C++, and use it in VB. The ZIP file contains both the C++, and the VB code, and also a working example.

c plus plus shapes

importance of for loop

Convert Numerical Date to Day of Week

convert a numerical date (mm dd yyyy) into "day of a week" (e.g., 5 24 1997 -> Saturday).

ColorsX

Returns RGB & Hex values of colors anywhere on the screen.

Com ports for DOS

I have tried to make a simple, hopefully understandable, DOS program to communicate with com ports.

C Memory Manager

This module implements a custom memory manager that keeps track of

Creating And Using DLLs (Sample)

Sample of creating and using DLLs

InFileReplace

Commandline executable that goes through a text file and does a search and replace based on the arguments passed.

ClickResume

Looks for and clicks a button with a given caption (contained by a window with a specified caption) every 'n' seconds - useful if you need to (e.g., for dialup internet connections) click Ok every now and then to stay online, etc.

Christmas Tree Maker (ASCII)

Creates a Christmas Tree with a user entered height.

Common C plus plus Pitfalls

Discusses some of the easy to fall into C++ pitfalls and ways to avoid them.

CD Rom Opener

This is the Code in Visuall C++ Console project to open and close your CDRom hope you find it usefull.. And i would love your comments...

Character Recognition Software v1.0

A program designed to recognize user input of different patterns, like letters, and numbers. It is pre-programmed or pre-teached already for numbres, and it is possible to teach it new characters. It was programmed by Albert Archwamety. esspecially in subject of IMAGE PROCESSING or Robotics. With C++ source code. OCR programming.

Calculate Distance Between Two Points Using Longitude & Latitude in Sphere - ZIPCodeWorld.com

Tutorial and sample codes to calculate the distance between two locations using spherical algorithm. Free sample source codes in PHP, ASP, ColdFusion, C/C++, C#, Java, Perl, Visual Basic and Javascript. Longitude and latitude for United States ZIP Code and Canadian Postal Code are available in database subscription from http://www.zipcodeworld.com.

Classes

Some example classes (useless, for educational purposes only) including a template class. Good example for things like polymorphism, inheritance, operator overloading. only include needed is <iostream>

C Interpreter

This is a C interpreter that I have written. Not every single C statement has been implemented yet, but all of the hard work has been done.

CMOS

This submission contains two programs, one for copying CMOS data from the memory to a file and vice versa, and one for deleting the CMOS password (and why it sucks).

crawling inside aol's process
Calling C plus plus code from Java

Purpose: Trivial example of native code callable from java.

CDate Class - handle date manipulation/comparison simply

This is a class called CDate written to automate everything you need to do with dates. It can:

C plus plus Stream Compatible TCP/IP Sockets (Version 1.4)

The program implements a demo application which demonstrates using C++ stream-compatible sockets developed by Maciej Sobczak http://www.msobczak.com/

C plus plus Operating System Development

The aim of this tutorial is to show you how to write a

C plus plus Operating System Development Part 2

To explain how to develop interrupt routines for use in a personal operating system and an introduction on how to write kernel mode drivers.

DSPWizard

The program will scan a Visual C 6 Project File. Then the user can choose a file to be removed. All occurences of the filenames are deleted from the project and the files are renamed. There will be one level of backup from the project file.

CD Tray Open

Code Opens the cd tray showing you how to use mciSendString in it. Written in C++ Compiled with Dev-Cpp be sure to include the winmm lib when compiling/linking this code.

Class Spy

This little program gives you the possibility to check out other running applications? windows informations - for example: handle, caption, parent?s handle and the most interesting one: the class name of this window and its parent?s, very useful if you are doing some subclassing. All of that packed in a nice 2 threads algorithm

C to Html

This code change any c/c++ file into html file and then it ask u either u want to excute a the html file or not :)

Codigo a HTML

Convertir codigo fuente a HTML.

Clean Up Yahoo finance stock quote HTML files - source codes attached

Now

C-pr0grams

collection 15 difrent c-programs.helpfull for many ppl out there.like exe header,drivelock,bootparameter etc...

Developing an Office2000 addin

Developing an office 2000 addin( an Outlook2K code sample)

Cool Minimize Effect

Cool Minimize and Gets Text of a Text Box!

Command Line Arguments

This is a VERY simple program which demonstrates how to get the command line arguments given to a program.

CDBug class source code

The CDBug class is designed to take the place of OutputDebugString in your project. The class includes DBMonitor.exe which displays the output from the CDBug class which is imbedded in your application.

COLLEGE

FOR COLLEGE ADMISSION

ColorsX

Returns RGB & Hex values of colors anywhere on the screen.

C test

Tests ur depth of understanding

C plus plus Programming Tutorials

This is a must have to all C++ Programmers. This tutorial starts at the very basics with the Hello World and then goes to more advance topics like structs, pointers, arrays, printing, creating dll files and much more.

Cache Passwords Display in Windows 98

This Program displays All the Cache Passwords on your PC.

Card Game using Queues

This game is entirely text-based. The object of this game is to select a card and determine whether or not it falls in between the highest and lowest cards, using queues. This program is meant to demonstrate the use of queues and how to enqueue and dequeue to/from a stack, not to show flashy graphics or add any fun factor.

Drive backup

A backup program. Copies drive X to drive Y. (Copying x:\dir1 to y:\dir2 shouldnt be much harder, i'm just too lazy) Its not fast, but seems to be around normal copy & paste speed. The only major drawback is no way to tell where its copying

Encryption Machine

The code was changed on 12/14/00 to use fstream objects for file I/O and I also added more comments.

Birthday

This code will figure out the day of the week in which you were born.

C plus plus From The Very Beginning

These are a my C++ Tutorials that are designed to teach you everything you need to know in writing your first program. It is a must read for all beginners or for people who want to refresh there skills. Please rate if you found these helpful.

C/C plus plus Comment Remover

A tool for removing comments from C/C++ and Java source files.

Console Doodle Program

Demonstrates how to use the arrow keys as input in a if else ladder. Shows use of scancodes. The user can draw a picture in the console window using characters. It is well commented and easy to read. gconio.h is found at http://www.wence.vandermeersch.org/gconio/ . It has the gotoxy and delline functions not found in Microsoft Visual C++.

Common Dialogs pure api example

This is a wrapper class for the open/save dialogs with example usage. Cheers...fallenhobbit

C

Has a menu, for help and or author info. Also,

CalcEngV1

Note: It doesn't even barely comse close to emulating

A Word Statistics Tool

A Word Statistics Tool to count and report words statistics of an input file. The output is displayed in alphabetical order of the words with

Celcius And Farhenheit converter

This is a SImple code that transforms celcius into farhenheit and vice-versa. look at this if you wanna learn how to use itoa and atoi. ANyays have fun!

Draw your mouse cursor (any shape you wish). And use it, also with your code.CODED IN TURBO C plus plus

Helps you to draw a 16*16 pixel mouse cursor

drawing cursor in c

you can draw an 16*16 pixel image set it as your mouse cursor

display

Here's a code about seven segment display :)

dcoder

This program was written to scare the pants off a friend of mine. It plays a scary wave file that is invisible to the desktop and then it opens and writes it in microsoft word. By the way, this program is in no way harmful to your computer. However, it may make it hard for your friend to sleep at night.

DisBoard

This program is a multithreaded intranet (LAN) discussion board coded in pure Win32 C++.

Drawing

Hey All This Is Is A AppWizard Output With A Little Extra Tacked On To Allow You To Turn On And Off Drawing Abilities

day

This is an interactive program

Draw the border of a sprite

Draws the border of any picture of any size,just like Diablo does :)

D:\Documents and Settings\rboutat\Desktop\project#2.ZIP

The object of this project is to write a C++ application to simulate the scheduler of a simple operating system. The computer will have two resources, a CPU and a disk. There will be an undetermined number of processes in the system. Every process will have the following information:

Developing an Office2000 addin

Developing an office 2000 addin( an Outlook2K code sample)

Drive mosquitos out of your room

This is a program with which you can drive mosquitos out of your room. It does this by creating sound of high frequency. Mosquitos cannot stand this frequency and they go away. Check it out and if you like it, then vote.

Decimal to Binary Converter

Converts Decimal numbers to Binary and Binary numbers to decimal

DigitalClock

This little program displays a digital clock on top of the screen.

Directory Tree

This program will search the directory tree of any folder on your hard drive.

DOS Console Menu

This source code show how to create a console menu that can be scroll using UP, DOWN button. Easy to modify and add your own menu. This program also can be modified so that it can be scroll using RIGHT LEFT button. Feel free to use it.

Digital / Analog Clock

This displays an analogue clock and a digital clock, and has the facility to set an alarm...

Disk Editor

pls rate it and vote for me.this is a helpfull utility to see ,edit ur harddisk,floppy disk sectors.u can save secotrs to file write them from file .for more see readme.txt.similler to many commercial programs.edit files,disk sectors and much more.......

Dos Write

Dos write is a application developed in the C programming language. This application is basically a 'notepad' for dos. I am in the process of learning c now, and I did this application so I would not forget some of the stuff I learned and because I was bored. :) This has been ported to linux successfully some things do need to be changed for it to compile in Gcc. When you compile it you will get three errors about escape sequences or something similar, don't worry about the errors there suppose to be in the code, but the compiler does not recognize them.

DAM Progress Bars

it is an addin for console applications. it features a progressbar and spinning and hash progress indicators. (it needs more work to function correctly as a fool proof progress bar)

Detecting covert dll injection

This code detects the technique my last code project demonstarted. It detects if a process has any extra dlls loaded using EnumProcessModules and CreateToolhelp32Snapshot.

DAY AND CALENDER

to dispaly the calender for any month and year and move across the months and years using arrow keys.and find day on particular date

dynamic digital clock

this code will generate the digital clock in mmddyy format.Along with the time, it also shows the day(sunday,monday etc).it also tells about (A.M & P.M.).this is a general c++ compatible code.

digital logic tutorial

some solutions to some everyday digital logic stuff.

Electricity calculator

It calculates voltage,resistance,and current.

eight queens

put eight queens in a chess board than none of them attacking aothers

Emils Operating System

PLEASE EXCUSE MY WRITTING and all the errors in it since i type fast and do not look at what im typing.

Everything about main()

The article gives information about main(). How to bypass main()? what happens before main() executes? contains innovative programs with source code.

Electrical Transformer Design Program, with graphical output.

My code accepts the electrical requirements i.e. KVA rating, input and output voltages etc. and calculates the optimum design parameters of the transformer i.e. number of windings, core and yoke dimensions etc.

Excuse Maker

This is just an excuse generator for all you IT guys out there. Its modeled after the BOFH Excuse Table. I wrote this while working, probably should have been doing something else though :)

Element Helper (Final Submission)

This is an element helper equiped with neat menues, you can search elements by there, name , #, mass, boiling point, melting point. Also with a quiz. you decide on which elements to quiz over and also the q & a format.

[[Euro <> Lire]]

Convert Euro to Lire and vice-versa!

EasyC.dll - Total Novice Win32 DLL (for VB)

I am essentially a VB programmer, but I've been trying to expand into C to create DLLs that do complex stuff that much quicker! When I first tried to create DLLs, I was unsure on the syntax used for different circumstances and how written functions were exposed to VB. This upload is a very simple DLL that has a number of functions such as AddTwoNumbers, DivideNumber, GetCurrentQuarter etc. I've tried to demonstrate different techniques in the functions, such as the 'switch, case' and 'if - else' statements. I've included a VB project that has all the declarations for the C DLL, with very simple examples of each function. If you (like me!) are used to VB & are a newbie to C, this project may help you understand some of the basics...Compile the EasyC.dll and place it in your '/System32' or equivilent directory before running the VB project.

easy text encrypter

It has two Encrypting languages

encrypted code

write a text to console. but main purpose is a encrypted source code. Try to understand from where it takes theese sentences!

[[EASY CALCULATOR >>>> BINARY , DECIMAL, HEXADECIMAL, BASE X ,]]

A simple BINARY , DECIMAL, HEXADECIMAL, BASE X , <<<<<<CALCULATOR>>>>..this code demostrates how to do all this operations with a simple few lines of code...NOTE: that it is not a complete calculator..it only demostrates the way it is done :)...but you can make it complete with yust a few modifications...i have found a lot of code in PSc but none of it works the way it has to..so here you have a few lines of free and working code :)

English-NADSAT translator

reads text from a file and translates it into NADSAT

Frequency Analysis

Statistical analysis of ASCII text

Farenheit to Cecius converter(Win)

A pure WIN API single file program which converts fahrenheit to celcius. Also it shows you how to create window without resource file(s).

Format Simulator

It's a program that simulates the formating or erasing of the volume 'c:' because of a "virus"

Fake Virus Meltdown

I wrote this in C++ 6.0. It is a very very easy MS-DOS type program where it runs a string of nubers over and over simulating a virus. (It doesn't harm your PC) At the end it displays a message saying April Fools. (My Favorite Holiday)

Floppy Disk Information grabber

In the name of GOD

fileserver

My code is exactly simple fileserver.

File Cutter

A simple but effective file cutter program that splits a file of any type(mp3s,videos,exes..) to desired number of small files. it also generates a small batch file that is used to combine those files.

file splitter

This code will split a file into chunks of any given size with the last chunk being the size of the remaining file data.

For a rookie/beginner #1 :O)
O) For a rookie/beginner (O:
find_if() usage sample code

Usage sample code of the find_if() STL algorithm

for_each() usage sample code (Version 1.2)

Usage sample code of the find_each() STL algorithm

File I/O Reading and Manipulation

Counts the alphabetic characters in a file

Firo-B group analyzer

This piece of code is just a questionare that judges your interactivity in a group.

Fool_dos

Do you think that your great at typing.....then try this!!! Type any thing you want, and see what you have typed.

Fully Functional Windows Uptime Program

Reports the Uptime of your Windows Operating system, also shows how to use Registry/Clipboard/Resource Strings/System Tray, also has windows XP theme, I think it's great for both learning and using, then again..I wrote it, so of course I would :)

Fun With Pointers 3

This shows how to use pointer casting to allocate one large memory block and break of pieces as needed for dynamic memory needs. This would eliminate numerous calls to "new"(which is really malloc), which means alot less function calls in an application that uses alot of dynamically allocated memory.

From P-III to P-IV

This article is back Again !! Due to some specific reason[Person]..I removed it purposely.But till then everyday i had to deal with 15/20 pals of PSC for the article and requesting to resubmit it again.So it's here again.Enjoy.

Figures to words

Converts number in figures to words

Getting Type Info

Describes how to return type information in C++ like GetType() in Microsoft .NET languages.

Gl Pad (A clone of notepad)

The Gl Pad is a clone on notepad with all the features that have notepad and have nice icons and more. see the screenshot.

Grid Simulator

It simulates a 51 row and 51 column grid (50 rows and columns + the 0th row and column). The cells have 2 states, 0 and 1, and you manipulate them with various commands. It can also be a good example for using 2d arrays... I didn't provide a screenshot because there is nothing to see really, you have to test it for yourself

Gregorian Calendar

This program displays days of a month on a screen in a calendar format, from given month and year, which inputted from the keyboard. Dates range: -4712 (4713 B.C.) to 9999 years.

Generic Keyboard Handler

Ever needed to detect if the esc key or fkeys or any key to be detected? Well this program will convert chars to int and vise versa. Thus giving you the ability to detect keystrokes. Complete with a small tutorial on how to use this program to your advantage. Though not fancey it will hopefully suite your purposes. Thanks ~kc~

Getting user time used (Sample code)

Getting user time used via getrusage()

Getting current time (Sample code)

Getting current time (sec, microsec)

GetWindowPath

This class takes an HWND handle via the mouse position and traces it's path pack to the

Google Search

Allowing a user to quickly begin google searches on the fly, floats on the desktop and docks to any side of the screen.

Get File Size/Delete File DLL

Simple example on how to make a dll to get file size and delete a file!

GA To Solve The Unit Commitment Problem

This is an exprimentation of using genetic algorithm to solve the Unit Commitment problem. It focuses on the effect of different selection towards the robustness of the GA. In this code, I only include the GA with Roulette Wheel selection method. The rest will be uploaded shortly. For details on the scope of the Unit Commitment, the constraints for each generating units etc; do contact me.

Guess

Guess

generalised stochastic petrinets

this program manages evalute the performances by using stochastic petrinets.

Golem Game Engine Script

This is the scripting language that I have been developing for my Game Engine that I'm working on. Right now the scripting language is still in development, I have plans to expand the functionality to allow you to make use of including header type scripting files.

Hit the number

You have to hit the true number.

House Size(Loop)

This program wil build a number house based on user input (size).

How to Create Win32 Dialog Based Application (Step By Step)

Starting point for creating dialog based windows applications.

Hello Flood (v. 2)

Floods the console (or cmd.exe) with Hello World until the application is stopped. Of course it can be replaced with any message.

Introduction to Shell Scripting

Here's a short document for an introduction to shell.

IPCONV

Convert decimal dotted IP address to Binary and vice versa and also show class of IP address

Improved XOR Encryption

XCrypt is a XOR file encryption tool. It accepts both strings or files as a key. For example, you can use an audio file or an image as your encryption key, or you can just use a simple password. This program includes three encryption modes: Standard, Binary, and Text. Binary and Text modes are ment to improve encryption for a small key such as a string that is only 10 bytes in length, so that it is not revealed in any obvious form. Included is a command version and a Win32 API version (non mfc). I hope you find this submission useful.

Interfun - to scare other people =)

This code works only if:

Introduce colors in your dos prompt - a neat little utility

Possibly the most boring thing shipped with windows today is dos. This small little utility tries to bring in some vibrancy and effervescence into it by introducing colored text and background. Install this program to bring some life into your dos prompt.

Introduction to MFC, Chapter 1

You must know C++ before starting to learn MFC. This is a hands on tutorial. I have used pictures on how to start your first project and explained in full detail and commented it very well. I am a beginner to MFC too. So I wrote it from a beginner's percpective. I created my first windows application. If anyone knows where I can download the MSDN library, please share the link with me. ___________Please Comment and let me know what you think, so in the future chapters I can do improvements._____________

istream_iterator and ostream_iterator sample code

Usage sample code of istream_iterator and ostream_iterator

Interpreter - beta

A simple interpreter ,which I haven't finished yet.

Infrared Wave Control

Universal Remote Control, record IR frequencies in mp3 files the plays the back,Experimental converts IR to Analog audio then analog Audio to IR. Because it uses mp3 files it is easy to control anything that uses IR.

It will give you message

This code is a terminate and resident programe that will generate a message each time you press a key.

Instalator 0.5 (NO MFC)

There is an Instalator. This project contains 2 executables. One is the executable tath selfextracts the files introduced in it. An other is the fusioner to add files to the Final executable. This project uses my WindowClass. Sorry but this code is commented in Spanish.

Implementation of Physical Layer using Parallel Port

This article shows you the implementation of physical layer using parallel port as transmission medium. it also describes how to implement the flow controll and acknowledgement. detailed description of source code also given. we can easily convert this one into wireless network using some simple RF circuits. your comments are welcome. it will help me fine tune my article also it may help me to write more articles.

Input/Output in C

Solutions to LET US C book's Input/Output in C questions and examples too...

Important functions for Win32 API

Functions for Windows made by myself:

Important math functions

Many and important math functions, like:

Internet Explorer Hider

A program that when a user specified key is pressed, quickly hides all instances of Internet Explorer. Great, if your not supposed to be on the internet! (;

Java Compiler and Interpreter

Its a simple code which compiles the java program and display the output at once. The user does not need to type the command prompt for compiling and running the program. The code also set the JDK path once and no need to set the path Again.

jumbo_pack_c plus plus source codes

THIS PROJECT IS SURE TO BE A GOOD HELP FOR THOSE NEW TO C++ PROGRAMMING AND THOSE WHO ARE LEARNING THE BASICS OF FUNCTIONS , MATRIX, FLOW OF CONTROLS IN A CODE, LOOPING etc. THIS PROJECT HAS BEEN COMPILED BY MANGALICK MITRA. COPY THE CODES TO YOUR C++'S WINDOW.....COMPILE...AND RUN.....

JDos

This code if for DOS. I was tired of having to perform a directory listing to find the file I was looking for, only to type it incorrectly at the prompt. So, I created this program to allow me to CURSOR-UP (or any direction) to text already typed on the screen.

JPEG Modifier

To take any JPEG file and save it to a bigger or smaller size JPEG file. Before the JPEG is converted the application gives an option to add text to the JPEG. It also demonstrates how to drag a file onto an application and handle the file. It works with multiple selected JPEG files.

JNI C plus plus and java working together, interactive use

Use the Sun's JNI API to communicate with a DLL generated with VC++ 6

keypress.h (revised resubmission)

Defines constants in _KEY_* form for many uses... Very useful with getch()

Keyboard status

This one tell u abt the shift keys status of yr keyboard.ie.....status of caps lock, shift, ctrl,scroll..etc other keys...do check this out

KBC(quiz)

QUIZ

kalender

displays month of the year entered.u can use arrow keys to go forwards or backwards.AD and BC,

Digit to Text Converter Code

Enter Any Digit and Get its Corresponding Text String for Example if you Enter 1200 as Input You will get "One Thousand Two Hundred" as Output. This Code is made with Very excessive and Logical use of if-else. I Reccomand to every Newbie to understand Power of these tiny controls and use them in decision making.

complete sudoku

This application can generate or solve suduku puzzles as per requirement.

A 3D Rotating Penny in GDI Cool

A 3D rotating penny in GDI. No DirectX. No OpenGl. Just 100% pure GDI! Please, if you can, vote for it or simply comment. I'm looking foward to hearing your suggestions :)!!!

A Program That Closes the Microsoft VC plus plus Warning Message

In certain versions of Microsoft Visual C++, before you execute a program, you get that annoying message:

A Program That Displays the Contents of Its Source File

A program that displays the contents of its source file. Please comment and/or vote.

StringToClipboard()

A program and function that copies the specified string to the clipboard. The string then can be pasted to Notepad, etc.

A Program That Draws Rectangles and Ellipse in Paint

A program that draws rectangles and ellipses of the specified size and color in Microsoft (R) Paint. Note: Microsoft (R) Paint must be open in order for this to work.

BmpToAscii()

A program and function that takes the specified black & white bitmap and draws it in the console using ASCII characters. See screenshot. Please vote and/or comment. Your feedback is greatly appreciated.

A Bitmap Joiner

A program that takes a bunch of bitmaps and attaches them together side-by-side and puts them on the clipboard. The bitmaps then can be pasted into Paint by clicking Edit->Paste.

A Window Tester

This program allows you to preview a window before you create it. It allows you to modify the caption, style, icon, cursor, position and sizes of a window and then it shows you how it looks. It also generates the code needed to create the window. PLEASE vote for it.

Mouse Programming in C/C plus plus

Make your C/C++ programs more intresting by providing a mouse support. Learn about Mouse Programming here. This tutorial teaches basic stuff and advanced like changing mouse cursor shape. Make a header file of the sample code and use mouse with minimum effort.

Keyboard Programming in C/C plus plus (Updated)

Want to know how to use special keys like UPARROW, Delete and combination keys like CTRL+Delete. Make you own new SHORTCUT keys. Change Keyboard state using your software. This tutorial takes you from beginner to advanced level keyboard programming.

_THE MAGICIAN_

This is a magic trick that let's you choose a card in mind and eventually after 2 shufflings, it will show you the card you've chosen.

AutoComplete

this code completes an input field based on a wordlist generated by you or by a directory scan.

_The Matrix Screensaver Neo_

2 Matrix screensaver in one. All I ask is for you to vote.

_$TextAnimator$_

This is the program that will animate the text as per your wish. It can animate the text with many functions. It can be used to give the good effect to your application

Personal tools