Results for "Category: Miscellaneous"
This program allows you to view some cool information about windows you put your mouse over. This program is also capable of generating C++ or VB source code to find that window you have your mouse over. A great way to learn finding windows with API!
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~
This is for programmers of all langauges.This will show you machine code commands so you can build your own assembler.This way saves so much space and speed you can make a exe less then 10 bytes
This is just a modification of the source code of the original author. I fixed it so it will look CLOSER to the 1st scene in the THE MATRIX movie, where NEO first appears. This demonstrates the use of DELAY() func... BEST RUN ON FULL SCREEN MODE... note for the author: forgive me for modifying ur code... wel i just corrected it!
A simple 2D particle engine, not meant to simulate a star field, but just manipulate some particles using nested classes, and inheritance. Utilizing MasterLibrary2
This is kind of a neat little trick you can do using a classes constructor to have code execute before the main function.
I thought about trashing the old masasm and masinterp source, and starting over, and have decided to not do that until version 2. This is the second alpha of my scripting engine, and is still very far from completion. This alpha includes backslash escape character sequence, the ability to produce your own objects other then just jared.mve, code labels, and a jmp instruction for loop logic. Right now I am working on the virtual stack, and flag registers, for the cmp instruction so until thats complete we can only do forever loops. However alpha 3 will contain all the completed loop logic. This project still has a long way to go until it is completed I say atleast another month and a few thousand more lines. Any suggestions on language features you think I should add or things I should change are greatly appeciated.(I know Im working on the tokenized string rotuine :))..
This is just a quick demonstation on how you can use the windows API to print colored text in your basic console application.
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!
My friend Joseph Harvey and I were talkin about pointers, so I made an example to express the concept.
I was bored today, so I decided to code a Snow Effect using MasterX SDK, inside of MasterLibrary2. Pretty good example for those of you who want to learn MasterX SDK.
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.
A tutorial for beginers, for starting off with masterX SDK to create 2D video games.
Algorithm to demonstrate one of the interesting puzzles of chess. This program demonstrates the problem originaly puprosed by the mathmatician Euler. The puzzle is this, can the chess piece known as the knight move around a empty chess board and touch each of the 64 squares once and only once. This demonstrates a solution to this problem. Press the Space bar to move the knight, and press the enter key to return the board back to normal.
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! If you are new to C++, you should see this. All comments are appreciated! .. bye!
This class makes using a tray icon a breeze. I made an example window, with icon and colored text. The system tray icon is created with NOTIFYICONDATA and the events are handled by the window.
All kinds of stuff to an array, including: Read file; print array; print stats (average, range, mode, median); add to the file (multiple nums); delete from file (one num); sorting (bubble sort / replacement sort / insertion sort / quick sort); find a number using binary search *** Please rate this code and include any suggestions ***
This code shows how to make a DLL in C++, and use it in visual basic.
using this addon pack for MasterX you can create your own windows inside your MasterX video game.
will replace a substrings within a string. made this for my friend. Watch out for the size of your character arrays so they have enough space for the replacements, so you dont get a buffer overflow.