Results for "Volume: Java_Volume1"
*Now compatible with MSVC* This is a class called HINT (or "Huge Int"). You use an object as you would any built-in data type with respect to all math operators (+ - * / % ++ --) and logical operators (> = == !=) and the standard insertion and extraction operators (>). Basically it's an integer of limitless size. The main difference from an int (other than the hugeness) is that you can assign it strings of numbers, and in some cases you have to, such as if you want to deal with a number that's too lar for the program to handle. Here's an example: HINT huge = "987654321012345678901231231236549878765431" cout
Testing out trigger-based functions in a nice little fighting game system, I plan to expand this into a full-fledged game later on. (To play, use the num pad 1]Dodge 2]Duck 3]Downward_Slash 4]Defend 5]Charge 6]Stab 7]Deflect 8]Jump 9]Upward_Slash
Updated email program. This code allows you to download multiple attachments and copy them into a directory. The program then replys to the author with a message or/and attachment automatically.
This article is intended to explain the usage of 64-bit integers. It goes over how to declare them (__int64), how to use them in format functions (%I64Ld), and how to convert strings into 64-bit integers (_atoi64).
It creates customizable drop down navigational menus for websites. Menus can be made to act exactly the same (or not the same at all) as system menus. They can also be styled in any way, to achieve effect of any menu look - Windows XP, Windows 98, Mac OSX Pinstripe, etc.
This application generates a tree from ALL windows running in windows. You can find the handle of every window, see its position, hide it etc. Nice tool for finding handles, but also for impressing your friends, when you hide a button in e.g. Word!!!
Click Macro is a very simple program that I got the idea from a delphi source on this site. It basically gets a offset from you and clicks it double clicks it or right clicks it. It is commented very thouroughly and is pretty straightforward. The Code will help you to understand the GetCursorPos and SetCursorPos apis.
Generates a autorun.inf
I wrote this code to learn a little bit about string manipulation. Although I will deffinatly not claim it's uncrackable, it is deffinatly a little less bulky than some of the others. Not to mention since i submited the code anyone could just use the decryption on it. But anyway, it may be of some help, although I will admit it's a bit slow with large files. I am trying to find ways to improve it's speed. Any ideas are welcome.
Here is a Calendar Class that can be used as a replacement for the Microsoft one. No additional files have to be attached to your project, simply put calendar.cls(+two more support classes) in your project, stick a picture box on your form, write 3 lines of code, and you have a fully functioning CALENDAR with multiselect, dropdown and etc.
A simple concurrent chat application: * The application is composed of a Java server application and a client applet. * The chat program will allow multiple students (clients) to talk with each other at the same time as well as to their instructor on the server side. * There can be more than one active chat room at a time A) Server side * Server is a Frame which has the following information. There are 3 classrooms which the server is supervising . The frame shows all the three classrooms as a TextArea which will display the messages from the students logging on to that chatroom. * The server can listen to all the information sent and exchanged among students of a classroom. The server can also talk to any one particular classroom.There is a TextField for the server to type in its messages and on pressing a "SEND" button that messages should be sent to all clients logged on the classroom the server wants to talk to. * Each client should login to the server before entering a classroom. * It shall authenticate students’ requests to join the chat by means of a username and password. After successful Login, the server will assign the client to the classroom it requested to be signed in for.In This Application The Username and the Password are the Same. * The server keeps track of the clients in each classroom and produce that data whenever the server needs to see it. * Whenever a client logs in or logs out, all the other clients present in that classroom are notified of the new client entry/exit and when the client logs off, its information isdeleted. * When a new user connects to the chat server, a new connection will be created to service the client applet's communication. Multiple clients can communicate with the server via a socket interface. B) Client Side * The client should log on to the server using a Username and Password. It should also provide the server the classroom it wants to log on to. * On sending the information to the client, the server authenticates the username and password and if they match open a new thread to service this client. If the user name and password does not match, then the server should prompt the client.The Username And Password should be same in this application. * The client Applet/Frame shall has GUI for students to log to the server and to be able to chat with other students (the interface displays a list of other students in the same chat room). * The interface has a TextArea to display the messages sent by other clients in that chatroom. The interface should also provide a TextField for the client to type its questions and send it to the server. * The client will be able to see the messages sent by the server to its classroom. * Clients cannot see the messages sent by other clients present in different classrooms. * Whenever a fresh client logs on to the classroom in which the old client is logged on, then the information about that client is visible immideatly i.e. the all clients updates its classroom list to display the new client automatically. * The client can send messages to other students in the same chat room or ask his instructor a question. * The client shall be able to logout or to exit at any time.
have u ever download source that was created in vb6 and u still have vb5 cuz u dont wanna shell out $$$? now u dont need to, this program makes vb6 files compatible with both vb6 and vb5!!!!!! this is also a great OLE and Hex Editing example and a great utility whether or not u use the code!
Hi folks this application haven't used any databases You can store images of the concerned easy navigation, sorting, finding with respect to any field, its really nice to maintain your friends and business addresses Entire source code is available in ZIP format can store web, email, phone, fax numbers also sorting acording to any field and field entry ...enjoy happy programming
Copy a file in binary mode. You can easily implement a prograssbar with the value of the variable "iPercent". Change the buffer size for various use: SMAPLE: 10240 for normal mode; 2048 for network; ...
The purpose of my program is to sort a list of any data type using the radix sort. Normally the radix sort has only been allowed to sort normal data types but I thought that was a waist of a great sort. So I found a way to include any data type for the radix sort by using bit shifting. As long as the bit shifting operators for any future data type are overloaded the radix sort may be used with this code.
With this code you can scroll text smoothly in any direction without needing any API calls. All you need is a PictureBox control, a Label control, and a timer. The code is fully commented and has examples for scrolling in the four main directions.
This program allows the user to compare their computer (speed) with other computers who used the same program. The code is simple enough, the most complicated part is the color.
hides program in crtl-alt-menu one line of code
Just a simple program that allows you to put a password to start you files. For example if you want to be the one that can start KaZaa or any other exe file, just run my prg and you will have your KaZaa.exe renamed and a new file called KaZaa.exe......once you run it you will be asked for your password, if it's right, real KaZaa will be lunched...if it is not, program will end. It is a very simple program, with password and file name put into it, so you don't need to store pwd or anything else in the register or in any other place. There are 2 prgs, 1)PwdExe Is the prg that asks for pwd and launches other exes, compile it in RELEASE version and put in the same dir of FileProtector.exe IMPORTANT: Remember, RELEASE...i calculated pwd and filename place for this version. 2)FileProtector The prg that does all the work. Then, whenever you want, you can restore the file you protected(always supplying your password for that file).
This shows how to make a simple free-hand drawing program in Visual C++. The code is commented.