Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.os2.programmer.misc > #1629
| From | Lars Erdmann <lars.erdmann@arcor.de> |
|---|---|
| Newsgroups | comp.os.os2.programmer.misc |
| Subject | Re: C: How to convert a \0 char into a dot for printf output? |
| Date | 2018-05-21 09:07 +0200 |
| Organization | solani.org |
| Message-ID | <pdtr89$nh2$1@solani.org> (permalink) |
| References | (7 earlier) <pdpice$eld$1@news.albasani.net> <pdrmmc$fhp$1@news.albasani.net> <fmdo8oFg9geU1@mid.individual.net> <pdspef$jj$1@news.albasani.net> <1545752145.548546440.050538.peter_flass-yahoo.com@news.eternal-september.org> |
>> >> BTW: Do you also have an idea, how to get it copied? (I guess with >> memcpy.) >> > > C string handling is painful at best. In this case, probably memcpy. > However, how do you identify the end of the string? Presumably, since it's > a concatenation of null-terminated strings the end of all should be > identified by two nulls in a row? > Yes. And I am pretty sure, if you use a C++ library that can handle a string with embedded zeros it is going to do the very same thing internally. The C++ class library that comes with VAC has a string class that can handle strings with embedded zeros (IString, also I0String). Lars
Back to comp.os.os2.programmer.misc | Previous | Next — Previous in thread | Next in thread | Find similar
C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-18 18:30 +0200
Re: C: How to convert a \0 char into a dot for printf output? James Moe <jimoeDESPAM@sohnen-moe.com> - 2018-05-18 10:26 -0700
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-18 19:34 +0200
Re: C: How to convert a \0 char into a dot for printf output? Lars Erdmann <lars.erdmann@arcor.de> - 2018-05-18 21:29 +0200
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-19 14:29 +0200
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-19 15:30 +0200
Re: C: How to convert a \0 char into a dot for printf output? "Steven Levine" <steve53@nomail.earthlink.net> - 2018-05-19 09:43 -0500
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-19 18:11 +0200
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-20 13:37 +0200
Re: C: How to convert a \0 char into a dot for printf output? Peter Flass <peter_flass@yahoo.com> - 2018-05-20 10:36 -0400
Re: C: How to convert a \0 char into a dot for printf output? "Steven Levine" <steve53@nomail.earthlink.net> - 2018-05-20 10:49 -0500
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-20 18:46 +0200
Re: C: How to convert a \0 char into a dot for printf output? "Steven Levine" <steve53@nomail.earthlink.net> - 2018-05-21 09:42 -0500
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-21 18:37 +0200
Re: C: How to convert a \0 char into a dot for printf output? nospam_2018@efbe.prima.de - 2018-05-20 19:06 +0200
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-20 23:30 +0200
Re: C: How to convert a \0 char into a dot for printf output? Peter Flass <peter_flass@yahoo.com> - 2018-05-20 18:03 -0400
Re: C: How to convert a \0 char into a dot for printf output? Lars Erdmann <lars.erdmann@arcor.de> - 2018-05-21 09:07 +0200
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-21 11:30 +0200
Re: C: How to convert a \0 char into a dot for printf output? "Steven Levine" <steve53@nomail.earthlink.net> - 2018-05-21 10:01 -0500
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-21 18:41 +0200
Re: C: How to convert a \0 char into a dot for printf output? nospam_2018@efbe.prima.de - 2018-05-21 22:56 +0200
Re: C: How to convert a \0 char into a dot for printf output? "Steven Levine" <steve53@nomail.earthlink.net> - 2018-05-22 10:00 -0500
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-22 21:37 +0200
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-22 21:41 +0200
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-23 23:56 +0200
Re: C: How to convert a \0 char into a dot for printf output? nospam_2018@efbe.prima.de - 2018-05-22 21:44 +0200
Re: C: How to convert a \0 char into a dot for printf output? Peter Flass <peter_flass@yahoo.com> - 2018-05-19 11:42 -0400
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-19 18:13 +0200
Re: C: How to convert a \0 char into a dot for printf output? Andreas Kohl <ak120@arcor.de> - 2018-05-21 09:05 +0200
Re: C: How to convert a \0 char into a dot for printf output? Andreas Schnellbacher <aschn@despammed.com> - 2018-05-21 11:35 +0200
csiph-web