Results for "Volume: 2002VB"
Determines type of Credit Card by it's number.
It draws a moving starfield on a form with simple VB graphics methods and a timer control.
There are two homes for the ants.Red and black ants come out from there and go to sugar .
The code was changed on 12/14/00 to use fstream objects for file I/O and I also added more comments. Use this to encode and decode a text file. The same password must be supplied in both cases because it is used in the encryption algorithm. This increases the security of the encryption making your encrypted file virtually uncrackable, even using the same program, unless you know the password. Please rate this. Whether it's good or bad, I appreciate your feedback. Thanks.
Learn how to write your first program in C++! Easy beginner commands.
Draws a nice 3D-Starfield in a Form (uses X,Y,Z positions) width a very short code Shades each star depending on the distance.
Tic Tac Toe game, you can play with the computer or with another person. Can be played with mouse or just with the keypad. Everything works with mouse and keyboard at the same time
This .bas module allows you to re-size your form and all the controls re-size with it. I kept looking for code out on the internet that would do this right but I was never successful. So, I wrote this to eliminate the need for any ocx's or dll's. It resizes the SStab control which I found was a problem with most resizing routines (check it out for yourself). It also handles lines. It's also alot quicker. All you have to remember is two things. First, add the resize module (rs_form.bas), Second, Add one line of code (ResizeForm Me) to each form you want to re-size.
Make your friends think that their harddrive will be formatted. You print "Hit Q to quit:" and when they try to hit 'Q' a 'Y' pops up... Of course, we won't really format or anything. Vote if you enjoy the code :) BTW, to really close the program you must hit ESC.
This demonstrates an example of C++'s fstream File I/O. Very simple; the basic stuff for beginners to learn from. If you would like to see how to do something more in the direction this code leads, comment on (and rate) it telling me what specifically you want to see and I'll be glad to suffice.
This program displays a message in a small default Windows message box along with an icon. It performs no other function.
This program changes the plain window from App #3 into a text editing window. No text editing features are added, just the ones already built into the text edit control given in the Win32 API. It's a simple example of using a child window within a regular window. It performs no other function.
This program adds a toolbar without modification to the cWindow class. This program also incorporates a menu and a text edit client area. When the user clicks on the On/Off icon, a different message is displayed in the client area. This program performs no other function (at least, any useful function).
For circular logging System
An introduction to linked lists for beginners. I know there are already some. I guess it won't hurt to have another.
If you are a newbie to either DirectX8 or C++ then this is for you! It is a simple and fully commented program which uses DirectX8 to render a spinning triangle in fullscreen mode. This is my 1st C++/DX8 program and only my 3rd ever C++ program, so while I can ensure it's pretty simple, it might not be perfect, so please give me some help on improving it. If it's interesting/useful to you please vote for me because I worked very hard on this.
This Code stops the End-user typing o#into a textbox but still allows them to scroll it because it is not disabled
This is a fully skinnable Spectrum Analyser plugin for Winamp 2.x. It is finished to the point of being usable but not by any means complete and will continue to be updated. Any suggestions/hints would be appreciated. Features: Skinnable, Customisable bar width/spacing/drawing style, Dockable, Optional Peaks, Adjustable Frame rate (1-100 fps), Double Size mode, config dialog box.
It searches specified keyword in specified file without appending the file by user
First of All Please take a minute and Rate my Code.=) It uses Object Orinted Programming to Make a Nascar Racing simulation. The race is formed of 33 Cars if random aspects effecting it. We start with 33 cars, all of which are identical The race is 500 miles. We're going to do the simulation using clock ticks of .5 seconds. All cars start at zero velocity, and when the race starts they all gain speed at a uniform rate of 0.0020833 miles per second (about 7.5 miles per second) plus a random amount of 5% added or subtracted from the added speed until it reaches a cruising speed of .41667 miles per second (150 miles per hour). It then maintains this speed plus or minus 3%.each car has 20 gallons of fuel. The fuel consumption of the car is normally 30 miles per gallon, divided by the car's current speed divided by 10, e.g. if the car is going 150 miles per hour, its fuel consumption is 30/(150/10)=2 miles per gallon. However, if the car is less than .01 miles (52.8 feet) behind another car, its fuel economy improves by 10% because it's in the draft. However, it cannot stay in the draft more than 100 clock ticks (50 seconds) before the car starts to overheat, in which case the car pulls out of the draft and gets normal fuel mileage. It cannot draft again for 100 clock ticks because the engine has to cool down. A lap in the race is 2 miles, so each time the car has traveled a multiple of two miles we check its fuel. If it doesn't have enough to complete two more laps (4 miles) at the current rate of consumption, it must pull into the pits at the end of the next lap. In this case, when the car comes to the next multiple of two miles (end of lap), it decelerates at the same uniform rate as acceleration (only with no random amount added or subtracted) until it has zero velocity. It then sits for 20 clock ticks (10 seconds) and then accelerates back up to cruising speed.