Comparing files using "C" code
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Comparing files using "C" code




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Comparing files using "C" code  
Stu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-04 12:52 PM

I have a requirement to compare binrary or text based files and I am
looking for some very very effient "C" code, which I can call from my
application.

Can anybody provide me with some examples or point me to a place where
I can find some Open Source for the "cmp" utility or something very
similiar.

Thanks in advance for all that answer this post.





[ Post a follow-up to this message ]



    Re: Comparing files using "C" code  
Levente KOVACS


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-04 12:52 PM

On 19 Jul 2004 05:55:00 -0700
beefstu350@hotmail.com (Stu) wrote:

> I have a requirement to compare binrary or text based files and I am
> looking for some very very effient "C" code, which I can call from my
> application.
>
> Can anybody provide me with some examples or point me to a place where
> I can find some Open Source for the "cmp" utility or something very
> similiar.
>
> Thanks in advance for all that answer this post.


Take a look at GNU's diff...





[ Post a follow-up to this message ]



    Re: Comparing files using "C" code  
Jens.Toerring@physik.fu-berlin.de


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-04 12:52 PM

Stu <beefstu350@hotmail.com> wrote:
> I have a requirement to compare binrary or text based files and I am
> looking for some very very effient "C" code, which I can call from my
> application.

> Can anybody provide me with some examples or point me to a place where
> I can find some Open Source for the "cmp" utility or something very
> similiar.

The GNU cmp program belongs to the diffutils, you can download the
sources from

http://www.gnu.org/software/diffutils/diffutils.html

Regards, Jens
--
\   Jens Thoms Toerring  ___  Jens.Toerring@physik.fu-berlin.de
\__________________________  http://www.toerring.de





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:04 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register