Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail From: Bonita Montero Newsgroups: comp.lang.c Subject: Re: Baby X is bor nagain Date: Fri, 14 Jun 2024 08:47:30 +0200 Organization: A noiseless patient Spider Lines: 8 Message-ID: References: <20240613002933.000075c5@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 14 Jun 2024 08:47:26 +0200 (CEST) Injection-Info: raubtier-asyl.eternal-september.org; posting-host="c8e68ba7ff66e75df18542d5aa305021"; logging-data="2925408"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Qls+DtoyPFs/L5YZxNV/QA3RzshIF/70=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:55eiHpgogJCks5KSdGYQAgtZmy8= In-Reply-To: Content-Language: de-DE Bytes: 1750 Am 13.06.2024 um 17:32 schrieb bart: > What about it? If you specify the bounds of the char array, then a > terminator won't be added. This works in C but not in C++. With g++ you've to specify -fpermissive to make that work also in C++.