Deutsch English Français Italiano |
<vulgdf$11abk$1@raubtier-asyl.eternal-september.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail From: Bonita Montero <Bonita.Montero@gmail.com> Newsgroups: comp.lang.c Subject: Re: Did you get confused again? You seem eaily bewildered. (Was: integer divided by zero) Date: Sun, 27 Apr 2025 16:54:18 +0200 Organization: A noiseless patient Spider Lines: 27 Message-ID: <vulgdf$11abk$1@raubtier-asyl.eternal-september.org> References: <vughb7$g6cm$1@dont-email.me> <vulbmd$t4di$1@raubtier-asyl.eternal-september.org> <vulcf3$tsqb$1@raubtier-asyl.eternal-september.org> <vulfqq$2cmtu$1@news.xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 27 Apr 2025 16:53:36 +0200 (CEST) Injection-Info: raubtier-asyl.eternal-september.org; posting-host="a26d152f296efe3efb0524fbab183654"; logging-data="1091956"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/f/DdF8nYRLMgYsGI0m49wkNKh7PaxOu0=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:bVrc8HAbMjJhjew+F82Tv1WNEPw= Content-Language: de-DE In-Reply-To: <vulfqq$2cmtu$1@news.xmission.com> Bytes: 2305 Am 27.04.2025 um 16:43 schrieb Kenny McCormack: > In article <vulcf3$tsqb$1@raubtier-asyl.eternal-september.org>, > Bonita Montero <Bonita.Montero@gmail.com> wrote: >> Am 27.04.2025 um 15:33 schrieb Bonita Montero: >> >>> The platform with the most comfortable handling of division by zeroes >>> is Windows. Win32 allows to catch that errors easily, whereas with >>> Posix it's hard to continue the code in the same function or with >>> a calling function. >> >> #include <Windows.h> > > Burp! > >> #include <stdio.h> >> >> using namespace std; > > Burp again! Are you confused about which newsgroup this is? Ignore it it you target a different platform. But it would be nice if such problems were handleable that convenient in any lanugage. This C-addition exists since the beginning of the 1993, when NT 3.1 was born. With Unix you'd have to use signals, wich are totally ugly since you couln't return to a different execution-context in the same function.