comp.lang.c
[Top] [All Lists]

Re: Insert a string into a string

Subject: Re: Insert a string into a string
From: Keith Thompson
Date: Tue, 29 Apr 2008 18:29:08 -0700
Newsgroups: comp.lang.c

HansWernerMarschke@xxxxxx writes:
> Is there a special function to insert a string into another string ?
> For example I want to exchange the german "Umlauts" ä,ö,ü with ae,oe
> and ue in a string.
> I also wonder if there is a function to get the alphabet of a string ?
> Do two strings share the same alphabet ?

What do you mean by "the alphabet of a string"?

> P.S.: What book can you recommand your C and/or C++ ? Don't say
> Kernighan & Ritchie. Should be useful not only to learn but also to
> look up things.

There is no book I'd recommend for C and/or C++.  There are books I'd
recommend for C, and books I'd recommend for C++.

For C, I recommend Kernighan & Ritchie.  Knowing why you don't want us
to mention it (it's widely considered the best book on C, and one of
the best books on programming) might help us offer more suitable
advice about other books.  Harbison & Steele's "C: A Reference
Manual", 5th Edition, is a good reference.  The standard is the
definitive reference, but it may not be what you're looking for.

For C++, ask in comp.lang.c++ -- but first check the C++ FAQ.

-- 
Keith Thompson (The_Other_Keith) <kst-u@xxxxxxx>
Nokia
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy