7,373 Topics

Member Avatar for
Member Avatar for doomfrawen

Hi again guys :D I need to make a program that reads a txt file, show the original file on a RTB and then show the words of the file, sorted alphabetically with the number of words found on the file in another RTB, e.g. INPUT: "That fox killed my …

Member Avatar for doomfrawen
0
209
Member Avatar for thaldent

My files were really mixed up, though I followed advice in "Using Windows XP" and put these in My Documents. I'm not sure all is now correct, but will follow along with that arrangement. Anyone that can advise on this?

Member Avatar for sknake
0
64
Member Avatar for and12

I want to create a program where i can create data files, either in text, binary: data or objects. Once the data files are created by the user they can be used to view them in all modes. They should view existing data files in the current or sub directory …

Member Avatar for puneetkay
0
124
Member Avatar for znewsham

Hello, I am trying to create what I thought would be quite a simple file systme filter, based on the following assumption: At some point during a readfile() routine, the filesystem HAS to call a readsector() routine (or equivilent). My intention is, that when this request comes in I redirect …

0
58
Member Avatar for basketball4567

I need to read information from a text file into a struct array. Im writing a program to make a list of favorites that the user will input. When they close the program, the array will write to a file. The next time the program is ran, i need to …

Member Avatar for Ancient Dragon
0
493
Member Avatar for ChiboSempai

I'm working with editing GCT code files. I've already been able to open them fine. They are just files with hex code. I've been able to open them the following way: [CODE]byteArray = getBytesFromFile(file); String inputString = byteArrayToString(byteArray);[/CODE] So now, after editing the string I made, I want to be …

Member Avatar for ChiboSempai
0
136
Member Avatar for notsogood

Hi I have a program that adds, deletes, edits and views a text file's contents. The text file, named as "student.cvs" has the following content and format <student code>, <last name>, <first name>, <middle name>: [ICODE]2009-1234, Asa, Gohan, Gogo 2009-4321, Basha, Bushum, Jujog 2009-1999, Mekemi, Mekeke, Makeke[/ICODE] The whole program …

Member Avatar for notsogood
0
108
Member Avatar for yozhang

I want to upload a big file (about 80M) through the web, but it seems not working. Small file will be OK. html file: <input type="hidden" name="MAX_FILE_SIZE" value="128000000" /> php.ini: file_uploads = On upload_max_filesize = 128M max_input_time = 60 memory_limit = 128M max_execution_time = 30 post_max_size = 128M httpd.conf: LimitRequestBody …

Member Avatar for yozhang
0
247
Member Avatar for notsogood

I have a program that requires to read from a text file with a .cvs file extension. The program tends to add, edit, delete records written in the file. But before anything, the program simply can't read the .cvs file to begin with. Anyone can guide/help me on this? Thanks. …

Member Avatar for yellowSnow
0
171
Member Avatar for vijay4vin

i get a debug assertion failure when i call a text file in v c ++. how to solve the error actually. it states debug assertion failure fseeki64.c line 61 stream !=null.

Member Avatar for Salem
0
95
Member Avatar for xuexue

the program works with localhost, however, when i use the same program in my web server, it does not work, the error says: Error Uploading file, this is the code [code] $phType = $_POST['phType']; $phCustomer = $_POST['phCustomer']; $phModel = $_POST['phModel']; $phStatus = $_POST['phStatus']; $phDateDue = $_POST['phDateDue']; $phStatus = $_POST['phStatus']; $phNG …

0
89
Member Avatar for skootles

Hi, I am an old VB6 programmer converting to C#, so I hope you forgive stupid questions. I am developing a C# app to run on Windows Mobile and Windows CE (handheld terminals). I have figured out how to read data from text files but what is screwing me up …

Member Avatar for skootles
0
4K
Member Avatar for borntowin_786

Hello Friends, I am new in using codeigniter.I am working on a client project.In this i have 1 form with fields like entering name, address along with 5 file uploading basically all images.Suppose while submitting a form an error occures then fields like name and address value can be retrieve …

Member Avatar for slyme
0
153
Member Avatar for guessme

(servlets, jsp)i'm to tranafer a file from client to server using files concept. i donno how to start. plz gimme a basic idea of implementation procedure and i'll try the rest. waiting 4 help, guess me!

Member Avatar for John A
0
74
Member Avatar for guessme

(servlets, jsp)i'm to tranafer a file from client to server using files concept. i donno how to start. plz gimme a basic idea of implementation procedure and i'll try the rest. waiting 4 help, guess me!

Member Avatar for vincent2085
0
214
Member Avatar for shraddha_gupta

When I am taking input from file using Ubuntu as OS, DataInputStream is giving different values from the number in file. What to do about it?? I dont know much about file int, I also tried out using BufferedStream, Still getting some strange values. Please reply soon.

Member Avatar for harsh2327
0
88
Member Avatar for acidleaf

I am currently working on a school assignment which requires us to read and write two kind of derived objects into a file, but i cant seem to read them in correctly once i have saved them into a .dat file. here's what i have got so far: the base …

Member Avatar for acidleaf
0
217
Member Avatar for IntoDEV

Ok.. i have a script that lets the authorized user to browse and download the files they want(that's what it supposed to be), but... i can't get to give the user files via links. The files are in a different drive and folder then apache, so how can i make …

0
42
Member Avatar for foosion

I've been having problems with email in 3.1.1. I decided to try the examples from the docs. Alas, the first I tried didn't work. I tried to send a directory whose only contents were a single zip file. [code]#!/usr/bin/env python """Send the contents of a directory as a MIME message.""" …

0
252
Member Avatar for esesili

Hi all, I am having problem about file operations. There are a few numbers in my txt file. I want the program to calculate average of these numbers in the txt file. The code I have written is as below. Number of numbers in the file is 5. When I …

Member Avatar for mrnutty
0
133
Member Avatar for Sune

I have adapted a program that implements a register of players and stores the players in a struct, with BIN file handling. Now it's not possible to use the records after they have been loaded from the BIN file. The compile is ok and both functions below are excuted without …

Member Avatar for Sune
0
150
Member Avatar for bshyama24@gmail

Hi, I am using [B]file upload[/B] control in .net. But I want , the user only able to upload doc, docx and pdf file.How do I make it possible?

Member Avatar for dnanetwork
0
91
Member Avatar for pymatio

I have a file like this: [CODE] 2 | H| 2 | H| 2 | H| 2 | H| 2 | H| 2 | H| [/CODE] & this code to read it in: [CODE] f = fopen(p, "r"); char *t[100]; int i = 0; int i2 = 0; int n …

Member Avatar for tux4life
0
303
Member Avatar for oliflorence

Hi, i am working on a project where I have to read a .txt file for a feed and parse the data line by line. I am using FSO in ASP to do this and it is working fine on small versions of the file, unfortunatly, the actual file is …

Member Avatar for closetosane
0
215
Member Avatar for JameB

HI, I was trying to learn more about I/O with files in C++ and I can't figure out why this program can't output to the file... [code=cplusplus] #include<iostream> #include<string> #include<fstream> #include<algorithm> using namespace std; char userinp; void print_interface() { cout << "Enter E to Encrypt" << endl << "Enter D …

Member Avatar for vmanes
0
130
Member Avatar for DdoubleD

Hi, I have two questions (Win XP): 1) I accidentally set a file's extension to open with the option "Always open with this app", or whatever the text is. Anyway, you can change it in the file's property dialog, but you cannot remove it. I want to remove it so …

Member Avatar for caperjack
0
181
Member Avatar for acplus

Hey, guys! I need little help for finished my code. I have created the code for analize my text file. I have text file with 2 lines. The program counts the lines of my txt file, length of each line, upper and lower case letters. Code works perfect without errors. …

Member Avatar for mrnutty
0
148
Member Avatar for tyliang

I need to print to data stream to an output file but I'm not sure how to catch the data. Given example inputfile.txt has 20 data with a structure Michael 000000 m [email]abc@123.com[/email] 50 60 70 [code] #include <stdio.h> #include <string.h> void scanData(struct student data[]); void avgMaths(struct student data[]); void …

Member Avatar for jianna
0
120
Member Avatar for acplus

Hey, everyone! I've got small problem in this code! I cannot find a mistake in this code. I was playing many times by changing functions and values, but something wrong. I'm beginer in C++, but I would like to be professional. I never ask for codes, only help for explaining. …

Member Avatar for acplus
0
149
Member Avatar for penguin22

Hi, I was wondering if it was possible to change an exe settings through dos? For example, instead of right clicking and going to settings to change the settings I would like to right a bat file to do that.

Member Avatar for stvrich
0
166
Member Avatar for missty

the function is used to write things into a txt file. the function works quite well except there is a blank first line in the txt file. i think the error is caused by "ios_base::app", which always write to the end of the file. i want to write to the …

Member Avatar for Dave Sinkula
0
200
Member Avatar for sallas07

Can I be able to read a text file from any text editor (eg Ms word, wordpad) using python. and then return whats inside?

Member Avatar for jlm699
0
111
Member Avatar for stoymigo

Hi, i generate a pdf file from C#(VS2005) via the ReportViewer control .The pdf has a picture and text. How can i prevent a user to be able to copy text/images from that file. Here is code i use to create pdf file. [code=csharp] private void CreatePDFfromTXT(string textFile, string pdfFile, …

Member Avatar for kvprajapati
0
484
Member Avatar for mevkurray

Hi all. Majorly bamboozled by the wxwidgets file streams. does wxFileInputStream have a GetLine() function, similar to the normal c++ file stream class??? had a wander thru the wx docs, and just ended up more confused. heres what i want to do btw. (note, functions are seperate but operate on …

Member Avatar for mevkurray
0
533
Member Avatar for stoymigo

Language : C# (Visual studio 2005) Hi , i have problem I use File.Copy to copy from Local HDD to network HDD . THe app on my side works , but on client's side , that operation hangs. So , when program should start copying , the client just gets …

Member Avatar for stoymigo
0
303
Member Avatar for Nogat21

Hi, im trying to write some information into a mp3 file. The information i'm trying to introduce into the file must begin 128 bytes from the end of the file, and this block of information is identified by the string "TAG" at that position (128 bytes from the end). After …

Member Avatar for Nogat21
0
282
Member Avatar for rcdeck

Good Evening everyone, I am hoping this is the proper place to post this question, might not be but im not really sure where to go with this one. I am working on a website for my company which will be based on our Intranet, and was wondering if there …

Member Avatar for almostbob
0
108
Member Avatar for amazing_grace

hi, i am working on a project to write data into the file and use a search enginee to get the data back. i was advised to use record but i didnt learn record at school. i tried to google it but came up with no solution. that's so far …

Member Avatar for lad389
0
3K
Member Avatar for Nogat21

Hey i have a problem about file copying. I have a source file opened with fstream and a destination file opened with FILE*...im trying to copy a chunk of the source file into the destination (the function receives as parameters the start second on the source file in which we …

Member Avatar for Nogat21
0
89
Member Avatar for sayaan

Hi, I have written a jsp page which extract large data (1.5MB) from database and downloaded to a csv file. The browser promtpts a file save dialog box and user can save it in csv file in local drive. The program works fine only problem is, in csv file there …

Member Avatar for sayaan
0
228
Member Avatar for LSU_223

hello - i am trying to take a text file with multiple sets of numbered lines and sort each set, leaving the non-numbered text in place. i can't seem to figure out how to loop over the regular text, save then sort the numbered text, then move on. i want …

Member Avatar for KevinADC
-1
126
Member Avatar for mybluehair

Hi. I have a c++ game where you make money throughout the game, and the game saves it to a separate txt file. When the game opens back up, it grabs the info in that txt file and puts it into a variable. Thats not the problem though. I'm adding …

Member Avatar for Protuberance
0
83
Member Avatar for jko2326

How do I read two different data types from a .dat or .txt file? For instance I have a file that is an inventory file that shows the item reference number, the item name, and the quantity available. Example of what the file may look like: 01 Textbook 54 02 …

Member Avatar for Protuberance
0
151
Member Avatar for jko2326

Please help, this is for an assignment I need to turn in and I'm STUCK! I have no idea how to do this I've done programs but none like this calling differnt functions. this is what is in the data file. 100 Hammer 10 20 10 200 Saw 24 00 …

Member Avatar for poncho4all
0
421
Member Avatar for Nogat21

I'm having a bit o a problem with inheritance. The context is this assignment i have in which we have to read from an mp3 file, extacting the informations within it as well as provide other informations not explicitly contained in it (for instance the total audio time of the …

Member Avatar for Nogat21
0
203
Member Avatar for Rakyu

At the moment I am currently working on a program (for school) that saves and reads CD album information from a file (pre-made). The information that can be saved (and read) is the album title, the artist, the recording group, the genre, the date purchased (in the DD/MM/YYYY format) and …

Member Avatar for Rakyu
0
104
Member Avatar for Tekkno

I have a form that gives the user an option to upload a file. The field is optional, but if they do not upload a file I would like to insert a default image into the database. At one point it was working but I can't seem to figure out …

Member Avatar for Tekkno
0
99
Member Avatar for alsoumhi

Hi experts , I got problem and need help please. I have created a servlet sends a message to the client, I have tried to attach a text file with message being sent but I couldn't do that. please help me how to attach a file with a message. is …

Member Avatar for peter_budo
0
78
Member Avatar for LadyAnne

Hi Guys I am new at this, and I despeartely require some help. I basically need to write a program to read a text file, alter a single value and write it to a new file. I have done some stuff so far which seems to be correct, however, nothing …

Member Avatar for LadyAnne
0
147
Member Avatar for nandrews

I am with a user whose PC has lost all file associations, tho' it seems to be able to start and run certain things (IExplorer for instance). I have various .reg patches to apply (from [url]www.dougknox.com[/url]) but since the PC doesn't even know how to open Regedit I am stuck. …

Member Avatar for edrich
0
133

The End.