Results for "Category: Files"
My code Merges two Files together and puts them into a single file.It is a windows proggie but the code will also work under dos or other os's.PLEASE VOTE!
Bank is a simulation of a real ATM machine program which allows you to make deposits, withdrawals and other banking events.
DirWalk demonstrates how to read a directory structure. Its output looks like TREE MS-DOS command (CONSOLE). I used FindFirstFile and FindNextFile Win32 API functions to program it. It does everything in one function, a recursive function. DirWalk only shows directories, not files. You can modify it to show the files too.
InFile searches by a string like "Microsoft Corporation" inside any file you want, case sensitive or not, within subdirectories or not. Example: infile c:\*.txt "Copyright (C)" -sub -case Functions used: FindFirstFile, FindNextFile, fopen, fseek, fread, SetCurrentDirectory, GetCurrentDirectory.
This simple application browse your network neighborhood and by double click on any share it browses the files...IF THIS CODE HELPS YOU VOTE FOR ME this only takes seconds from u and it took me much more than that to make this prog for u :) thnx ...
Copy a file from a LAN to UNIX and vice versa.
This is the _defs.h header someone requested.
FILE HANDLING TUTORIAL FOR BEGINNERS ------------------------------------ This tutorial is intended who don't not a single thing about file handling in C++, one of the most important concepts of any type of programming. I intend to present this tutorial into 2 parts, but both these parts are independent of each other and you can start from any one. This part focuses on: ->How to create files, read and write to them. ->The logic behind many commonly used objects like cout and cin [Did you know that cout is actually an object!!] ->Build your own notepad, "my computer" et cetra. If any doubts persist you can freely sontact me at: shahab_faruqi@rediffmail.com Click on file handling.htm to start.
Working same as a Dictionary. Add words , meanings and than you can save it for future purposes.
Create a file of any type, filled with x bytes. (x = user specified). Exercises file I/O.
CALL THE ShellExecute FUNCTION TO RUN ENY FILE AND IT WILL OPEN IN IT'S DEFAULT PROGRAM I USED FILE_ADDRESS TO DETERMINE THE ADDRESS FOR MY FILE CHAING IT FOR YOUR CONVENIENT THIS WAY WE CAN OPEN ANY FILE TYPE . ENJOY .
This article contains details about reading and writing structured data, the get and getline functions and more. A MUST for someone just entering programming.
Copies 512 bytes or 1 sector of binary data into the 1st sector of any disk. Useful for copying boot sector codes into floppy disks.
this code cuts avi and dat files from starting to specified time.
As a file reply in the databases and is a beginner can learn those source code.
Generates a autorun.inf
This is a very early version of a shell that I am creating. The GUI for is very nice for a dos application. There are varios other things you will be able to do inside Jinx. There are 2 games you can play, and a couple of features already in Jinx itself. Tell me if you have any sugesstions. :) Thanks feel free to vote of comment. [AIM\Yahoo: Nit3shift] Email: JNixon21@excite.com] Yes I JINX is based on JINX HackWear but mines differant logo.
Whether your making a setup application, an uninstaller, or for whatever reason, your probably going to be faced with the problem of self deletion. How can you delete your own EXE thus leaving no traces of your program on the computer? You can't use another program that you've written, ..then how do you delete that EXE? It turns out that we can rely on good ol' windows to help us commit Hari Kari, but the technique is different on NT based machines. First I'll show you the code for 9x/ME machines. For those systems you need to add an entry into wininit.ini, this is a initialization file that windows will use on boot. This file resides in your windows directory but might not be present on your computer since it gets renamed to WININIT.BAK after each use. This doesn't concern us since the WritePrivateProfileString function will create whatever is missing, that is the function used to write data to ini files. What you add is the string: NUL=yourexe.exe With the path of course, into the [RENAME] section . After this is called the file will be deleted next time you reboot your machine. Here is the code:
Extracts executables or other files stored as binary data in the resource of your executable
In the database system I have combined both of the advantages of structure and class. In the application I have placed all the links ands nodes in structure part and other information in the class part so that it can be separated from the functions used inside the class as public member and other variables used in the function as private part of the class. Create function used in the program is used to create the new database it will ask user to enter new database name and if it is already exists then it will again ask to enter the name. Then in the same create function it will ask the number of table in the database and the field information in the table. Datatype of each and every field is stored as the number. Each and every Datatype has given a specific number. To make the application simpler I have just divided it in to number of include files that I have placed in the TC\BIN\INCLUDES\ Directory. For the find function I have used find.h file. It can search the record on the base of the primary key. For the delete function I have used delete.h file. It has the same logic as find is first of all search the record on the base of primary key and then delete that record from the file of that table. For the append function I have used append.h file. It will ask you to enter the table name and according to the table name fields of that record is displayed on the screen and data can be appended by inserting records at that place. Display logic is placed in the display.h file. It will ask you to enter table name and records of that table will be displayed on the screen.