6,015 Topics

Member Avatar for
Member Avatar for hellsae69

Can anybody help me on how to search a keyword in my text file. I read about eliza420 Thread but still don't get it. If i have a text file named. "animals.txt" with a content of, ------------------------------------------------------------------- Fish Pig Dog Goat Bird ------------------------------------------------------------------- and in my c++ program a question …

Member Avatar for thekashyap
0
80
Member Avatar for dcarrillo18

I have a folder called _secure in which I have a .htaccess file that denies all access to the _secure folder. Within the _secure folder I also have a swf file. I'm using PHP to retrieve the secured swf file and show it if the user is logged in. For …

Member Avatar for DanceInstructor
0
138
Member Avatar for molze

I am upgrading a vb 6.0 app to .net and I'm having trouble moving a file. The app retrieves info from an XML. When it's done I try to move the .xml file to a history folder and I'm getting an error: An unhandled exception of type 'System.IO.IOException' occurred in …

Member Avatar for molze
0
129
Member Avatar for tjay

[B][U][COLOR=#000000]CURRENT SYSTEM[/COLOR][/U][/B] [COLOR=#000000][/COLOR] [COLOR=#000000]The name of the company that I am discussing about its system is <company name snipped> All the system running in various departments are computerized except that of the Front Office which needs to do some revamping in its system. Everyday the counter will handle the checking …

Member Avatar for Aia
0
153
Member Avatar for gamodg

[code=cplusplus] #include<stdio.h> #include<conio.h> #include<fstream.h> void file() { for(int i=0;i<30;i++) { char a[10]="2-2aa.pak"; a[4]=a[4]+i%26; a[3]=a[3]+((i/26)%26); fstream file; file.open(a,ios::in |ios::out); file<<"anshulgarg"; file.close(); } } void main() { file(); } [/code] it creates 30 files with new names in bin but when i give relative path ex "\\p\\2-2aa.pak" and adjust a[8],a[9] appropriately it …

Member Avatar for Salem
0
83
Member Avatar for Derice

i am a newbie in C++ file processing... Any1 can guide me to search for an item(lastname) in the example below? what is [B]seekg[/B] or [B]seekp... [/B]how to use it? [code=cplusplus] #include<iostream> #include<fstream> using namespace std; void main(){ char firstname[10], lastname[10]; int age; ofstream write("text.txt", ios::app);/*actually i am not sure …

Member Avatar for ~s.o.s~
0
132
Member Avatar for nottoshabi

What would be the pusedo code for a program that would write data to file? Would it look something like this? Declarations of type of data you want to enter. Open the file, you want to write to. Check if the file opened. If file did not open try again. …

Member Avatar for WaltP
0
131
Member Avatar for jeet_portal

Hi Experts, I have written a Servlet file which sends email to a user .When if i run that servlet file in command Prompts it sends a email .Now i want that servlet file to be automatically executed inside my Tomcat server within a stipulated Time . Sothat it can …

Member Avatar for jwenting
0
116
Member Avatar for Bobbiegirl

I have a project that is due and I have written the code and for a part of the code output to the file I cannot get the right format. I cannot figure out what the formatting should be can someone please help me. [code]#include <stdio.h> #include <stdlib.h> #include <string.h> …

Member Avatar for Aia
0
167
Member Avatar for geetha_sg

hi friends,,, I have two type of files one .txt format another one is .idx format.. txt file have 7 columns delimited with "|" idx file have 7 columns demilited with "," i have to compare the txt file 2nd and 3rd column with idx 3rd and 4th column. Here …

Member Avatar for thekashyap
0
84
Member Avatar for Rocksoft

Hi, I have used C# in vs 2003, in my application i have to read text file, pick data from text file and insert into database, but the text file have some garbage value (garbage value "Ú" ) , so i should replcace this garbage value to single space, i …

Member Avatar for Rocksoft
0
214
Member Avatar for shivam_ng

I have the following file as the input APPLE 0 118 1 110 1 125 1 135 2 110 3 107 3 115 3 126 ORANGE 0 112 1 119 2 109 2 119 3 112 4 109 4 128 MANGO 0 136 1 143 2 143 3 143 4 …

Member Avatar for Ancient Dragon
0
120
Member Avatar for AngieM

Hello, I have what is probably a very simple to fix problem. I have a desktop running on windows xp home. I have a new laptop running on windows vista. They are connected with a netgear router. My connection is fine, I can see my desktop on my laptop and …

Member Avatar for TT4Titans
0
87
Member Avatar for beuls

Hi everyone, I was trying to load an assembly during runtime from a remote application server using the web configuration file in C#. I created a dll eg. RemoteLib.dll. Then i developed a windows application that uses this dll. eg. testApp. I added a config file "testapp.exe.config" that contained the …

Member Avatar for beuls
0
217
Member Avatar for xgringo

PQPZ3.DATR.QRL.R9529.D090295.T19501.das.1333332287722.1.2.err I have AIX so I can't use rename hopeing for something easier but I need to find all the files in the directory and then any of them that have a .err on them I need to be able to rename them back all the way to the .das …

Member Avatar for masijade
0
139
Member Avatar for ctrohana

Hi all, I need ur help.. Actually I have to read the data file which containing character and digits. I need to converts some characters into digit. The data file is like: A11111 B22222 B33333 B4444 A55555B66666 B77777 So far my programming is like this: [code=c] #include <stdio.h> #include <stdlib.h> …

Member Avatar for Salem
0
133
Member Avatar for proxystub

cant seem to read from this my file "d.txt", i know this is quite simple code but its just not working, and yes file "d.txt" is in the same directory as the .cpp & .exe [code] #include <fstream.h> #include <iostream.h> #include <stdlib.h> int main() { char ch; //int check = …

Member Avatar for proxystub
0
124
Member Avatar for tiredofcrap

Hi, I was having intermittent issues with explorer/mozilla both not able to resolve dns. I am not able to Spybot. It starts and exits by itself. Adaware (free version) did not find any problems. I ran Spyware Doctor and still cannot access any sites. I cannot download AVG. Here's the …

Member Avatar for crunchie
0
148
Member Avatar for hbmarar

Hi , Wishes. I have developed a commenting system and it work as follows. first comment would be X. All reply to this would be X.X and reply to X.X would eb as X.X.X likewise. I keep each level's maximum filename used using a count file. [PHP] I use the …

0
61
Member Avatar for mack-in-awe

When starting/re-starting W-xp-home from standby or total restart, I get a message similar to: Cannot find a certain file. O.K. The "unfound " file name is obvious. What I'd like to know is how can I find and delete the file that is SEEKING the unfound file, thus eliminating the …

0
36
Member Avatar for vinod_javas

Hey guys.. How to write a textfile..from client to server.. I have tried like this [B] lStrFile = "ErrorLog" +""+day+""+mon+""+year+".txt";[/B] [B] FileWriter fstream = new FileWriter(lStrFile, true); BufferedWriter out = new BufferedWriter(fstream);[/B] [B]out.write("Error ");[/B] in this code the error will locate in current place.. i mean in our project location... …

Member Avatar for jwenting
0
100
Member Avatar for avik1983

i have a simple text file as input.i have to print that file in paragraph format.whenevr it finds "\n" in the input text it should start printing in next paragraph in output file.also a fixed amount of space should be given before start writing in every paragraph. the input and …

Member Avatar for avik1983
0
226
Member Avatar for donaldunca

I have a question: I have a file named "data.inp". This file have numbers: 6 3 5 4 5 2 5 3 1 5 8 7 9 2 5 6 3 5 8 4 6 If I want more line of numbers, I will add numbers. But I don't know …

Member Avatar for donaldunca
0
231
Member Avatar for dalton

ok so im scanning this text file for the string "model=" the problem is, i need to pull the numbers after that string until it reached the end of that line, this is an easy script but for some reason its just not happening. If someone smarter than myself could …

Member Avatar for iamthwee
0
806
Member Avatar for martinkorner

Hi, I have a simple ".htaccess" file which needs to do two simple things; It needs to allow php in normal htm and html files, and use my customized error pages. The following code is the contents of my entire .httaccess file: [code] ErrorDocument 400 /error/error400.htm ErrorDocument 403 /error/error403.htm ErrorDocument …

Member Avatar for MattEvans
0
136
Member Avatar for katharnakh

Hello, I have a script to read remote file. The script goes as follows, [code=Perl] #!C:\Perl\bin\perl.exe $remote= '\\\remotehost\remotedir\remotefile.jml'; open(fp, $remote) or die ("could not open the file"); print while(<fp>); close(fp);[/code] This script runs fine on my windows machine. But the same script when I run in UNIX, after changing the …

Member Avatar for masijade
0
113
Member Avatar for royaloba

hello Guys, can somebody help me reading a .dat file then output the file in a textfile sample .dat file 1 2007-02-12 18:13:13 1 1 2007-02-12 18:13:20 1 1 2007-02-12 18:13:23 1 1 2007-02-12 18:14:04 1 12345 2007-02-12 18:15:15 1 1 2007-02-12 18:15:17 1 12345 2007-02-12 18:15:19 1 sample Output …

Member Avatar for royaloba
0
844
Member Avatar for Aia

I'm at the point of learning how to write to a file. I created these lines as a test. My concern is that it doesn't look right that I have to write the same sentences for displaying it to screen and to put it in file. [code=c] /* * data.c …

Member Avatar for John A
0
222
Member Avatar for Steph102

Hi everyone. A professor of mine suggested I try to do an IST project so I can pick up a credit to keep me at full time student status. One he suggested is building a server. I thought maybe I could build a file server. But I do not know …

Member Avatar for Steph102
0
64
Member Avatar for n.aggel

Hi, i have five{number is unimportant} independent objects{the purpose is to model sensors} and i want them to write sequentially{not in the same time}, some info to a file{all to the same file} and at screen... i was thinking to implement a fileWriter class, that will create the file...and then …

Member Avatar for John A
0
140
Member Avatar for MrsGorilla

Hello all, I wasn't sure what the correct forum would be for this question so here goes... I have kind of a strange problem (well, to me anyway) and I am having trouble figuring it out. I have a Microsoft Access DB that I have created that I have split …

0
37
Member Avatar for Mediamixerj

Okay I've just started learning c++ in college but I'm stuck on a bit of what to do to get the program to read from an file with floats. I've got floats like 38.5 33.6 44.45 42.86. I am told to read these floats ("temperatures") in the program. I start …

Member Avatar for John A
0
202
Member Avatar for Iaintnofool

Hi I'm stuck on a project using VB 2005 express edition. I'm having trouble reading in data into my code from a Text File. I'm using an openFileDialog so the user can select a file to open. The opened file will contain 3 columns and an unknown number of rows. …

0
52
Member Avatar for EAMON

Hello I am in need of advice on how to extract a software application I urgently need for a college course I am currently doing. The software is packed into just 1 file with a file extension ' .nrg ' . All the info I can find was to save …

Member Avatar for EAMON
0
123
Member Avatar for Aia

May I impose on you guys again? I'm trying to learn how to write to disk into a file. I think I got that down, however I would like to be able to display to screen the same text is being written to file. What's a way of doing that?. …

Member Avatar for Ravalon
0
175
Member Avatar for Harshita_garg

Hi All!! I am relatively new to C++ programming so please forgive me if my question is very basic or silly. I am trying to read files in C++. It opens text based files properly but doesnt open csv files , though I am saving them in the same directory. …

Member Avatar for Harshita_garg
0
1K
Member Avatar for bhavna_816

How HTML understands the file extension? When i open a zip file or any other file extension it should understand the file extension and render it accordingly. Can anybody have any idea how can we do this using VB.NET or HTML?

Member Avatar for Dukane
0
69
Member Avatar for jblacdao

I've been testing on uploading files and I encountered a weird bug while testing it out because on the initial uploading of the file, my localhost uploads it to the root directory of my xampp rather than in the directory inside my htdocs folder. To make things clear here's what …

Member Avatar for vssp
0
114
Member Avatar for donaldunca

I have a question: I create a file named "number.inp". This file has a row of numbers: 5 4 4 3 3 3 2 note: 5 is the first number, haven't any space or char in front of 5 [CODE] #include<stdio.h> #include<conio.h> #include<stdlib.h> main() {clrscr(); int ch,v[10],count=0,i=0,j=1,n=0,a[10]; FILE *f; f=fopen("number.inp","r"); …

Member Avatar for donaldunca
0
100
Member Avatar for michael.ngobeni

Hi Guys, I have a web server called [B]Server123[/B] that is hosting my web application called [B]Myapp[/B]. There are users that connect to this using [URL]http://Server123/Myapp/default.aspx[/URL] There is an ftp server called [B]FtpServer123[/B] that has files that I need the users to download to their local machines. What I need …

0
70
Member Avatar for melefire

Hello, Me and a friend need to transfer a 6 gigabyte file. We both run OS X 10.4, we need to know the best way. MeleFire thanks in advanced

Member Avatar for John A
0
80
Member Avatar for whitemoss

Hi All, Im currently try to write a code to read the data from mysql tables and then write the contents into a text file. Below is my code. I dunt know what's wrong with this code because in the text file created, there is no data from database written. …

Member Avatar for Ancient Dragon
0
255
Member Avatar for sneekula

Since there is so much discussion on one of the threads on zipping/unzipping files and all the associated incompatibilities, is there a way to do this with Python and cut out the middleman?

Member Avatar for vegaseat
0
136
Member Avatar for GriffIT34

right click, choose open with, the program i need isn't listed so i browse find the program in program files and open..............but it isn't part of the open list? This works fine on other pc's in office, what the _____ is going on. Anybody with any experince with something like …

Member Avatar for GriffIT34
0
92
Member Avatar for fesago90

I'm doing a homework for my programming class, the following code is a part of my code which I cut out and formatted to be a 'runnable' program. Now, if you run it you'll notice it creates a data.txt file, writing the amount of student IDs in the record as …

Member Avatar for jwenting
0
140
Member Avatar for elblazzy4chizzy

File Download Dialog Box(ASP) I have a ASP Page that allow the users to Download a File @ the Click of the button the [B]File Download Dialog Box [/B] will pop up on the Scream ,on the download dialog Box are 4 buttons namely[B] Open [/B] ,[B]Save[/B],[B]Cancel[/B] and [B]More Info[/B] …

Member Avatar for kapil.goyal
0
311
Member Avatar for xSyDx

I have a file on my hdd that is 16gb big and i created the movie file in adobe premiere and while i was opening it in nero, I had some type of error in nero that corrupted the program, since then i reformatted nero and continued with other projects …

Member Avatar for xSyDx
0
95
Member Avatar for sam_22

Hi everybody I am a beginner with C++ programming. And I need some help. How can I start with this program *********** [IMG]http://www.gidforums.com/images/gid/smilies/icon_smile.gif[/IMG] The program is using a text file of information as the source of the questions. The program starts by outputting a simple text information screen: Question Master …

Member Avatar for John A
0
216
Member Avatar for blakisa

I am having a problem reading a .txt file off a web page using Microsoft's XMLHTTP method. After reading the the page into a variable called strContents I would like to write the data to a file. I have the following code but seem to get an error in writing …

Member Avatar for blakisa
0
185
Member Avatar for Roxielove

If there is...what do I need to do now? My new laptop came with nothing but a power cord and an owners manual. I sorta makes the Media center edition kinda useless to me and I wanna use my new toy so bad and don't know enough about computers to …

0
36

The End.