13 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for Sunshineserene

Hi all, I need to read a text file (I've attached it, you can take a look), and then store all the numbers in it into a 2D array. After which, I need to parse it. I need urgent help here! ):

Member Avatar for Red_2
-2
19K
Member Avatar for asadaziz

what i wanted to do was to read multiple .doc(files) and apply an algo on it, now .doc files can be read with stream reader the problem here is how to read multiple files in a folder and the names of the files are also not known please help

Member Avatar for asadaziz
0
372
Member Avatar for arunss

Hi, I have a bulk of pdf documents. I want to read that using php script. I searched a lot, but everyone is about creating pdf files. Here I dont want to create pdf file but I want to read it. Is there any way to read it php? -Arun

Member Avatar for chrishea
0
194
Member Avatar for rothn

When my code (below) is executed, a error message is triggered which says "The operation completed successfully." To give this some context, hFileMap is valid; I have checked this with my debugger, and other operations can easily be performed correctly on this handle that yield correct results. The only weird …

Member Avatar for vijayan121
0
1K
Member Avatar for absoluthamm

Hey everyone, I have been searching and searching and cannot find out how to do what I'm looking to do, that is the only reason I would post a new thread. So basically, I am wanting to read a file that looks similar to this: [CODE] DATA START NOTES FILE …

Member Avatar for GeekByChoiCe
0
161
Member Avatar for Sunshineserene

Hi, I have this program that part of it is hard coded. Instead of hard coding it, I need to do a file read instead. Meaning, the hard coded part must be changed to reading the info I need from a txt file. May I know how to do that? …

Member Avatar for NormR1
0
470
Member Avatar for Malinka

Hello everybody! I have to go through each subfolder and extract matching strings from each of the files (File_1, File_2, File_3, File_4, etc.). Unfortunately, I don't know how to do that under Linux. I have the following structure: MainFolder: ---Subfolder A ------File_1 ------File_2 ------File_3 ---Subfolder B ------File_4 ------File_5 ------File_6 ---Etc. …

Member Avatar for Gribouillis
0
9K
Member Avatar for abbyo

Ok, I'm having the hardest time writing this code for work. Any suggestions on how to get me going in the right direction on this code would be great!!! Project: I need to make uninstalled fonts available for viewing for my co-workers. Therefore, I'm to write a code that can …

Member Avatar for NormR1
0
216
Member Avatar for kirtan_thakkar

Hi, I am beginner in PHP and MYSQL ... Before using mysql i have created database in text files.. Now I have to convert it into the table of mysql database.. The things i want to do is .. first open the specific folder and into that open the sub …

Member Avatar for drjohn
0
116
Member Avatar for MaydayLove

Hey guys, I'm writting a program that reads a list of names from a file called name.txt and instert these names directly into a linked list in alphabetical order of [B]last[/B] names. For example, if the text file has these names: Henry Johns III, Albert Einstein, Henry Johns II, Mary …

Member Avatar for peter_budo
0
164
Member Avatar for xenanovich

Hi, i am trying to read the contents of a text file containing a single line into a string. i'm doing this in a while loop. the text file gets updated in each run of the loop and therefore the string should contain a new value in each run. but …

Member Avatar for xenanovich
0
259
Member Avatar for rahul8590

i have a very simple program which takes in file name as argument and print the content of the file , but for some reason it isnt working here is the code [code] import sys ,os def Cat(filename): f = open(filename) text = f.read() print '----', filename print text def …

Member Avatar for rahul8590
0
193
Member Avatar for adi.shoukat

I want to write a Code in C which can create copy any given file (txt, bmp, jpg, pdf etc) what i've written so far is: int main(){ FILE *fp; char ch; FILE *fpW; if((fpW = fopen("file2.bmp","w"))==NULL) { printf("Cannot open Destination file.\n"); exit(1); } if((fp = fopen("file.bmp","r"))==NULL) { printf("Cannot open …

Member Avatar for Dave Sinkula
0
210

The End.