4,718 Topics
As seen in another thread, I'm working on a Log class. I'm running into an issue that if I delete the file that's being written to, the Log class doesn't detect it and continues to 'think' it's writing even though the file is gone... (Note that this is on sun …
HI!!, can anybody tell me how to create a hit counter using Javascript. The hit counter should increment a number stored in a file (on the site) each time a user visits it. For reference such Hit Counters can be added to Websites built with Microsoft Frontapage (Tools -> Web …
Hey guys, My task is to write a perl program that will read in names/passwords from a text file and from that create user accounts and all sorts of stuff. Now I have been able to do the "stuff" and the only part giving me jip is how to overcome …
I recently purchased music files from "musicnow.com" and have discovered that my "purchased" files are apparently not exclusively mine at all as I have had nothing but problems with these files. After twice having to redownload the files purportedly due to "problems with the musicnow software", I now get this …
Can someone help me to figure his out. I have to read in a file that contains employee names, numbers, payrates, and hours. Then I have to calculate the gross andsend everything to an output file. I keep getting this error message "employee.cpp" 69 lines, 1471 characters $ c++ employee.cpp …
Hello forum, I am no longer able to boot into Windows XP Home sp1 without the error message "<windows root>\system32\hal.dll, can not find this file, please reinstall it". But whenever I boot into the XP recovery disk and change into the system32 directory and use the copy command - copy …
Hi, I am thinking about writing a program to compare MP3's in different directories that will compare file size, ID3 tags, bit rate etc. I want to be able to search the computer for MP3 files, then list them in a rich text box like you would see in windows …
ok so i am a hs student learning some c++ and recently learned the fstream function and tried to make a load save type thing for a programm i am courently makeing. as far as i can tell the coding is correct but it isn't saveing or loading the file …
In file proceesing how can i find the renamed file.... meaning....i created 2 files named derrick.txt and alex.txt and in the program when i input derrick, the program will look for the file derrick and open the file, and if i enter alex, the program will look for alex.txt thank …
SOME ONE PLEASE HELP ME FIND A MISSING FILE??? I have a compaQ windows 98 year 1999 or 2000?? My problem started when I downloaded My Web cam from Logitech and got an Error after restarting my computer win..98 cant run atl71.dll need ANSI version So I went to their …
I'm trying to get the computer to compare a username and password entered by the user to a username and password in a text file. If a match is found, then I am going to present the user with other options. I think there must be an easier way to …
I want to make a program that will start off by opening a text file(blank). The user will put an expression in the file and as he hits the enter(enters a newline character) the result will be shown in the next line of the same open file. Itz almost like …
Hello, currently the only way i've found that I cn do a ".H" file in borland is to create a GUI one rather than a console bsaed *.exe file. When I do that it keeps generating errors.... There must be a way in Borland that I can split up class's …
Hi, I want to know the date when is a file was created plus the size of the file. Can somebody show me a vb code that handle this things. Thanks in advance. Newvbguy
All I want to do is replace my old winXP logon screen with a new screen. I have done everything correct over and over for two hours now. The bottom line is that each time I try to copy the new logonui.exe file into the system32 folder and delete the …
Hi Last week I installed a new 40GB Seagate hard disk and 2 X 256MB RAM on my laptop but a few days ago I accidently knocked the laptop very very slightly on the table then the screen went black :sad: !! I turned off then restarted and got this …
hey i am making a game and decided that i want to put a load/save option in it and was wondering if anyone here knew how to do this, (the program has to be able to close, open again and load the progress from before). I am running in windows …
Okay, I'm trying to do my homework, but my code isn't doing what I want it to. What I'm trying to do is have the user enter a file name and then the program will output the number of words in the file. It works fine the first time through …
Hello everyone, I have just started learning C++ and I am trying to write a program that reads from a file (scores.txt) and then prints the average of these numbers to the screen and print to another file named "average.txt." I have written some code but when I compile I …
Hi, i want the best program to compare CPP files, i tried Araxis and Beyond Compare and ExamDiff, all compare good, BUT, the problem is that i want a program which compares the WHOLE file, then gives me the REAL differences, meaning ..., let's say there's a TEST1::TEST2 (int x) …
Hey guys, I am trying to write a section of a program that reads in data from a file and stores the data into an array. The problem is the length of the file can vary, and I need to know how many items to store in the array.(I really …
I have a project due involving a problem from my textbook. In the text they want a list of all students for a carpool. They want me to get the info from an input file and print only the students from the local city (Huntley). They also want me to …
I am using php to search the file names of about 10,000 files. It works now, but for it to find the file the search phrase has to be found exactly within the file name. I would really like to get a fuzzy search feature workings, but things like similar_text() …
how to transfer between 2 computers? I have no idea how to start, can someone guide me? it is better to have sample code or website as reference. the file transfer need to in vb.net. thanks
I need to write a string field-char customer_name[20]- in a structure data type to a file using fprintf,fscanf,scanf. I failed to use the below syntax. Please I need to not go outside scanf,fprintf,printf . /* Book name : The prodessional programmers guide to C File name : E:\programs\tc\iti01\ch09\main\01setupm.c Program discription: …
I have to write a program to compute the class's average and standard deviation from a file which contains a collection of student idds and corresponding scores for my computer class. I am to assign each stedent a letter grade as follows: 100-90 = A 89-80 = B 79-70 = …
hey all, my problem is this, i recently learned how to play a midi file in the code snipet area. but i couldn't figure out how to get the program to switch sound files when i want. idealy i would like to have one file start out in the beginning …
I want to create a program and send the information i come up with to a data file which already has something in it for Ex. in my data file I have student names and other stuff and in my program i'll find the letter grade of the numeric score …
Using C++, Can you take a variable from a text file to use in an if, then statement? As in, your program reads a text file from line, say: 5 column 8 to get the number, say: 1. Then use that number like: If 1 then change to 2 and …
I sent a graphic file to the recycle bin but when I tried to empty bin, I got a message that "Dc6 (nothing like the original name of the file!) could not be deleted as another person or program was using it. Close any other program that might be using …
i want to delete part of a binary file, let's say 12 byte record somewhere in the middle of the file. i can think of only one thing: - put the file pointer on the spot - shuffle all the following records up there're gotta be a better way ... …
Hey, I have taken over from the previous IT Administrator and now trying to implement OSX 10.3 on to G4 machines. I am having a issue of when some of the staff are munipulating files in OS X then saving, to be opened in OS9 and go to read the …
Hi i ran a manual scan over my machine today using Trendmicro pc cillian that is usual very good at removing the nasties that get into my machine however this file WINNT\system32\NETAPI32.DLL has become infected which is what the virus scanner detects however it can not clean/quarantine or delete from …
Me and my friend want to have a way to share our music, videos and other stuff throught a shared folder for just us or if not just for us with a password protection. She lives like down the block from me. If some one could be help us!!!! I …
Hi. My computer has a file in C://Windows called 'wndllsys.exe' This file, since it's licated there, runs on startup every time. Selective startup will not work (Automatically re-ads itself to the accept list). Now the file simply brings up a window with some.. Er... Rude text, and gived the option …
I have a script to read a file that has text on lines. The script is supposed to take the text and make them into space delimited and save the new text to a new file. I am able to only accomplish this with 1 line from the text file. …
Sir, I need ur help in the Following Assignement. I have to write a program to store the Employee details i.e rollno,Department,salary,name,experience etc using the file operation. plz help me! Urs PriyaJaiGanesh
I am making (or trying to make) a mailing list form for my web site. It is supposed to write the email addresses to the file but it isnt working any help would be [B]GREATLY[/B] helpful THANKS 1} <html> <body> <form action="write1.php" method="POST"> What is your E-MAIL ADRESS <input type="text" …
Hi my name is Peter and I'm looking for somebody who can help me to understand how to read from external file without "destroing" existing inforamtion inside. whole staff is based on book example which i'm trying to extend. I have a programm which is working with database of 3 …
I AM RUNNING A PROGRAM THAT DEALS WITH TEXT FILES IN NOTEPAD. I TYPE IN A FAKE SSN AND THE PROGRAM IS TO READ A LIST OF FILES FROM student course. I AM GETTING AN ERROR MESSAGE TELLING ME THAT PROGRAM CAN'T READ FILE. TWO EX OF SSN'S ARE 201235678 …
normally we read text file like this.. $filename = "D:/Point/Point.txt"; $handle = fopen($filename, "r"); $contents = fread($handle, filesize($filename)); fclose($handle); if i want read text file on LAN computer. how to write path name of the text file??
Hi- I just set-up and installed a usb ethernet adapter on my Laptop (windows 98 se). It is one of four computers connected to the Netgear router. I can access the files on the laptop from my other PCs but I cannot connect to the internet from the laptop- I …
Hello everyone, If I am using two threads, the task of one thread is to read the first 1k bytes from a specific file and the task of second thread is to write (maybe modify without the change of 1k length, maybe append some additional bytes making the file larger, …
Write a program that will read the file, Address.txt, which I have provided. It contains names and numbers with no spaces between. Write the same data to a new file with the numbers right justified in 12 spaces and with 3 decimals. (file): Pete Moss25.33 Sara Bellum78.45 Harry Legg 76 …
I need help ladies and gentlemen, I am writing a program that validates ISBN numbers both from file and from console input. However my program is unable to open the file even though I have it in my Debug folder. Here is a piece of my code. I need help …
Hiya ! I want to see how the following types of files’ Interpreters are built into a browser : 1. Un-compressed Image files 2. Compressed Image files 3. Un-compressed Animation files 4. Compressed Animation files 5. Un-compressed Audio files 6. Compressed Audio files Question 1 : So, can anyone tell …
the code that is attached it what i have done so far but dont seem to be able to get the test file to get it to display the informationthe code i have is shown below import java.io.*; import java.util.*; public class league{ private static final int MAX_TEAMS = 50; …
windows isn't loading for me. need help. it says....... [COLOR=Navy]a device file that is specified in the system.ini file is damaged. it may be needed to run windows. you may need to run the windows setup program again. if the file is included in another software package, you may need …
Greetings. I've done a search regarding the above subject. I came across this page: [URL=http://www.devx.com/vb2themax/Tip/19230]CreateFileAssociation[/URL] I'm on my way in developing a desktop application and I need to implement my own file format to store data in the way I want it to be. I'm quite uncertain as to how …
Hi, I'm working an a project that must take a text file (provided to us, in.txt) that has the scores of students from different sections on different labs. You can view the assignment page at: [url]http://www.cs.wmich.edu/~nelson/CS111FALL04/lab06/index.htm[/url]. The problem I'm having is that I can't think of how to make a …
The End.