LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2004, 08:35 AM   #1
softnayr
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Extra character in complemented file.


Extra character at the end of complemented (~) file.

--------------------------------------------------------------------------------

I am developing a program to complement the contents of a file (say .txt) and then store it in another file of the same extension using the complement operator, but everytime i do that, there is an extra character added at the end of the complemented file. I am copying the contents of the file to another using fgetc().

Anyone who can help me solving this bug?
Thanks...
 
Old 09-25-2004, 11:54 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
Re: Extra character in complemented file.

Quote:
Anyone who can help me solving this bug?
Not without the code I'm afraid...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file path references are read with an extra '/' Melsync Programming 2 09-30-2005 07:52 AM
Trying to burn extra large .iso file! elliotfuller SUSE / openSUSE 5 06-24-2005 07:18 AM
pattern file with no return character ksun Linux - Newbie 1 12-28-2004 06:40 PM
Check to see if a file has a certain character in it krock923 Programming 2 11-25-2004 03:30 PM
end of file character hyperriven Programming 2 04-07-2004 11:09 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration