4,718 Topics
So I have a question regarding ifstream and reading a file. I have to read in this file, but some of the lines of the file will have missing sections of data. These lines I want to just throw away and then continue reading the file on the next line …
:rolleyes: when i try to backup my settings & documents to cd/r it shows at the bottom file window saying backup. i clicked to start the procedure & says that is not the correct file name. i have to do a backup to cd/r because i have alot of files …
ola I need to copy a file from one directory on my server to another. The thing is, if the file already exists in the destination folder, I need to copy it with a different name (i'd just like to add a 2 or something to the end of the …
Hello to everyone, i have a project which base on text file. and i already know how to view the text file using a listbox, what i want to know is on how to delete a specific row in text file.. thanks;)
recently my winxp got corrupted and all my important files are on my main drive. I wanted to reformat my pc so I had to make a bakcup. I went to my old pc and installed my hdd, the problem is my win98SE OS cant detect my drives after boot. …
Hi!, I'm kinda new to shell scripting, Here's a problem that I have faced and dunno how to solve: First, I want my script to rename the files stored in a .txt file line by line(there's no pattern that I can use with mv, so I want mv to deal …
Hi ppl.. i need a big fat favour from you guys.. The program i given below helps to Encrypt and decrypt any file(EX: Notepad, word.doc, Access) any files.. Ive been ask to do another task along with it.. They have told me to disable t File- Edit-(containing in the Menu …
[COLOR="Navy"]Hello all, I installed MySQL 5.O but due to some errors I need to uninstall the file , but while trying to delete the file, I keep getting a message that some files (under a specified directory) are shared by other processes or used by other users so I can't …
Hi, I just installed the latest version of Visual C++ from Microsoft on a windows XP system. I have used this program before, but this time, on my new install, when I try to compile, I'm getting an error, "c:\documents and settings\user\desktop\r\listdbl.cpp(1) : fatal error C1083: Cannot open include file: …
Hi All, I am thinking of doing a security system for my B.Sc Computing & Information Systems Thesis. This system will basically monitor the file system of the user and raise an even when the user tries to create or rename a file. If the file has an extenstion that …
Can anybody tell me what are file descriptors in C?? I searched the net but can't clear my concepts!!!
Hi, Can someone please help me. I have a really large text file that contains a list of hash values, it has about ten million entries. I wanted to do a binary search on this to check if a particular hash value is present in the file and to return …
FILE *ptr; char i; ptr=fopen("file.c","r"); while((i=fgetc(ptr))!=Null) printf("%c",i); leads to infinite loop??? but while(fgets(str,80,ptr)!=NULL) puts(str); on the similiar terms doesn't???
Hello Im trying to segment a file. In doing so I need to open/createnew smaller files. The code I have [ initial.open("c:/test.jpg", ios::in|ios::binary); // input output.open("c:/copy.jpg", ios::out|ios::binary); // output] only creates one file output. I would like to have a for loop which creates n file eg text1, text 2, …
Anybody knows the name of the software that compresses files into .JPG format while just showing as an image with some hidden content in it? :O
Dear all, im new to Delphi language.can u pls help me to do this one. i want to read a particular file and searching for a particular word in that file.. pls assist me to do this one in delphi language Thanx in advance.. Poornima.R
I'm currently working on a ATM program wherein a 3.5 floopy diskette would serves as the card of the user. this diskette has a program wherein it has a account number and a password. And when the user inserted a diskette, he will be instructed to input his password and …
Can this be done with java.io? Thanks, sj
Hi there, I am trying to parse a CSV file, I have a program which will read in the contents of the file and display them to the console and i need to parse some of the fields, which I have no idea how to do [IMG]http://saloon.javaranch.com/ubb/frown.gif[/IMG] I am trying …
[B][U]Free Software Developed by our developers[/U][/B] [B][URL="http://www.webhostforasp.net"]FREE download DotNetNuke File Manager[/URL][/B] [B]This software is completely free.[/B] [B]Designed using ASP.NET 2 Technology [/B] [B]User-friendly interface,Designed like DotNetNuke File Manager with the tree based file explorer [/B] [B]Powerful file manager with no need for FTP, upload files from your hard drive, copy, …
Hi to all, I want to ask how can I load files with for loop? My file names are like D1,D2,D3 and so on.. THen how do i assign the filename variable so that Matlab recognises it? I tried using this code but it seemed that Matlab recognised the a …
Does anyone know how to fix this? I am running Windows XP with IE6 I have tried ALL of the following, with reboots after each one that was necessary. Still I cannot download, or see the File Download dialog box 1. Removed all virus/firwall software 2. Removed recent Microsoft patches …
I need help on java's objectstream object in my program i have created [FileOutputStream o; ObjectOutputStream obj; FileInputStream f; ObjectInputStream in;] and i have player object it has name and score properties i have written the object in a file appending at the time of creation but when i want …
Hi there, I am trying to parse a .txt file and don't know where to start. I am trying to get the file information from within the text file and output it to a SWT table. The file I'm trying to parse looks like the following with useless information before …
I would like to extract the header info from an image file. For example I would like to search for the key "LINES" and return "2240" as string. And should I use open("r") or open("b") since im only interested in the header. Header: [inlinecode] BANDS = 1 BAND_STORAGE_TYPE = BAND_SEQUENTIAL …
When I start windows in regular or safe mode I get "explorer has caused and invalid page error in module browseui.dll", and that's as far as it goes. I've re-installed windows and got to the point where it was basically working but then all of the sudden it goes back. …
This program is supposed to make two passes through a file; the first pass counts the number of elements inside the file to get the total size; the second pass will fill the array and sort it. The problem i'm having is that on the second pass, the array is …
This is a input file DEL 0050 XYZ 0050 0310 CCU 0710 MAA 1325 TRZ 10415 KWI 0050 FJR 0325 0325 CCJ KWI 0050 FJR 0325 0425 CCJ 0925 1005 i.e maximum items(column entries) in a row can be 8 but their data type will be in same order i.e …
[COLOR="DarkRed"]hi 2 all, i have placed a file in a folder in BIN, How can i no that if that file is present there or not?? Do reply me soon ... Thx ..take carez n keep smiling all .. :) [/COLOR]
I am reading a CSV file and parsing its content into tokens. Now i want to know how to check for End of File. I am giving my code to be more clear. [CODE][COLOR=#0000ff]ifstream file(filename); if (file) { char ch ; do { file.getline(line, SIZE); tmp =static_cast<string>(line); vector <string> array; …
Hi every body Can you please fix me errors. Here are my codes and errors incountered #Stage1 I want the user to type in the file path to txtpath.Text and a text input to be appended to that file be written in txtwrite.Text The error: Run Time error ->path not …
I am extremely new to C++ and I've been trying to do a few things. I want to read a file and get all the numeric values. This information is going to be used in writing a binary file. I also want to count how many numeric values where found. …
Hi, I have problem with uploading images by php script. I created a HTML form for user to input image file, and simple PHP script which accepts this file from form and prints it in the browser. My script uploads file, prints file's name, generates HTML code, but does not …
hi, I hv no account created in windows bt I want to ristrict the access to some folders..Can there be any way to add password to the folders?? Regards,
Hi friends, Its my first experience to this forum. can any one help me in reading a csv file into an array and then parse each word seperated by commas. I have csv file which contains rows and columns of record. and i have to read the file into an …
Hello, this is my first post here. I'm taking c++ as an elective course, and I'm doing great until now. The problem I'm having is taking data from a txt file formatted line by line [inlinecode]#### # ##[/inlinecode] for product id, store number, and quantity. I'm supposed to read this …
:mrgreen: hi guys/gals, thanks for the bioinformatics help, im working on tons of independant projects, it feels like im in summer school and im not even in it! oh well, that is how it is. Python and me are like new friends so I have been needing on this journey …
Hi, i was looking for some help and i found this website. it looks amazing, great work admins and all the pplz who r sharing their thoughts and helping pplz. ok here is my question i built an application using vb.net and sql server 2000 and installed it on the …
Hello if i have a file residing on a unix machine, how do i get the stats of the file, ie date stamp of file, and username of file. Best Regards
Does Python have a module to display when a file has been last modified? Also, how do you get the file length?
hello, i'm trying to run a progrm written in perl this is the code i wrote perl aramorph.pl <infile> outfile where aramorph is a notpad file with my code saved in c:\perlscripts infile is the file that should be read from outfile ................................wirte the output to. both saved in c:\perlscripts …
I am starting a new project and a couple of tips would be helpful. I wish to read all the files in the Windows Favorites Folder or Directory and extract the link information. I know how to read the files once I have the name of the file. What I …
alright, im not a computer geek, so treat me like im stupid :] so i have cable & a network set up so i can go online from several computer through a linksys router. what i want to do is set it up so that i can share files and …
Please help a newby trying to code first program. I want to be able to write data to a file, then read from the same file. I can manage this OK, but If I set-up a loop to do the same procedure again I get an error message telling me …
I just noticed from within the finder that the root of my drive has a file, with no extension, called 0, that is a 0 byte file. Does anyone know where this could possibly have come from and whether it's save to delete? It should be, no? I'm thinking maybe …
Dear All, I have alot of old funtions that have 'FILE *' as passing parameter. Now I am using Compound File...It use IStream. Does anybody know how to convert IStream to FILE* ? Thank's
hi, i try to build a aplication in vb for detect on real time which files are under utilization like antivirus software do. any one can help me? thanks a lot bruno
:cheesy: :!: :lol: Hi I am "mahmood" and I Come from iran I don't speak English well. (Excuse me) Would you please guide me to open .dat files of reporter's sounds in 2006 FIFA World Cup, listen and edit them as I wish and finally save them. -------------- I extract …
Hello, I am trying to teach myself C++ and am currently studying file I/O. What I am trying to do is this (and I am sure you have heard this before): open a text file and output each word with the number of occurrences. For example, if the file contains …
The End.