public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] compare string list and output like diff -u
Date: Wed, 11 Nov 2015 16:41:19 +0200	[thread overview]
Message-ID: <5643538F.8060006@gmail.com> (raw)
In-Reply-To: <34d2012e.a9ac.150f6b196d9.Coremail.halyx@126.com>

On 11/11/2015 15:17, Wallance wrote:
> Hi,I want to compare two string list and output deltas like the output of
> $(diff -u).I want to implement this in C/C++ language.Any suggestions
> will be welcome.For better,I want a library which can do this.
> Thanks again.
>
>


That's a programming question. This is a mailing list for users of the 
Gentoo distro so this is far from an ideal place to ask how to do it in 
C/C++

Rather ask at stackoverflow, you will get much higher quality answers 
there (and you won;t get flamed for inappropriate questions)

Alan


      reply	other threads:[~2015-11-11 14:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 13:17 [gentoo-user] compare string list and output like diff -u Wallance
2015-11-11 14:41 ` Alan McKinnon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5643538F.8060006@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox