4,718 Topics

Member Avatar for
Member Avatar for jasweb2002

Hey Everyone, I need to write a program where the first half builds what is basically a file directroy tree. Files and their paths will come in from file in the form... /program/file/whatever ... and be read into a string. Problem is I don't know how to manipulate strings very …

Member Avatar for frrossk
0
107
Member Avatar for kimimaro

hi below is my save function that is used to placed data from the C program to a text file for future usage. [code] [COLOR=Blue]void save() { FILE *save; int i = 0; save=fopen("employeerecord.txt", "a+"); do { if(strcmp(record[i].ID, "")!=0) { if(i!=0) fprintf(save, "\n"); fprintf(save, "%s %s %s %s %s ", …

Member Avatar for Narue
0
104
Member Avatar for mr_mooz

Im trying to write a struct for a binary header of a sun raster file to a file on disk. i have a struct for the header data: [CODE] struct rasterfile { int ras_magic; int ras_width; int ras_height; int ras_depth; int ras_length; int ras_type; int ras_maptype; int ras_maplength; }; which …

0
83
Member Avatar for waterprincess

accidently clicked a button twice, resulting in MAC read the command as in download the file. forced to quit the process, but the file is now on desktop, can not be moved nor deleted, the message says the file is currently used by another task right now, such as moving, …

Member Avatar for yellow
0
295
Member Avatar for Memory Loss

Well, not so much difficulty, more like I am completely stumped! I've only been programming with c++ for a few weeks, yet I have found myself in the predicament of having a small, albeit difficult assignment to complete for university pretty soon. I was wondering if anyone could help me. …

0
81
Member Avatar for foreverman2002

hi rellay i am new in you forum but i think that i will intersted with you... my quastion is: how can i compressed any file as zip by php? i have a file and i want from user to download it as zip file and i want to compress …

Member Avatar for foreverman2002
0
154
Member Avatar for nicoletonyf

Hello there, My program is supposed to read data from a txt file, and put this data in a 2 dimension array. All I have is the last line of data in my text file. My teacher said that I have to update the array in my loop. I have …

Member Avatar for Narue
0
233
Member Avatar for joshuu

I have a windows 98 running in a compaq deskpro that now is saying that there is an unrecognised command in config.sys file and that there is an error in config.sys file in line 1.I have a rescue disk and I copied the himem.sys file to c:\windows and typed sys …

Member Avatar for dlh6213
0
74
Member Avatar for freesoft_2000

Hi everyone, I am doing a simple compression program in which the application uncompresses the file to a selected folder. The thing is that the file that is being compressed already exists in that folder. What i need is someone to show me a way in whic the file is …

Member Avatar for cosi
0
126
Member Avatar for macca1979

Hey there, I'm new to java and I need to write a string that i generated in my code to an output file. I'm currently writing the string to the standard output like so : System.out.println("K_"+Receiver+",t"+msgnum+"(R(" +Receiver+",t"+msgnum+"("+out1+")))"); All the types e.g. 'Receiver' or 'out1' are of type string. Could anyone …

Member Avatar for tigerxx
0
113
Member Avatar for HoWS

I get an error as below when I try to boot my Linux server:- /data contains a file system with errors, check forced. Error reading block 7700497(Attempt to read block from filesystem resulted in short read) while doing inode scan. /data:UNEXPECTED INCONSISTENCY; RUN fsck manually. (i.e., without -a or -p …

Member Avatar for alc6379
0
214
Member Avatar for anjafo

I need a good programme for generating new files that will save consecutively etc. Quite basic stuff for your great minds I would believe. :cool: My files get a bit messy after a while and mistakes are not unknown. Each job we do needs its own report, sometimes upto 3 …

0
38
Member Avatar for freesoft_2000

Hi everyone, I have a weird problem. I have created a zip manager and unzip manager. The zip manager works alright in a sense that it can create zip files and also the contents of the zip file zipped by my own zip manager can be extracted by using winzip. …

0
76
Member Avatar for Kiwiman

Hi everyone, I'm doing a beginners C++ paper at Uni and I'm stuck. Basically I need to read data from a file and then display it on the screen. So far I've got: Correct headers will be called..... int main(){ char filename[30]; FILE *in; printf("Enter file you wish to open\n"); …

Member Avatar for Dave Sinkula
0
298
Member Avatar for nn_tiwari

hi guys i want to recursion in such a manner that i put menu name in properties file and i want to add theire respected sub menu. e.g. menubar = file edit help file = New Open Save Exit edit = Cut Copy Paste help = help help = about …

0
78
Member Avatar for dhanashree

how to increment file pointer .... suppose i want to read the 1st possition in the file and then the 64th position ..how to do that??????????

Member Avatar for frrossk
0
137
Member Avatar for shouvik
Member Avatar for Stack Overflow
0
142
Member Avatar for big_k105

Ok my problem is i have a struct and im tring to ready a line into the array of structs using fstream. here is the code i have its just a basic layout of what will come later on. but here it is :) [code]// file: main.cpp // author: Kyle …

Member Avatar for big_k105
0
172
Member Avatar for nyqvist

Thank You for taking your time to read this. Well, the subject kind of tells it all. I have built an webshop, but would like the order to be place in an text file insted of mysql. This text file has to be in an csv format in order to …

Member Avatar for samaru
0
237
Member Avatar for sonix

anyone remembers the syntax of reading a file into C and subsequently printing it out? for eg. i have the file 'matrix.txt' the contents inside the file is as follows: <matrix> rows = 2; cols = 2; 1 2 2 4 </matrix> how do i read it into my C …

Member Avatar for Dave Sinkula
0
490
Member Avatar for jatin

hey guys..... i need 2 write this program which picks as and when a new message is written into the syslog file(syslog is a system file in unix) the trouble is ther r hundred's of messeges written into syslog file. I was experimenting with End Of File and pointerts but …

0
107
Member Avatar for freesoft_2000

I have a text area and a button on a frame and there's some text in the text area. What i need is when the user clicks the button whatever the text in the text area is saved to the file "C:\ret" with the aid of the file selector dialog. …

Member Avatar for nanosani
0
210
Member Avatar for jkrat15@ou.edu

I need help finding the easiest way to transfer files from a desktop computer running XP to a laptop running XP. I have tried connecting the computers directly sing an ethernet cable, but I can't get the Files and Settings transfer wizard to work.

Member Avatar for jackster
0
201
Member Avatar for dmb_swede

well i dl'ed a windows media file from limewire...ive read many message boards and took all their suggestions but none worked from me....it should be a wmv file but wont play and shows up as 0 bytes...i tried safe mode...command from start run...eraser and hjack this...also antivirus..but eraser said nothing …

Member Avatar for QKSTechTrainee
0
418
Member Avatar for gray

Hie I have got a problem , the problem I cannot extract the values from a file (eg I created a file called gray.txt for extraction and a file called average.nbr for insertion) the program is running but if I check in the file average.nbr there is nothing written. here …

0
73
Member Avatar for Crazy_M

File / sharing k, i have 3 comps all running off one router, i can ping each comp, and also, i can see each comp on my network directory. yet heres my problem, i can look at any of the 2 comps opposing to me, and log onto c: drive, …

Member Avatar for Crazy_M
0
145
Member Avatar for pranavjec

hi guys, can anyone here give me c program about any file which would in binary format . the program will copy some content of binany file which would be on a tape drive (or any drive) & paste it another text file that would be in disk. thanks in …

Member Avatar for WhataNerd
0
132
Member Avatar for Kimmi

Hi ya, I looked up "fc" and "for" in DOS commands but unable to find the solution I desired. I would want to edit a command into a .bat file that could search a particular field in a line (the line might be of different sequence order) in a .dat …

Member Avatar for Chainsaw
0
137
Member Avatar for zrixter

as title mentioned, i face problem with convert a jumbled text file to unjumbled text file, some of you might not clear what i am saying, well a example will give a clear idea what this all about. jumbled text file contain a few line of number, after unjumbled it, …

Member Avatar for FireNet
0
162
Member Avatar for twodollarbill
0
102
Member Avatar for Ron Wolpa

[COLOR=Navy][B][FONT=Courier New] aug 4th 2004 ref: I E 6 - "file/save as" menu does not save pages correctly on my local disk on last May I was obliged to reformat the HD and reinstall everything ; since then I noticed that I cannot save correctly the web pages on my …

Member Avatar for JR85023
0
240
Member Avatar for macca1979

Hey, First off I'm really new to Java so please bear with me. I need to read in a file and translate it to a different output format. An example line segment from the input file has the following format: "step(procs(),rule(1,A,B,vars(Na,Rv,ped(pk(B),cat(Na,A)))),procs())" (i) This means that at step 1, A sends …

0
123
Member Avatar for nita

hai I'm again I already done my program below. the problem when i run no output appear. basically I declare 2 file . 1 for input(InTransFile) another one for input and output(InMasterFile).Both in .dat. I want to compare accno1(masterfile) and accno2(transfile). if they equal have to overwrite balance1(masterfile) and next …

Member Avatar for FireNet
0
151
Member Avatar for nita

hi I have problem with file. The problem is I have to compare two file 1)master file and 2)transaction file. both have accno, amount,id and code(d-deposit,w-withdraw). the accno is in char[10] ,amount double, id integer and code character[1]. my problem is how to compare accno from master file with accno …

Member Avatar for kc0arf
0
98
Member Avatar for xinhua

I am writing a program to copy files from one location to another. I only want to copy the files that is not in writing mode. Here is the logic: (1) If the file is not opened (by any application), copy it; (2) If the file is opened (by any …

Member Avatar for xinhua
0
264
Member Avatar for labamba

Hi there. for the last couple of weeks I am trying to find a solution to my problem but with no luck. There is a program written in C++ which can fine the mac addresses of the bluetooth addresses that are in range. As soon as it finds them, it …

0
111
Member Avatar for rtan24

I have a problem trying to transfer files from my older Mac (OS 9.2) to my new Mac ( OS 10.3). I connected a crossover ethernet cable to both machines, then turned on AppleTalk and FileSharing on both machines. Mac Help says that's all you have to do. Obviuosly there …

Member Avatar for kc0arf
0
161
Member Avatar for ElvisTCB

Here is what happened to me in sequence, any help would be appreciated (Dell Deminsion 8100, XP - SP2, 1.5ghz p4, 384 mgs ram, Nvidia 5900 video card.) 1) was removing old video and sound driver remnants with Driver Cleaner in safe mode 2) rebooted, for a few mins everthing …

Member Avatar for mikeandike22
0
315
Member Avatar for belgarath

I wonder if anyone can help me with this one. A friend and I live a few miles apart, and wish to share files etc. Is there a way we can do this via internet? The files tend to be very big, so email is not really an option. I …

Member Avatar for belgarath
0
148
Member Avatar for JeffSyd

Hi all, I need to maintain a text file which contains only 10 lines. As a new line is added to the top - a line is removed from the bottom. So although the file is automatically updated regularly it will always contain only 10 lines. I know how to …

Member Avatar for red_evolve
0
147
Member Avatar for Pitufo

Hi I just installed Norton net security and in the instructons it mentions that it blocks file/printer sharing by default. When I am trying to connect to someone over MSN messenger to have a videconference or swap files I've found the only thing to do to get it to work …

Member Avatar for DMR
0
151
Member Avatar for JCD

Hello, I have a dilema. Currently if i want to save a file / read from a file i assign a string variable to a directory for example C:/Files/Blah.txt . However, i am currently working on a program which will be distributed between some close friends and having a fixed …

Member Avatar for Paladine
0
145
Member Avatar for meabed

hello, i want to sort a file and i don't know how to put the data from a certain field of the file in a vector, sort it and then put it back in the file. here's what i've done. [CODE]FILE *file; struct catalog{char 1rst_field,2nd_field,3rd_field}name,v[100]; //here i put the data …

0
143
Member Avatar for mshankars

Dear friends, When I list the files in my machine with SUN solaris 5.8 I can see an unidentified file like..... -rwxr-xr-x 1 isos staff 566952 Oct 12 2001 sendapi* -rw-r--r-- 1 isos staff 3471 Oct 12 2001 set_environ.inst -rw-r--r-- 1 isos staff 1534 Oct 12 2001 setenv.site -r-xr-xr-x 1 …

Member Avatar for mshankars
0
323
Member Avatar for frosticex

I'm a novice programmer, I'm writing a program called GPA that reads characters and numbers from a file. The numbers from the file are the amount of credits for a course, the characters on the program represent the grade for the course. I'm supposed to find the amount of credit …

Member Avatar for frosticex
0
200
Member Avatar for MrCool

Hi there, I am currently converting a matlab file to C, and need some help writing the data calculated in 2D arrays to files. This is what i ahve done so far: <snip> File *U; File *V; File *X; File *Y; U = fopen("U.txt", "w"); V = fopen("V.txt", "w"); X …

Member Avatar for BountyX
0
241
Member Avatar for Gnome_101

I have the code(below) but I can't get the program to close data2.txt and opne it again. Is there a way to reset the starting read position? I want it read through the file for as many times as I want, without ever editing the file. [size=2]#include <fstream> #include <string> …

Member Avatar for Gnome_101
0
512
Member Avatar for Slashface

Hi everyone first time post, but it seems to be a pretty difficult problem. I have two computers, the first is a AMD Desktop with two NIC cards (both Netgear 10 Mb). One of the netgear cards is configured to connect to the school's T3 connection, the other is meant …

Member Avatar for Member #2466
0
335
Member Avatar for red_evolve

Greetings! Can anyone please educate me about this topic? I was wondering, how do people come out with extension files such as .doc, .mp3, or let's start with .txt first. How can I do that? Can anyone please provide me with a rough idea? Thanks.

Member Avatar for BountyX
0
115
Member Avatar for Dani

[font=Arial][size=5][color=#0000ff][i][size=2][color=black][font=Verdana][color=black][i]I found this in a few different places around the 'net - hopefully it's helpful:[/i][/color][/font] [/color][/size][/i][/color][/size][/font][font=Arial][size=5][color=#0000ff]Move the Paging File in Windows XP[/color][/size][/font] [font=Arial][size=2][color=#000000]This article describes how to change the location of the paging file in Windows XP. The paging file is the area on the hard disk that Windows uses …

0
199

The End.