Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #81844

Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need)

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From rbowman <bowman@montana.com>
Newsgroups comp.os.linux.misc
Subject Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need)
Date 8 Feb 2026 01:55:27 GMT
Lines 42
Message-ID <muq8ofFlf5gU2@mid.individual.net> (permalink)
References <KxCdncm5tZ0oM_D0nZ2dnZfqn_WdnZ2d@giganews.com> <-EOdnRUZmNTqQx_0nZ2dnZfqn_qdnZ2d@giganews.com> <wwvwm0sudar.fsf@LkoBDZeT.terraraq.uk> <10lvc6a$2a0lm$4@dont-email.me> <wwvikcco95q.fsf@LkoBDZeT.terraraq.uk> <10lvt12$2g653$1@dont-email.me> <wwvfr7g1dse.fsf@LkoBDZeT.terraraq.uk> <10m0915$2ka88$5@dont-email.me> <10m0fnd$2n7r1$3@dont-email.me> <10m25v7$36k4g$3@dont-email.me> <10m2855$38cir$2@dont-email.me> <10m2b84$30icq$1@dont-email.me> <20260205080604.00002be0@gmail.com> <muk2ilFk2oiU4@mid.individual.net> <20260205095745.0000319c@gmail.com> <mul811Fput0U2@mid.individual.net> <20260206112850.00006164@gmail.com> <10m5knv$h5mp$1@dont-email.me> <20260206135513.00001a9e@gmail.com> <wwv4intijzi.fsf@LkoBDZeT.terraraq.uk> <20260206144316.00001326@gmail.com> <wwvo6m0d0r1.fsf@LkoBDZeT.terraraq.uk> <mupmq8Fim0mU2@mid.individual.net> <z6OhR.33117$06I9.26661@fx35.iad>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace individual.net 65sx1rYSP/pdK1fOSkDP8QztY5NWFciIVwN9KN8QvBXAprnmFB
Cancel-Lock sha1:lmd0E5dGJZtFUVBnJzrIbCgcIEQ= sha256:fxfDL7XPdWz2la0SaFHibfC9MLkBgptezkJH/xvWRUs=
User-Agent Pan/0.162 (Pokrosvk)
Xref csiph.com comp.os.linux.misc:81844

Show key headers only | View raw


On Sat, 07 Feb 2026 21:26:55 GMT, Charlie Gibbs wrote:

> On 2026-02-07, rbowman <bowman@montana.com> wrote:
> 
>> On Sat, 07 Feb 2026 15:36:18 +0000, Richard Kettlewell wrote:
>>
>>> It’s not like Java has a monopoly on being arbitrary and weird!
>>> 
>>>   int fputs(const char *s, FILE *stream);
>>>   int fprintf(FILE *stream, const char *format, ...);
>>> 
>>> Whether the stream argument is first or last depends which function
>>> you’re using.
>>
>> After all these years I use 'man fputs' more than I should. Then you
>> throw in the similar functions that take an int file descriptor rather
>> than a FILE*.
>>
>> I'd still rather deal with that arbitrariness than C++'s streams.
> 
> I deal with those by remembering that fputs() can have any number of
> arguments, so we might as well get the file pointer out there first. On
> the other hand, putc() only has one argument, so fputc() adds the file
> pointer at the end.  Then I just have to remember how the arguments go
> with fgets() - and I've replaced it with getline(), which is quite
> similar.  I always read strings and parse them myself, so that about
> covers I/O for me.

man fputs

SYNOPSIS
       #include <stdio.h>

       int fputc(int c, FILE *stream);
       int putc(int c, FILE *stream);
       int putchar(int c);

       int fputs(const char *restrict s, FILE *restrict stream);
       int puts(const char *s);


Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Python: A Little Trick For Every Need Rich <rich@example.invalid> - 2026-02-02 14:50 +0000
  Re: Python: A Little Trick For Every Need The Natural Philosopher <tnp@invalid.invalid> - 2026-02-02 15:07 +0000
    Re: Python: A Little Trick For Every Need rbowman <bowman@montana.com> - 2026-02-02 21:19 +0000
      Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-02 21:03 -0500
      Re: Python: A Little Trick For Every Need Richard Kettlewell <invalid@invalid.invalid> - 2026-02-03 08:52 +0000
      Re: Python: A Little Trick For Every Need The Natural Philosopher <tnp@invalid.invalid> - 2026-02-03 12:57 +0000
        Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-03 13:53 -0500
          Re: Python: A Little Trick For Every Need The Natural Philosopher <tnp@invalid.invalid> - 2026-02-04 11:51 +0000
            Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-04 22:09 -0500
  Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-02 20:50 -0500
    Re: Python: A Little Trick For Every Need rbowman <bowman@montana.com> - 2026-02-03 02:58 +0000
      Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-02 22:23 -0500
        Re: Python: A Little Trick For Every Need rbowman <bowman@montana.com> - 2026-02-03 19:57 +0000
          Re: Python: A Little Trick For Every Need The Natural Philosopher <tnp@invalid.invalid> - 2026-02-04 11:52 +0000
      Re: Python: A Little Trick For Every Need Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2026-02-02 20:20 -0800
        Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-03 00:18 -0500
          Re: Python: A Little Trick For Every Need Robert Riches <spamtrap42@jacob21819.net> - 2026-02-04 04:18 +0000
            Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-03 23:45 -0500
              Re: Python: A Little Trick For Every Need Robert Riches <spamtrap42@jacob21819.net> - 2026-02-04 05:14 +0000
                Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-04 00:51 -0500
                Re: Python: A Little Trick For Every Need Richard Kettlewell <invalid@invalid.invalid> - 2026-02-04 08:24 +0000
                Re: Python: A Little Trick For Every Need The Natural Philosopher <tnp@invalid.invalid> - 2026-02-04 11:56 +0000
                Re: Python: A Little Trick For Every Need Richard Kettlewell <invalid@invalid.invalid> - 2026-02-04 14:50 +0000
                Re: Python: A Little Trick For Every Need The Natural Philosopher <tnp@invalid.invalid> - 2026-02-04 16:44 +0000
                Re: Python: A Little Trick For Every Need John Ames <commodorejohn@gmail.com> - 2026-02-04 09:15 -0800
                Re: Python: A Little Trick For Every Need Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-02-04 19:26 +0000
                Re: Python: A Little Trick For Every Need The Natural Philosopher <tnp@invalid.invalid> - 2026-02-04 22:00 +0000
                Re: Python: A Little Trick For Every Need Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-02-05 08:32 -0500
                Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-04 23:02 -0500
                Re: Python: A Little Trick For Every Need The Natural Philosopher <tnp@invalid.invalid> - 2026-02-04 21:58 +0000
                Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-04 22:34 -0500
                Re: Python: A Little Trick For Every Need Richard Kettlewell <invalid@invalid.invalid> - 2026-02-04 19:58 +0000
                Re: Python: A Little Trick For Every Need Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-02-04 15:09 -0500
                Re: Python: A Little Trick For Every Need Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2026-02-04 13:05 -0800
                Re: Python: A Little Trick For Every Need The Natural Philosopher <tnp@invalid.invalid> - 2026-02-04 22:04 +0000
                Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-04 23:54 -0500
                Re: Python: A Little Trick For Every Need The Natural Philosopher <tnp@invalid.invalid> - 2026-02-04 22:03 +0000
                Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-04 23:49 -0500
                Re: Python: A Little Trick For Every Need Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-02-05 08:29 -0500
                Re: Python: A Little Trick For Every Need The Natural Philosopher <tnp@invalid.invalid> - 2026-02-05 14:06 +0000
                Re: Python: A Little Trick For Every Need Pancho <Pancho.Jones@protonmail.com> - 2026-02-05 14:59 +0000
                C/C++ timeline (was Re: Python: A Little Trick For Every Need) John Ames <commodorejohn@gmail.com> - 2026-02-05 08:06 -0800
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) ram@zedat.fu-berlin.de (Stefan Ram) - 2026-02-05 16:33 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-05 18:12 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-05 22:40 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-06 04:54 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-05 17:33 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) John Ames <commodorejohn@gmail.com> - 2026-02-05 09:57 -0800
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-06 04:12 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-06 00:03 -0500
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) John Ames <commodorejohn@gmail.com> - 2026-02-06 11:28 -0800
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) ram@zedat.fu-berlin.de (Stefan Ram) - 2026-02-06 20:03 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-06 20:59 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) John Ames <commodorejohn@gmail.com> - 2026-02-06 13:55 -0800
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Richard Kettlewell <invalid@invalid.invalid> - 2026-02-06 22:29 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) John Ames <commodorejohn@gmail.com> - 2026-02-06 14:43 -0800
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Richard Kettlewell <invalid@invalid.invalid> - 2026-02-07 15:36 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-07 20:49 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-02-07 21:26 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-07 22:00 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-02-09 06:53 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-08 01:55 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Nuno Silva <nunojsilva@invalid.invalid> - 2026-02-08 08:30 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-02-09 06:53 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Richard Kettlewell <invalid@invalid.invalid> - 2026-02-08 11:04 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-08 20:07 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) John Ames <commodorejohn@gmail.com> - 2026-02-13 11:30 -0800
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Richard Kettlewell <invalid@invalid.invalid> - 2026-02-13 21:40 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-13 21:48 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-02-14 07:06 -0500
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-14 00:41 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-02-14 07:16 -0500
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-07 11:53 +0000
                Re: C/C++ timeline (was Re: Python: A Little Trick For Every Need) John Ames <commodorejohn@gmail.com> - 2026-02-09 09:21 -0800
                Re: Python: A Little Trick For Every Need Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-05 22:38 +0000
                Re: Python: A Little Trick For Every Need rbowman <bowman@montana.com> - 2026-02-06 05:05 +0000
                Re: Python: A Little Trick For Every Need Andreas Eder <a_eder_muc@web.de> - 2026-02-05 15:55 +0100
                Re: Python: A Little Trick For Every Need rbowman <bowman@montana.com> - 2026-02-05 17:26 +0000
                Re: Python: A Little Trick For Every Need Richard Kettlewell <invalid@invalid.invalid> - 2026-02-04 22:12 +0000
                Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-04 23:35 -0500
                Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-04 22:16 -0500
                Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-04 22:13 -0500
                Re: Python: A Little Trick For Every Need c186282 <c186282@nnada.net> - 2026-02-04 21:42 -0500
                Re: Python: A Little Trick For Every Need Richard Kettlewell <invalid@invalid.invalid> - 2026-02-05 09:28 +0000
                Memory Safety (Re: Python: A Little Trick For Every Need) Lars Poulsen <lars@beagle-ears.com> - 2026-02-05 13:45 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-05 14:14 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) Pancho <Pancho.Jones@protonmail.com> - 2026-02-05 15:09 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) Richard Kettlewell <invalid@invalid.invalid> - 2026-02-05 16:03 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) Pancho <Pancho.Jones@protonmail.com> - 2026-02-06 22:32 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-07 01:12 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-06 21:59 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-07 12:15 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-07 16:01 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) Richard Kettlewell <invalid@invalid.invalid> - 2026-02-07 11:09 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-07 12:10 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-05 19:27 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-05 20:51 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-06 10:45 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-06 21:44 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-07 12:29 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-07 16:31 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-08 10:25 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-08 20:13 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-08 22:39 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-09 04:58 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) John Ames <commodorejohn@gmail.com> - 2026-02-09 10:04 -0800
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-09 23:39 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) John Ames <commodorejohn@gmail.com> - 2026-02-10 08:00 -0800
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-10 23:02 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-11 06:57 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-11 20:22 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-12 04:48 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-12 01:04 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-12 12:52 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) rbowman <bowman@montana.com> - 2026-02-12 21:36 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-02-13 00:02 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-13 00:09 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-13 10:18 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) John Ames <commodorejohn@gmail.com> - 2026-02-09 09:56 -0800
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-05 20:48 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-06 10:42 +0000
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) c186282 <c186282@nnada.net> - 2026-02-06 21:31 -0500
                Re: Memory Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-07 12:23 +0000
                Memory Allocatiuon Safety (Re: Python: A Little Trick For Every Need) Lars Poulsen <lars@beagle-ears.com> - 2026-02-05 13:37 +0000
                Re: Memory Allocatiuon Safety (Re: Python: A Little Trick For Every Need) The Natural Philosopher <tnp@invalid.invalid> - 2026-02-05 14:03 +0000

csiph-web