4,718 Topics

Member Avatar for
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
147
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
139
Member Avatar for acmg_42

Okay, My Computer Keeps Shuttingoff While I'm Using It.....when It Restarts By Itself I Get A Screen That Says Checking File System On C:\ The Type File System Is Fat32 One Of The Disks Needs To Be Checked For Consistencies You May Skip Disck Check But Strongly Recommended Continuing..... What's …

Member Avatar for TT4Titans
0
129
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
65
Member Avatar for Helltech

Ok... so. I'm just putting this out there, that if you know how to do something with your computer... but your parents don't trust you... just f'in do it behind thier back.... Here is the story. So I go to school online, and the program through which I use my …

Member Avatar for TheNNS
0
100
Member Avatar for T6T

Windows 2000 server environment. Is there a way to allow a group/user permission to create a file on a shared drive, and then deny user rights to edit, delete, or rename the file that was created by that user. I have tried all that I can see that is available. …

0
72
Member Avatar for vkarthik

I've been having this dumb question on my mind for long. Suppose I make a copy of c:\Windows folder to an external store... At some point, let's say my OS doesn't boot due to corrupted system files (for now, forget MBR corruption and hard disk failure)... if I boot into …

0
84
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
42
Member Avatar for Maidomax

Hi, guys! I have another problem, please help. I have 9 flash games (swf) wich I need burned onto a CD, but I also need to make an intro/mainmenu in flash, wich i would publish as an exe, and would load the games which will be put in seperate folders. …

Member Avatar for Maidomax
0
131
Member Avatar for Member #23858

Can anyone tell me what error 57 is. I am using Bootit NG to resize my partition C and make it larger. The problem is when I go to resize it says error 57 found on file system. Use scandisk or chkdsk/f. I google but can't find anything to really …

Member Avatar for dcc
0
100
Member Avatar for jamello
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
106
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
246
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
267
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 Member #46692
0
842
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
140
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
860
Member Avatar for jaikar

Hi, The code below is to copy the files from one dir to another. here in the function dircopy $verbose is set to false. and later a action is done when the $verbose is true. in between there are no actions that are setting the $verbose to true... when do …

Member Avatar for jblacdao
0
105
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
244
Member Avatar for kanaku

I'm using an html form to add to a list, specifically a flatfile database called demo3.txt. The add.php file is this: [CODE] <?php $name = $_POST['name']; $nickname = $_POST['nickname']; $motto = $_POST['motto']; $fp = fopen("demo3.txt","a"); if(!$fp) { echo 'Error: Cannot open file.'; exit; } fwrite($fp, "\r\n".$name."|".$nickname."|".$motto); echo 'The data has …

Member Avatar for kanaku
0
113
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
74
Member Avatar for Sandra5

Hi, I hope this hasnt been answered because I couldnt find it using a search. I found other people who had problems using a single file but the fixes didnt work for me. Here is my problem. Just recently the "my documents" folder started breaking all of my media files …

Member Avatar for TT4Titans
0
121
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
162
Member Avatar for williamh

I am fairly new to computers but not afraid to get my feet wet. I installed a 2nd used hard drive to my system. Went great. When I go to explorer and look at properties my C drive is NTFS and the other (e) is FAT 32. Is this the …

Member Avatar for 03humphrec
0
104
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
216
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
56
Member Avatar for deadrising2day

Hello, When i try to delete a video folder in my documents, it says "Cannot remove folder VIDEO_TS: The directory is not empty". Can someone please help?:sad:

Member Avatar for maui_mallard
0
109
Member Avatar for suren23

Pls can u people hep how to write the code for recovering files from the databse in C# and create shortcut's in the desktop

Member Avatar for RwCC
0
51
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
134
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
192
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 MIGSoft

Hi everybody. In C running in the Unix environment, there are many ways of getting the directory listing. One I know is to use the ftw library (the way I currently implement it), the other is to pipe from the ls, also sometimes you could use dirent.h. I realize that …

Member Avatar for ~s.o.s~
0
165
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 Member #119018
0
73
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
135
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
119
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
75
Member Avatar for krissie

I did a disk cleanup on my computer and now I cant find anything in my documents or in my pictures. How can I get them back?

Member Avatar for DimaYasny
0
104
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
85
Member Avatar for csisnowflake

I know there are probably already threads based on this problem but I have a time restriction and am trying to get answers pretty quickly. My computer won't start up because there is a missing system file "windows/system32/config/sytem" the usual missing file problem. I don't think I've ever done a …

Member Avatar for caperjack
0
187
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
276
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
152
Member Avatar for giznado

i can delete some random pictures, and about 1% of files, but 99% of things on my computer just cant be deleted, it says they cant be read from the source file or something like that, what could it be :sad:

Member Avatar for Dortz
0
122
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
137
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
161
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
336
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
122
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
232
Member Avatar for john_j

Hi guys! New user/IT-noob here. I was watching this video on window's security on file hiding ( [URL]http://www.metacafe.com/watch/379519/windows_xp_security_hacking_hiding_files_ads/[/URL] ) Googling around for info on this area, all I could found is results on its threat, otherwise profound explaination of its origins. Could anyone explain to me of its origin and …

Member Avatar for John A
0
105
Member Avatar for babutche

Hi, I am trying to extend my "Student with the best GPA" program so that it allows the user to sort a file of students based on gpa, name, or credits. The program needs to prompt for the input and output files and also the field to sort on (gpa, …

Member Avatar for babutche
0
484
Member Avatar for xibnoe

I try read a story text file using c. the problem is i want one paragraf in one variabel. i am confuse how much i should alocate the buffer size? [code] #include <stdio.h> int main() { char buf[255]; <<HOW MUCH SHOULD WE ALOCATE TE BUFFER? FILE* fp = fopen("somefile.txt","r"); if( …

Member Avatar for WaltP
0
2K

The End.