Results for "Category: Miscellaneous"
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!
This is just a quick demonstation on how you can use the windows API to print colored text in your basic console application.
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 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.
This thing will compair two files that are asked for when you run the executable. Many people have been talking about assembler code lately, so I decided to submit my two cents. This is not perfect code; since it was my first large assembler project. It has a big bug ... if you compair two identical files where one had part of it's end cropped off, it still says they are the same file. Oh well, it was worth a B :) This code is C++ commented, and should be useful to any intermediate C++ programmer who wants to use inline assembler.
Opens Notepad and mysteriously(By not creating a window) Types a message in notepads text.
//If you havent yet realized it the //function 'rand()' will not produce //an actual random number because it //uses the same seed every time, the //way to fix this is to use time as //a seed for the rand function. If //this helps, rate it please.
Writing text to a character LCD.
Displays a nice HTML calendar!
This is a basic counter that has some more advanced statistic features. Small, fast and efficient!
Many still think it is not possible to use templates with ASP the CGI way (Perl/C++). Well, it IS possible! I have seen some script that simulate this, but not like this one. You can now have a completely template driven website in a snap. Templates can run ASP VBScript and/or show HTML to the user's screen. Take a look to the code and you will be convinced!
Function that returns a graphical scorebar based on the value you provide. Very basic but thought I'd share this sweet little function with you all!
The first time the users comes to the page, it'll have a text box and a button. Once you type in your nick and hit Set Nick, it'll display Welcome [the nick they entered]. This is just an example on how-to set/read cookies.
VERY simple code to display a nicely formatted date on your web page. (IE - Wednesday, June 14, 2000)
This code used cookies to count unique hits. If the user has the cookie, then the hit isn't counted. If they don't, then the hit is counted, and they are given a cookie. All you have to do is use an #include file="nameoffile.asp" and the correct action is preformed. I made this script for my host to count unique hits across his networked sites. This is also my submission to the asp world of PSC all my expreience is in the VB world. I hope you guys like it! Later ~/Andy
Helps Your Site Get More Clicks On Your Banners And Helps Your Users Have More Fun!
This code is a huge development on the last ASP code I submitted. This site allows you to log on users and create individual user profiles...all get their own journal which can be accessed through their home page...Just like scribbles.nu.
This code will tell you how much disk space on your server you're using
Queries a WhoIs server for for domain information. Useful for people who want to sell domain names. This version uses the XMLHTTP component that is installed on most servers, so there is no additional need to install any extra COM objects.
This code starts with a plain background and when a button is pressed the background fades to another colour revealing text that was the same color as the origional background. Easily adaptable by unexperienced users, passwords can be added easily.