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


Groups > comp.lang.c > #391319 > unrolled thread

Suggested method for returning a string from a C program?

Started byDFS <nospam@dfs.com>
First post2025-03-18 21:38 -0400
Last post2025-03-23 12:29 -0400
Articles 20 on this page of 422 — 23 participants

Back to article view | Back to comp.lang.c


Contents

  Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-18 21:38 -0400
    Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-18 19:05 -0700
      Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-18 19:22 -0700
      Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-18 22:43 -0400
        Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-18 20:11 -0700
    Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-18 20:07 -0700
      Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-18 23:34 -0400
        Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-19 04:01 +0000
      Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-19 00:38 -0400
        Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-18 22:27 -0700
          Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-19 13:23 -0400
            Re: Suggested method for returning a string from a C program? James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-19 13:40 -0400
              Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-19 11:56 -0700
              Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-19 15:06 -0400
            Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-19 12:52 -0700
        Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-19 11:55 +0200
          Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-19 13:23 -0400
            Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-19 17:38 +0000
              Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-19 20:19 +0200
                Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-19 19:03 +0000
                Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-20 05:09 -0700
                  Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-20 12:23 +0000
                    Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-20 13:36 +0000
                      Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-20 14:00 +0000
                        Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-20 14:32 +0000
                          Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-20 15:11 +0000
                            Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-24 16:37 +0100
                              Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) scott@slp53.sl.home (Scott Lurndal) - 2025-03-24 16:14 +0000
                                Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-24 17:20 +0100
                              Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-24 21:56 -0700
                                Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-25 08:45 +0100
                                  Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-25 09:08 +0100
                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-25 19:55 +0100
                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 09:18 +0100
                                  Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-25 08:39 +0000
                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-25 03:51 -0700
                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Michael S <already5chosen@yahoo.com> - 2025-03-25 13:11 +0200
                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-25 05:02 -0700
                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-25 16:33 +0100
                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-25 20:04 +0100
                                            Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 09:23 +0100
                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-25 13:31 -0700
                                            Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 09:34 +0100
                                              Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-26 02:59 -0700
                                                Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 12:33 +0100
                                                  Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 15:59 +0100
                                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 17:37 +0100
                                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-26 12:38 -0700
                                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 22:53 +0100
                                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-26 15:15 -0700
                                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-27 10:11 +0100
                                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-29 18:25 +0100
                                                            Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-29 18:20 +0000
                                                              Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-30 01:39 +0100
                                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Alan Mackenzie <acm@muc.de> - 2025-03-31 17:15 +0000
                                                            Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-31 19:48 +0000
                                                              Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-31 21:14 +0000
                                                            Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-31 14:56 -0700
                                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-26 14:07 -0400
                                                  Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-26 17:58 +0000
                                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-26 14:20 -0400
                                                  Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-26 12:42 -0700
                                                Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-26 17:36 +0000
                                                Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-27 13:48 -0400
                                                  Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-27 18:31 +0000
                                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-29 10:14 -0400
                                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) scott@slp53.sl.home (Scott Lurndal) - 2025-03-29 16:39 +0000
                                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-29 21:02 -0400
                                                  Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-27 12:31 -0700
                                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-27 20:06 +0000
                                                      Newsgroup etiquette Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-28 11:03 -0700
                                                        Re: Newsgroup etiquette Richard Heathfield <rjh@cpax.org.uk> - 2025-03-28 18:39 +0000
                                                          Re: Newsgroup etiquette Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-28 18:45 +0000
                                                          Re: Newsgroup etiquette Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-04-27 12:28 -0700
                                                            Re: Newsgroup etiquette Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-04-27 14:40 -0700
                                                            Re: Newsgroup etiquette Ethan Carter <ec1828@somewhere.edu> - 2025-04-28 00:59 -0300
                                              Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 15:58 +0100
                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Michael S <already5chosen@yahoo.com> - 2025-03-25 19:09 +0200
                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-03-25 17:34 +0000
                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-25 19:49 +0000
                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-25 12:53 -0700
                                            Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-25 13:39 -0700
                                              Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-02-07 00:04 -0800
                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-25 13:23 -0700
                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 09:50 +0100
                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-25 16:22 +0000
                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Harnden <richard.nospam@gmail.invalid> - 2025-03-25 18:18 +0000
                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-25 19:55 +0100
                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-25 13:41 -0700
                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-25 23:35 +0100
                                            Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-25 16:38 -0700
                                              Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-25 19:55 -0400
                                                Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 10:00 +0100
                                                  Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Michael S <already5chosen@yahoo.com> - 2025-03-26 16:01 +0200
                                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-03-26 14:45 +0000
                                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Michael S <already5chosen@yahoo.com> - 2025-03-26 17:16 +0200
                                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-26 08:55 -0700
                                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 17:45 +0100
                                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-03-26 17:22 +0000
                                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-03-26 17:19 +0000
                                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 17:40 +0100
                                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-03-26 17:25 +0000
                                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 21:27 +0100
                                                            Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-03-26 20:34 +0000
                                                              Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-26 13:50 -0700
                                                                Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-03-26 21:04 +0000
                                                                  Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-26 14:12 -0700
                                                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-03-26 21:18 +0000
                                                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Michael S <already5chosen@yahoo.com> - 2025-03-26 23:22 +0200
                                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-26 14:38 -0400
                                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-26 18:52 +0000
                                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 17:32 +0100
                                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) antispam@fricas.org (Waldek Hebisch) - 2025-03-26 22:29 +0000
                                                  Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-26 14:31 -0400
                                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 21:33 +0100
                                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-28 15:42 +0000
                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-25 19:52 -0400
                                            Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-25 17:16 -0700
                                  Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-25 04:55 -0700
                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-25 13:48 -0700
                                    Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-03-25 21:52 +0000
                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-25 22:36 +0000
                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-03-25 23:14 +0000
                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 10:09 +0100
                                      Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-05-03 20:03 -0700
                                        Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-05-04 14:04 +0200
                                          Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-05-04 15:43 +0100
                                            Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-05-04 18:39 +0200
                                              Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Richard Heathfield <rjh@cpax.org.uk> - 2025-05-04 19:02 +0100
                                                Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-05-05 11:29 +0200
                                            Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-05-15 23:02 -0700
                        Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-20 14:50 +0000
                          Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-20 16:59 +0200
                            Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-20 15:16 +0000
                              Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-20 17:29 +0200
                                Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-20 15:55 +0000
                                  Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-23 11:01 +0200
                                    Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-23 12:56 -0700
                                Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-20 11:47 -0700
                                Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-20 12:28 -0700
                          Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-20 15:40 +0000
                            Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-20 15:57 +0000
                            Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-20 20:46 +0200
                              Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-20 19:15 +0000
                                Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-20 19:58 +0000
                                  Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-20 22:57 +0200
                                    Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-20 21:10 +0000
                                Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-20 16:10 -0700
                                  The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-24 16:59 +0100
                                    Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-24 15:57 -0700
                                      Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-25 10:38 +0100
                                        Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-25 16:31 +0000
                                          Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-25 19:23 +0100
                                            Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-25 13:14 -0700
                                              Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-03-25 23:50 -0700
                                              Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 10:33 +0100
                                        Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-25 19:18 +0100
                                          Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-25 18:50 +0000
                                            Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-25 20:45 +0100
                                              Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-25 23:30 +0000
                                                Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 14:59 +0100
                                              Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 11:29 +0100
                                                Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 15:08 +0100
                                                  Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 17:50 +0100
                                                    Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 19:09 +0100
                                                      Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 21:39 +0100
                                                      Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-26 23:21 +0000
                                                        Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) scott@slp53.sl.home (Scott Lurndal) - 2025-03-26 23:51 +0000
                                                          Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-27 00:32 +0000
                                                            Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) scott@slp53.sl.home (Scott Lurndal) - 2025-03-27 13:51 +0000
                                                        Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) antispam@fricas.org (Waldek Hebisch) - 2025-03-27 01:10 +0000
                                                          Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-27 01:33 +0000
                                                            Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-27 10:54 +0100
                                                              Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) scott@slp53.sl.home (Scott Lurndal) - 2025-03-27 14:09 +0000
                                                            Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) antispam@fricas.org (Waldek Hebisch) - 2025-03-28 17:49 +0000
                                                          Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) scott@slp53.sl.home (Scott Lurndal) - 2025-03-27 14:07 +0000
                                                        Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-27 03:24 +0100
                                                          Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-27 11:14 +0000
                                                            Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) scott@slp53.sl.home (Scott Lurndal) - 2025-03-27 14:14 +0000
                                                            Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-28 02:05 +0100
                                                              Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-28 10:13 +0100
                                                                Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-28 11:22 +0100
                                                                  Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Michael S <already5chosen@yahoo.com> - 2025-03-28 14:32 +0300
                                                                    Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-28 13:42 +0100
                                                                  Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-28 11:37 +0000
                                                                    Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-28 13:53 +0100
                                                                  Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-28 13:00 +0100
                                                                    Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-28 14:06 +0100
                                                                Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-03-28 10:05 -0700
                                                              Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-28 12:19 +0000
                                                              [OT] PC hardware prices [correction] (was Re: The integral type 'byte') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-31 21:35 +0200
                                                          Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-27 15:04 +0100
                                                            Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-28 02:59 +0100
                                                              Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-03-27 19:03 -0700
                                                                [OT] SPARC (was Re: The integral type 'byte') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-28 03:26 +0100
                                                                  Re: [OT] SPARC (was Re: The integral type 'byte') Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-27 23:14 -0700
                                                                  Re: [OT] SPARC (was Re: The integral type 'byte') Michael S <already5chosen@yahoo.com> - 2025-03-28 13:26 +0300
                                                                    Re: [OT] SPARC (was Re: The integral type 'byte') David Brown <david.brown@hesbynett.no> - 2025-03-28 13:08 +0100
                                                                      Re: [OT] SPARC (was Re: The integral type 'byte') Michael S <already5chosen@yahoo.com> - 2025-03-28 15:20 +0300
                                                                        Re: [OT] SPARC (was Re: The integral type 'byte') David Brown <david.brown@hesbynett.no> - 2025-03-28 15:33 +0100
                                                                          Re: [OT] SPARC (was Re: The integral type 'byte') "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-03-28 10:26 -0700
                                                                            Re: [OT] SPARC (was Re: The integral type 'byte') "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-03-28 10:27 -0700
                                                                            Re: [OT] SPARC (was Re: The integral type 'byte') Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-28 18:44 +0000
                                                                          Re: [OT] SPARC (was Re: The integral type 'byte') Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-28 17:46 +0000
                                                                      Re: [OT] SPARC (was Re: The integral type 'byte') Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-28 17:45 +0000
                                                                    Re: [OT] SPARC (was Re: The integral type 'byte') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-28 13:20 +0100
                                                                      Re: [OT] SPARC (was Re: The integral type 'byte') Michael S <already5chosen@yahoo.com> - 2025-03-28 15:56 +0300
                                                                        Re: [OT] SPARC (was Re: The integral type 'byte') Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-28 14:20 +0100
                                                                          Re: [OT] SPARC (was Re: The integral type 'byte') David Brown <david.brown@hesbynett.no> - 2025-03-28 15:43 +0100
                                                                        Re: [OT] SPARC (was Re: The integral type 'byte') Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-28 17:54 +0000
                                                                  Re: [OT] SPARC (was Re: The integral type 'byte') "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-03-28 10:16 -0700
                                                              Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-28 11:03 +0100
                                                                Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Michael S <already5chosen@yahoo.com> - 2025-03-28 14:01 +0300
                                                                Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-28 11:29 +0000
                                                                  Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-28 12:46 +0100
                                                                Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-28 12:30 +0100
                                          Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 11:10 +0100
                                            Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Richard Harnden <richard.nospam@gmail.invalid> - 2025-03-26 11:02 +0000
                                              Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 12:47 +0100
                                                Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) bart <bc@freeuk.com> - 2025-03-26 13:12 +0000
                                                  Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 14:48 +0100
                                                Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 15:40 +0100
                                              Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-26 18:29 +0000
                                            Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 15:22 +0100
                                            Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-26 13:09 -0700
                                        Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-25 13:16 -0700
                                          Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 11:33 +0100
                            Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-20 12:22 -0700
                        Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-20 12:10 -0700
                          Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-20 20:59 +0000
                            Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-20 16:18 -0700
                              Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-20 23:55 +0000
                                Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-21 00:46 +0000
                                  Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-21 01:23 +0000
                                    Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-20 18:47 -0700
                                      Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-21 11:53 +0000
                                        Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-21 12:04 -0700
                                          Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-22 00:23 +0000
                                            Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-21 20:50 -0700
                                              Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-22 13:06 +0000
                                                Re: Suggested method for returning a string from a C program? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-03-22 14:51 -0700
                                                Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-22 14:52 -0700
                                                  Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-23 01:34 +0000
                                                    Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-23 10:50 +0200
                                                      Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-23 11:25 +0000
                                                        Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-23 14:12 +0200
                                                    Re: Suggested method for returning a string from a C program? David Brown <david.brown@hesbynett.no> - 2025-03-24 12:51 +0100
                                                      Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-24 14:07 +0000
                                                        Re: Suggested method for returning a string from a C program? David Brown <david.brown@hesbynett.no> - 2025-03-24 15:32 +0100
                                                          Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-24 15:00 +0000
                                                            Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-24 17:22 +0200
                                                              Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-24 16:12 +0000
                                                            Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-24 16:02 +0000
                                                              Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-24 16:17 +0000
                                                                Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-24 16:49 +0000
                                                                  Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-24 16:56 +0000
                                                                    Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-24 18:20 +0000
                                                                      Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-25 08:40 +0000
                                                                        Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-25 11:09 +0000
                                                                          Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-25 14:46 +0000
                                                                            Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-25 15:04 +0000
                                                                              Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-25 15:09 +0000
                                                                                Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-25 16:40 +0000
                                                                                  Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-26 09:20 +0000
                                                                                    Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-26 10:07 +0000
                                                                                    Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-26 18:06 +0000
                                                                                      Re: Suggested method for returning a string from a C program? antispam@fricas.org (Waldek Hebisch) - 2025-03-27 00:22 +0000
                                                                                        Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-27 14:22 +0000
                                                                                          Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-27 10:54 -0700
                                                                                            Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-28 16:13 +0000
                                                                                              Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-28 16:40 +0000
                                                                                                Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-28 20:41 +0000
                                                                                                  Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-28 22:18 +0000
                                                                                                    Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-28 15:33 -0700
                                                                                                      Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-28 22:48 +0000
                                                                                                        Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-28 16:53 -0700
                                                                                                          Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-29 00:32 +0000
                                                                                                            Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-28 18:50 -0700
                                                                                                              Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-29 16:24 +0000
                                                                                                            Re: Suggested method for returning a string from a C program? David Brown <david.brown@hesbynett.no> - 2025-03-29 13:37 +0100
                                                                                                              Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-29 16:33 +0000
                                                                                                                Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-29 17:23 +0000
                                                                                                                  Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-29 18:11 +0000
                                                                                              Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-28 10:57 -0700
                                                                            Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-25 16:16 +0000
                                                                        Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-25 13:29 +0200
                                                                          Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-25 14:58 +0000
                                                                            Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-25 17:14 +0200
                                                                              Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-25 16:37 +0000
                                                                                Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-25 19:00 +0200
                                                                  Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-24 17:15 +0000
                                                                    Code-change-to-run times (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-24 18:44 +0100
                                                                      Re: Code-change-to-run times (was Re: Suggested method for returning a string from a C program?) Michael S <already5chosen@yahoo.com> - 2025-03-24 23:06 +0200
                                                                        Re: Code-change-to-run times (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-24 23:44 +0100
                                                                          Re: Code-change-to-run times (was Re: Suggested method for returning a string from a C program?) Michael S <already5chosen@yahoo.com> - 2025-03-25 13:00 +0200
                                                                Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-24 21:16 +0000
                                                                  Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-25 08:41 +0000
                                                                    Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-25 11:04 +0000
                                                                      Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-25 14:43 +0000
                                                                  Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-25 13:51 +0000
                                                                    Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-25 14:22 +0000
                                                          Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-24 17:10 +0200
                                                            Re: Suggested method for returning a string from a C program? David Brown <david.brown@hesbynett.no> - 2025-03-24 19:07 +0100
                                                          Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-24 15:44 +0000
                                                            Re: Suggested method for returning a string from a C program? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-03-24 11:27 -0700
                                                              Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-24 20:13 +0000
                                                            Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-24 23:01 +0200
                                                              Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-25 11:17 +0000
                                                        Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-24 15:42 +0000
                                                          Re: Suggested method for returning a string from a C program? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-03-24 11:27 -0700
                                                    Compiler speed (ad nauseam) (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-24 18:01 +0100
                                                    Re: Suggested method for returning a string from a C program? James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-24 19:25 -0400
                                                      Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-25 00:53 +0000
                                                        Re: Suggested method for returning a string from a C program? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-03-24 19:00 -0700
                                                        Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-24 21:50 -0700
                                                        Re: Suggested method for returning a string from a C program? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-25 08:19 +0100
                                              Re: Suggested method for returning a string from a C program? David Brown <david.brown@hesbynett.no> - 2025-03-22 14:41 +0100
                                              Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-23 11:41 +0200
                                                Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-23 14:13 -0700
                                                  Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-23 23:19 +0200
                                        Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-22 07:05 -0700
                                Re: Suggested method for returning a string from a C program? antispam@fricas.org (Waldek Hebisch) - 2025-03-22 02:37 +0000
                                  Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-22 12:20 +0000
                                    Re: Suggested method for returning a string from a C program? antispam@fricas.org (Waldek Hebisch) - 2025-03-22 13:50 +0000
                                      Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-22 15:47 +0000
                              Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-22 17:00 +0000
                                Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-22 15:31 -0700
                        Re: Suggested method for returning a string from a C program? antispam@fricas.org (Waldek Hebisch) - 2025-03-21 17:51 +0000
                          Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-21 18:51 +0000
                            Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-22 02:16 +0000
                              Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-22 04:15 +0000
                                Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-21 21:24 -0700
                                Re: Suggested method for returning a string from a C program? antispam@fricas.org (Waldek Hebisch) - 2025-03-22 14:07 +0000
                                  Fast division (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 02:04 +0100
                                    Re: Fast division (was Re: Suggested method for returning a string from a C program?) James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-25 22:35 -0400
                                      Re: Fast division (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 12:40 +0100
                                        Re: Fast division (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 14:47 +0100
                                          Re: Fast division (was Re: Suggested method for returning a string from a C program?) David Brown <david.brown@hesbynett.no> - 2025-03-26 17:55 +0100
                                        Re: Fast division (was Re: Suggested method for returning a string from a C program?) Michael S <already5chosen@yahoo.com> - 2025-03-26 19:36 +0200
                                      Re: Fast division (was Re: Suggested method for returning a string from a C program?) antispam@fricas.org (Waldek Hebisch) - 2025-03-26 13:44 +0000
                                        Re: Fast division (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 16:19 +0100
                                    Re: Fast division (was Re: Suggested method for returning a string from a C program?) antispam@fricas.org (Waldek Hebisch) - 2025-03-26 02:37 +0000
                                      Re: Fast division (was Re: Suggested method for returning a string from a C program?) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-03-26 14:42 +0100
                                    Re: Fast division (was Re: Suggested method for returning a string from a C program?) Rosario19 <Ros@invalid.invalid> - 2025-03-26 19:01 +0100
                                    Re: Fast division (was Re: Suggested method for returning a string from a C program?) Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-26 18:49 +0000
                          Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-22 00:01 +0000
                            Re: Suggested method for returning a string from a C program? antispam@fricas.org (Waldek Hebisch) - 2025-03-22 01:41 +0000
                              Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-22 14:22 +0000
                                Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-22 14:32 +0000
                                Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-22 16:25 +0000
                      Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-20 16:35 +0200
                      Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-20 14:42 +0000
                      Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-20 16:20 +0000
                    Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-20 11:33 -0700
                    Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-20 12:07 -0700
          Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-19 12:59 -0700
            Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-19 22:12 +0200
              Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-20 05:19 -0700
    Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-18 20:26 -0700
      Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-19 00:42 -0400
        Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-19 04:51 +0000
          Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-19 01:02 -0400
            Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-19 05:23 +0000
              Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-20 06:06 -0700
                Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-20 13:27 +0000
                  Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-20 16:50 +0200
                  Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-20 11:24 -0700
                    Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-20 18:53 +0000
                      Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-20 16:56 -0700
                    Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-22 16:46 -0700
                      Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-23 08:25 +0000
                        Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-23 12:06 +0200
                          Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-23 10:15 +0000
                        Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-23 12:35 -0700
                          Re: Suggested method for returning a string from a C program? David Brown <david.brown@hesbynett.no> - 2025-03-24 13:09 +0100
        Re: Suggested method for returning a string from a C program? Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2025-03-22 19:07 +1100
          Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-22 13:25 +0000
            Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-22 19:12 +0200
            Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-22 19:17 +0200
              Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-22 17:22 +0000
          Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-22 10:29 -0400
            Re: Suggested method for returning a string from a C program? Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2025-03-25 21:41 +1100
          Re: Suggested method for returning a string from a C program? scott@slp53.sl.home (Scott Lurndal) - 2025-03-22 14:30 +0000
            Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-22 11:31 -0400
            Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-22 19:19 +0200
          Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-22 14:54 -0700
    Re: Suggested method for returning a string from a C program? Ike Naar <ike@sdf.org> - 2025-03-19 07:16 +0000
      Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-19 01:53 -0700
        Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-19 16:45 -0400
          Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-19 21:21 +0000
            Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-19 21:35 +0000
          Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-19 14:56 -0700
            Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-19 22:34 -0400
              Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-19 19:46 -0700
      Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-19 11:25 -0400
    Re: Suggested method for returning a string from a C program? bart <bc@freeuk.com> - 2025-03-19 10:15 +0000
      Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-19 12:40 +0200
        Re: Suggested method for returning a string from a C program? David Brown <david.brown@hesbynett.no> - 2025-03-19 17:42 +0100
      Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-19 09:03 -0400
        Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-19 14:40 +0000
          Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-19 17:39 +0200
            Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-19 15:42 +0000
              Re: Suggested method for returning a string from a C program? Alexis <flexibeast@gmail.com> - 2025-03-22 15:05 +1100
                Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-22 10:19 +0000
                  Re: Suggested method for returning a string from a C program? Alexis <flexibeast@gmail.com> - 2025-03-23 11:05 +1100
                    Re: Suggested method for returning a string from a C program? Muttley@dastardlyhq.com - 2025-03-23 16:22 +0000
          Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-19 13:13 -0700
            Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-20 09:50 +0000
              Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-20 04:59 -0700
              Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-20 16:14 +0000
                Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-20 16:29 +0000
                  Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-20 16:49 +0000
                    Re: Suggested method for returning a string from a C program? Muttley@DastardlyHQ.org - 2025-03-21 09:09 +0000
                      Re: Suggested method for returning a string from a C program? Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-21 17:12 +0000
    Re: Suggested method for returning a string from a C program? Michael S <already5chosen@yahoo.com> - 2025-03-19 12:36 +0200
      Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-19 09:13 -0400
      Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-20 05:15 -0700
        Re: Suggested method for returning a string from a C program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2025-03-20 12:14 -0700
          Re: Suggested method for returning a string from a C program? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-03-21 00:05 -0700
            Re: Suggested method for returning a string from a C program? Richard Heathfield <rjh@cpax.org.uk> - 2025-03-21 07:48 +0000
    Re: Suggested method for returning a string from a C program? Lynn McGuire <lynnmcguire5@gmail.com> - 2025-03-22 13:32 -0500
      Re: Suggested method for returning a string from a C program? DFS <nospam@dfs.com> - 2025-03-23 12:29 -0400

Page 3 of 22 — ← Prev page 1 2 [3] 4 5 … 22  Next page →


#391653 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromDavid Brown <david.brown@hesbynett.no>
Date2025-03-26 09:23 +0100
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vs0di6$1avlb$1@dont-email.me>
In reply to#391628
On 25/03/2025 20:04, Janis Papanagnou wrote:
> On 25.03.2025 16:33, David Brown wrote:
>> On 25/03/2025 13:02, Tim Rentsch wrote:
>>> Michael S <already5chosen@yahoo.com> writes:
>>>>
>>>> Wouldn't the term 'whole numbers' be preferred in everyday English?
>>>
>>> "Whole numbers" are all non-negative.
>>>
>>> "Integers" include values less than zero.
>>
>> "Everyday English" does not cover negative numbers at all - in "everyday
>> English", "integer" and "whole number" are basically synonymous and mean
>> 1, 2, 3, etc.
>>
>> But in standard mathematical usage, "whole numbers" are non-negative,
>> while "integers" include negative numbers.  (There is no solid agreement
>> about whether 0 is a "whole number" or not.)  [...]
> 
> This all is interesting. - As a non-native English speaker that's not
> obvious. - Where I live we have learned
> 
> ℕ (called "natural numbers"): 1, 2, ...
> 
> ℕ with an index 0 (positive/non-negative whole numbers): 0, 1, 2, ...
> 
> ℤ (integer numbers, called "whole numbers"): ..., -1, 0, 1, 2, ...
> 

Yes - with the proviso that some mathematicians include 0 with the set 
of natural numbers while some do not, and the term "whole numbers" is 
usually used in a looser sense when it is obvious whether 0 is included 
or not.  There is no "blackboard-W" symbol for the "set of whole 
numbers" - it's best to use explicit symbols like ℕ₀ or ℕ+ if it is not 
clear which "set of natural numbers" you mean.


[toc] | [prev] | [next] | [standalone]


#391635 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2025-03-25 13:31 -0700
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<87iknw7sz8.fsf@nosuchdomain.example.com>
In reply to#391613
David Brown <david.brown@hesbynett.no> writes:
[...]
> "Everyday English" does not cover negative numbers at all - in
> "everyday English", "integer" and "whole number" are basically
> synonymous and mean 1, 2, 3, etc.

Perhaps I don't speak everyday English.

Most people probably rarely use the word "integer".  When they do,
if they use it correctly, they use it to refer to the set of numbers
with no fractional part, which can be positive, zero, or negative.
I've never heard the word "integer" used in a way that excludes
negative numbers.

The way I was taught in elementary school:

The integers are ..., -2, -1, 0, 1, 2 ...
The natural numbers are 1, 2, ...
The whole numbers are 0, 1, 2, ...

There isn't universal agreement on whether the natural and/or whole
numbers include 0.  Ada, for example, has a subtype Natural whose lower
bound is 0 (Positive starts at 1), which was very slightly jarring when
I first encountered it.

[...]

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

[toc] | [prev] | [next] | [standalone]


#391654 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromDavid Brown <david.brown@hesbynett.no>
Date2025-03-26 09:34 +0100
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vs0e6r$1avlb$2@dont-email.me>
In reply to#391635
On 25/03/2025 21:31, Keith Thompson wrote:
> David Brown <david.brown@hesbynett.no> writes:
> [...]
>> "Everyday English" does not cover negative numbers at all - in
>> "everyday English", "integer" and "whole number" are basically
>> synonymous and mean 1, 2, 3, etc.
> 
> Perhaps I don't speak everyday English.
> 
> Most people probably rarely use the word "integer".

Agreed.  (To be clear here - I have not asked "most people", so I can't 
claim good statistical evidence for any of this.)

>  When they do,
> if they use it correctly, they use it to refer to the set of numbers
> with no fractional part, which can be positive, zero, or negative.
> I've never heard the word "integer" used in a way that excludes
> negative numbers.
> 
> The way I was taught in elementary school:
> 
> The integers are ..., -2, -1, 0, 1, 2 ...
> The natural numbers are 1, 2, ...
> The whole numbers are 0, 1, 2, ...
> 

Sure.  But most people have forgotten such details long ago - negative 
numbers are not part of daily life (except as an indicator of how much 
you owe the bank...).  After all, negative numbers are not natural!

So if you ask someone random "Do you know what an integer is?", a likely 
response will be "That's a whole number, isn't it?  Like 1, 2 or 3 - not 
something like a half."

> There isn't universal agreement on whether the natural and/or whole
> numbers include 0.  Ada, for example, has a subtype Natural whose lower
> bound is 0 (Positive starts at 1), which was very slightly jarring when
> I first encountered it.
> 

The most relevant for most languages is whether array indices start at 0 
or 1, and I have always understood that it varies - thus you have to 
know where you stand in a given language.  Perhaps learning to program 
in BASIC - with its wildly inconsistent variations - wasn't /entirely/ 
harmful :-)

[toc] | [prev] | [next] | [standalone]


#391660 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2025-03-26 02:59 -0700
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<87sen05cza.fsf@nosuchdomain.example.com>
In reply to#391654
David Brown <david.brown@hesbynett.no> writes:
[...]
> Sure.  But most people have forgotten such details long ago - negative
> numbers are not part of daily life (except as an indicator of how much
> you owe the bank...).  After all, negative numbers are not natural!

Most people understand credits and debits.

> So if you ask someone random "Do you know what an integer is?", a
> likely response will be "That's a whole number, isn't it?  Like 1, 2
> or 3 - not something like a half."

I suspect that most people who would use the word "integer" without
being prompted would use it correctly.

[...]

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

[toc] | [prev] | [next] | [standalone]


#391666 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromDavid Brown <david.brown@hesbynett.no>
Date2025-03-26 12:33 +0100
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vs0olv$1lodm$1@dont-email.me>
In reply to#391660
On 26/03/2025 10:59, Keith Thompson wrote:
> David Brown <david.brown@hesbynett.no> writes:
> [...]
>> Sure.  But most people have forgotten such details long ago - negative
>> numbers are not part of daily life (except as an indicator of how much
>> you owe the bank...).  After all, negative numbers are not natural!
> 
> Most people understand credits and debits.

They do.  But they understand it as "I owe the bank $100" - they don't 
view it as "I have -$100 in my bank account".  Even when looking at 
ledgers and accounts, they will primarily see a negative number as an 
indication of a positive amount moved in the other direction - the minus 
sign is symbolic, with alternatives such as parentheses or red type 
meaning the same thing.  When adding up the numbers, they do not see it 
as adding some positive and negative numbers together - they see it as 
sometimes adding numbers, sometimes subtracting them.

In almost all everyday situations that appear to use signed numbers, 
people do not consider negative numbers.  Rather, they think of 
non-negative numbers with a tag attached for the direction.  We might 
write that a stock market change is -2%, but we say and think that it 
has gone down 2% - no negative numbers are involved.

Even in C (in a desperate attempt to bring us back on topic for the 
group), there are no negative integer constants - merely positive 
integer constants with a unary minus operator applied.

> 
>> So if you ask someone random "Do you know what an integer is?", a
>> likely response will be "That's a whole number, isn't it?  Like 1, 2
>> or 3 - not something like a half."
> 
> I suspect that most people who would use the word "integer" without
> being prompted would use it correctly.
> 

You could be right there, yes.


[toc] | [prev] | [next] | [standalone]


#391681 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromJanis Papanagnou <janis_papanagnou+ng@hotmail.com>
Date2025-03-26 15:59 +0100
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vs14p5$20ejf$1@dont-email.me>
In reply to#391666
On 26.03.2025 12:33, David Brown wrote:
> On 26/03/2025 10:59, Keith Thompson wrote:
>> David Brown <david.brown@hesbynett.no> writes:
>> [...]
>>> Sure.  But most people have forgotten such details long ago - negative
>>> numbers are not part of daily life (except as an indicator of how much
>>> you owe the bank...).  After all, negative numbers are not natural!
>>
>> Most people understand credits and debits.
> 
> They do.  But they understand it as "I owe the bank $100" - they don't
> view it as "I have -$100 in my bank account". [...]

I don't know about contemporary bookkeeping but in my youth they had
two columns with non-negative numbers for both sides, the credits and
debits. Nowadays, e.g. in online banking, we see signed numbers.

> 
> Even in C (in a desperate attempt to bring us back on topic for the
> group), there are no negative integer constants - merely positive
> integer constants with a unary minus operator applied.

Is that so? (Harmlessly asking.) - I mean, if I write  int x = -5;
does it matter (in "C") whether its parsed as  <integer number>  or
 <negation> <positive number> ?

I faintly recall a discussion, I think in context of exponentiation.

But I don't want to (re-)open a can of words...

Janis

[toc] | [prev] | [next] | [standalone]


#391686 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromDavid Brown <david.brown@hesbynett.no>
Date2025-03-26 17:37 +0100
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vs1afg$24nub$2@dont-email.me>
In reply to#391681
On 26/03/2025 15:59, Janis Papanagnou wrote:
> On 26.03.2025 12:33, David Brown wrote:

>>
>> Even in C (in a desperate attempt to bring us back on topic for the
>> group), there are no negative integer constants - merely positive
>> integer constants with a unary minus operator applied.
> 
> Is that so? (Harmlessly asking.) - I mean, if I write  int x = -5;
> does it matter (in "C") whether its parsed as  <integer number>  or
>   <negation> <positive number> ?
> 

I can't think off-hand of any situation in which it would matter, but 
maybe others can.  (It's also worth noting that there were changes in 
the way integer constants were typed between C90 and C99 - though 
usually the differences are harmless.)

> I faintly recall a discussion, I think in context of exponentiation.
> 
> But I don't want to (re-)open a can of words...
> 

Too late for that!

[toc] | [prev] | [next] | [standalone]


#391706 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2025-03-26 12:38 -0700
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<87o6xn60qc.fsf@nosuchdomain.example.com>
In reply to#391681
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
> On 26.03.2025 12:33, David Brown wrote:
[...]
>> Even in C (in a desperate attempt to bring us back on topic for the
>> group), there are no negative integer constants - merely positive
>> integer constants with a unary minus operator applied.
>
> Is that so? (Harmlessly asking.) - I mean, if I write  int x = -5;
> does it matter (in "C") whether its parsed as  <integer number>  or
>  <negation> <positive number> ?

If -5 were a single token (an integer constant), then 6-5 would be an
integer constant 6 followed by an integer constant -5, a syntax error.

If INT_MIN is -2147483648 and INT_MAX is 2147483647, the expression
-2147483648 is of type long int.  Implementations of <limits.h> have to
work around this.

[...]

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

[toc] | [prev] | [next] | [standalone]


#391718 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromJanis Papanagnou <janis_papanagnou+ng@hotmail.com>
Date2025-03-26 22:53 +0100
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vs1t0p$2m8ne$1@dont-email.me>
In reply to#391706
On 26.03.2025 20:38, Keith Thompson wrote:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
>> On 26.03.2025 12:33, David Brown wrote:
> [...]
>>> Even in C (in a desperate attempt to bring us back on topic for the
>>> group), there are no negative integer constants - merely positive
>>> integer constants with a unary minus operator applied.
>>
>> Is that so? (Harmlessly asking.) - I mean, if I write  int x = -5;
>> does it matter (in "C") whether its parsed as  <integer number>  or
>>  <negation> <positive number> ?
> 
> If -5 were a single token (an integer constant), then 6-5 would be an
> integer constant 6 followed by an integer constant -5, a syntax error.

This is generally not true; that depends on the syntax rules. It is
perfectly fine to have rules for 2-ary addition and subtraction and
have also negative (and positive) literals or expressions with unary
plus and minus operators.

Disclaimer: As usual I'm not speaking about any peculiarity that "C"
may (or may not) have defined in its standard, but generally.

Janis

> [...]

[toc] | [prev] | [next] | [standalone]


#391719 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2025-03-26 15:15 -0700
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<87zfh74exe.fsf@nosuchdomain.example.com>
In reply to#391718
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
> On 26.03.2025 20:38, Keith Thompson wrote:
[...]
>> If -5 were a single token (an integer constant), then 6-5 would be an
>> integer constant 6 followed by an integer constant -5, a syntax error.
>
> This is generally not true; that depends on the syntax rules. It is
> perfectly fine to have rules for 2-ary addition and subtraction and
> have also negative (and positive) literals or expressions with unary
> plus and minus operators.
>
> Disclaimer: As usual I'm not speaking about any peculiarity that "C"
> may (or may not) have defined in its standard, but generally.

I suppose it would be possible to define a language syntax that makes
-5 a single token and still parses 6-5 as (literal 6, binary-minus,
literal-5).  C is certainly not that language.  If a future C
standard made -5 a valid integer literal, I'm not at all sure what
other changes would have to be made to avoid breaking existing code.

You'll want to have both unary and binary "-" operators anyway,
so you can write "-x".  As long as you have a unary "-" operator,
making "-5" a single token doesn't give you much -- and then you
have to explain why "-x" is two tokens but "-5" is just one, or why
"-5" and "- 5" are parsed differently.

Note that the strto*() functions recognize strings that look like
an integer constant/literal "optionally preceded by a plus or
minus sign".

I don't know of any language that uses "-" for both negation (prefix,
one operand) and subtraction (infix, two operands) and treats -5
as a single token rather than a unary minus operator applied to the
constant/literal "5".

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

[toc] | [prev] | [next] | [standalone]


#391729 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromDavid Brown <david.brown@hesbynett.no>
Date2025-03-27 10:11 +0100
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vs34ot$3tfl0$1@dont-email.me>
In reply to#391719
On 26/03/2025 23:15, Keith Thompson wrote:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
>> On 26.03.2025 20:38, Keith Thompson wrote:
> [...]
>>> If -5 were a single token (an integer constant), then 6-5 would be an
>>> integer constant 6 followed by an integer constant -5, a syntax error.
>>
>> This is generally not true; that depends on the syntax rules. It is
>> perfectly fine to have rules for 2-ary addition and subtraction and
>> have also negative (and positive) literals or expressions with unary
>> plus and minus operators.
>>
>> Disclaimer: As usual I'm not speaking about any peculiarity that "C"
>> may (or may not) have defined in its standard, but generally.
> 
> I suppose it would be possible to define a language syntax that makes
> -5 a single token and still parses 6-5 as (literal 6, binary-minus,
> literal-5).  

I'm sure a language could have syntax and parsing rules that interpreted 
the minus sign as binary minus in "x-y", unary minus in "-x", and part 
of the literal in "-5" if it is not preceded by an operand that has a 
suitable subtraction operation.  But I think the rules would get fairly 
complicated - much more so than the rules of C syntax and parsing.

It would be a lot easier in a language that required spaces to separate 
tokens.  Then it would be simple to distinguish "x - y" and "-5" - the 
binary subtraction operator is always space-minus-space, while in a 
literal, the minus sign has no space on its right.  "- 5" would then be 
parsed as unary minus applied to the literal "5", and "-x" would be a 
single token unrelated to "x".  This is how it is handled in Forth - 
there, "-5" is a single token for the literal value of minus five 
(unless some silly bugger has redefined -5 to something else...).  If 
you want to apply unary minus to 5, you write "5 NEGATE" (as Forth uses 
RPN notation).


> 
> I don't know of any language that uses "-" for both negation (prefix,
> one operand) and subtraction (infix, two operands) and treats -5
> as a single token rather than a unary minus operator applied to the
> constant/literal "5".
> 

For the most part, the important part of the grammar is the "constant 
expression" or "integer constant expression" - and you get that whether 
"-5" is parsed as one token (in a hypothetical C variant) or two tokens.

[toc] | [prev] | [next] | [standalone]


#391806 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromJanis Papanagnou <janis_papanagnou+ng@hotmail.com>
Date2025-03-29 18:25 +0100
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vs9aek$1sesb$1@dont-email.me>
In reply to#391719
On 26.03.2025 23:15, Keith Thompson wrote:
> [ dyadic and monadic minus operations, and minus sign at literals ]
> 
> I don't know of any language that uses "-" for both negation (prefix,
> one operand) and subtraction (infix, two operands) and treats -5
> as a single token rather than a unary minus operator applied to the
> constant/literal "5".

I as well don't know. It may simplify things if the '-' is detached
from a numeric positive literal, especially for numeric expressions.

There's certainly cases where a signed numeric token is appropriate,
thinking (for example) about a CONST declaration in Pascal, like
 CONST a = -5;  here you don't have expressions, just the primitive
type literals.[*]

The point why I think that a signed literal as entity may be useful
is that it's a static (compile time) property; -5 is in that respect
different from -x, the negation operation. A negative constant does
not "cost" a run-time operation.

Given what we recently discussed about a division by a constant,
where compilers (may) handle expressions by pre-calculating the
reciprocal for run-time efficiency, it's not that clear to me that
it matters either way.

I suppose it's a question of whether it complicates syntax definition
or parsing.

Janis

[*] Note: Pascal, syntactically, also doesn't have signed constants,
the sign is in all those contexts an explicit token, not part of the
number token. This holds for both, a 'CONST' declaration and being
part of an INTEGER literal in an expression. The 'REAL' literals are
also handled that way, the overall sign is not part of the numeric
token, but the sign of its exponent *is* part of the 'REAL' token.

[toc] | [prev] | [next] | [standalone]


#391808 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

Frombart <bc@freeuk.com>
Date2025-03-29 18:20 +0000
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vs9dlk$1u88l$2@dont-email.me>
In reply to#391806
On 29/03/2025 17:25, Janis Papanagnou wrote:
> On 26.03.2025 23:15, Keith Thompson wrote:
>> [ dyadic and monadic minus operations, and minus sign at literals ]
>>
>> I don't know of any language that uses "-" for both negation (prefix,
>> one operand) and subtraction (infix, two operands) and treats -5
>> as a single token rather than a unary minus operator applied to the
>> constant/literal "5".
> 
> I as well don't know. It may simplify things if the '-' is detached
> from a numeric positive literal, especially for numeric expressions.
> 
> There's certainly cases where a signed numeric token is appropriate,
> thinking (for example) about a CONST declaration in Pascal, like
>   CONST a = -5;  here you don't have expressions, just the primitive
> type literals.[*]
> 
> The point why I think that a signed literal as entity may be useful
> is that it's a static (compile time) property; -5 is in that respect
> different from -x, the negation operation. A negative constant does
> not "cost" a run-time operation.
> 
> Given what we recently discussed about a division by a constant,
> where compilers (may) handle expressions by pre-calculating the
> reciprocal for run-time efficiency, it's not that clear to me that
> it matters either way.
> 
> I suppose it's a question of whether it complicates syntax definition
> or parsing.



Having a single token like '-1234' is pointless. Most languages allow 
you to add parentheses like '-(1234)' which must give the exact same 
result.

And many also reduce expressions like '1234+1' to '12345' at compile 
time. In this case you'd want '-(1234+1)' to be equivalent to '-1235'.

Or there may be a named alias 'X' for 1234, and later write '-X'.

So there is no advantage to it, except possibly in the special case 
where the N in -N is something like INT_MIN, as N could have a different 
type.

[toc] | [prev] | [next] | [standalone]


#391809 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromJanis Papanagnou <janis_papanagnou+ng@hotmail.com>
Date2025-03-30 01:39 +0100
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vsa3rf$2mj2h$1@dont-email.me>
In reply to#391808
On 29.03.2025 19:20, bart wrote:
> On 29/03/2025 17:25, Janis Papanagnou wrote:
>> On 26.03.2025 23:15, Keith Thompson wrote:
>>> [ dyadic and monadic minus operations, and minus sign at literals ]
>>>
>>> I don't know of any language that uses "-" for both negation (prefix,
>>> one operand) and subtraction (infix, two operands) and treats -5
>>> as a single token rather than a unary minus operator applied to the
>>> constant/literal "5".
>>
>> I as well don't know. It may simplify things if the '-' is detached
>> from a numeric positive literal, especially for numeric expressions.
>>
>> There's certainly cases where a signed numeric token is appropriate,
>> thinking (for example) about a CONST declaration in Pascal, like
>>   CONST a = -5;  here you don't have expressions, just the primitive
>> type literals.[*]
>>
>> The point why I think that a signed literal as entity may be useful
>> is that it's a static (compile time) property; -5 is in that respect
>> different from -x, the negation operation. A negative constant does
>> not "cost" a run-time operation.
>>
>> Given what we recently discussed about a division by a constant,
>> where compilers (may) handle expressions by pre-calculating the
>> reciprocal for run-time efficiency, it's not that clear to me that
>> it matters either way.
>>
>> I suppose it's a question of whether it complicates syntax definition
>> or parsing.
> 
> 
> 
> Having a single token like '-1234' is pointless. Most languages allow
> you to add parentheses like '-(1234)' which must give the exact same
> result.

In above post there's not a specific or "most" languages given as
example for a possible rationale. (There was an example given that
expects [in Pascal] a constant numeric literal, not an expression.)

'-1234' is a standard representation (a literal) for a number.
'-(1234)' is an expression (with parenthesis and a negation op).

Even '- 1234' (with a space) can be considered an expression, or
not, depending on whether a language would allow spaces as part of
numeric literals or not.

> 
> And many also reduce expressions like '1234+1' to '12345' at compile
> time. In this case you'd want '-(1234+1)' to be equivalent to '-1235'.
> 
> Or there may be a named alias 'X' for 1234, and later write '-X'.

Again examples for expressions.

Janis

> [...]

[toc] | [prev] | [next] | [standalone]


#391812 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromAlan Mackenzie <acm@muc.de>
Date2025-03-31 17:15 +0000
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vseij2$kqj$1@news.muc.de>
In reply to#391719
Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:

[ .... ]

> I don't know of any language that uses "-" for both negation (prefix,
> one operand) and subtraction (infix, two operands) and treats -5
> as a single token rather than a unary minus operator applied to the
> constant/literal "5".

How about Lisp?  The unary operator is (- 5), the binary (- 10 5).

It doesn't match your second parenthetical remark ("infix") but
otherwise it does.

-5 is syntactically not an operator followed by a constant.  It surely
gets parsed as a single token.

> -- 
> Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
> void Void(void) { Void(); } /* The recursive call of the void */

-- 
Alan Mackenzie (Nuremberg, Germany).

[toc] | [prev] | [next] | [standalone]


#391814 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromKaz Kylheku <643-408-1753@kylheku.com>
Date2025-03-31 19:48 +0000
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<20250331124001.899@kylheku.com>
In reply to#391812
On 2025-03-31, Alan Mackenzie <acm@muc.de> wrote:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>
> [ .... ]
>
>> I don't know of any language that uses "-" for both negation (prefix,
>> one operand) and subtraction (infix, two operands) and treats -5
>> as a single token rather than a unary minus operator applied to the
>> constant/literal "5".
>
> How about Lisp?  The unary operator is (- 5), the binary (- 10 5).
>
> It doesn't match your second parenthetical remark ("infix") but
> otherwise it does.

Lisp could be infix if we want with some macro:

 (infix-environment
   ... (10 - (a * 3)) ...)

Here, the fictional macro infix-environment implements a code walker of
its interior looking for situations where the second place of a form is
a symbol with a function binding, and the first place isn't a symbol, or
not one with a function binding.  Those expressions are then treated by
a conversion of (x1 x2 x3 ...) to (infix x1 x2 x3). When the conversion
is complete, the infix-environment macro removes itself, or rewrites
itself to progn.  The (also fictitious) infix macro then expands the
infixes, turning (infix 10 - (a * 3)) into (- 10 (* a 3)).

Things like (a cons (b cons c)) would also work for (cons a (cons b c)),
not only math infix. However, the infix macro could recognize
infix without parentheses, using operator precedence.

So then we would have a language in which we have - A unary,
A - B infix, and -5 is a negative constant.


-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

[toc] | [prev] | [next] | [standalone]


#391815 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromKaz Kylheku <643-408-1753@kylheku.com>
Date2025-03-31 21:14 +0000
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<20250331140525.470@kylheku.com>
In reply to#391814
On 2025-03-31, Kaz Kylheku <643-408-1753@kylheku.com> wrote:
> On 2025-03-31, Alan Mackenzie <acm@muc.de> wrote:
>> Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>>
>> [ .... ]
>>
>>> I don't know of any language that uses "-" for both negation (prefix,
>>> one operand) and subtraction (infix, two operands) and treats -5
>>> as a single token rather than a unary minus operator applied to the
>>> constant/literal "5".
>>
>> How about Lisp?  The unary operator is (- 5), the binary (- 10 5).
>>
>> It doesn't match your second parenthetical remark ("infix") but
>> otherwise it does.
>
> Lisp could be infix if we want with some macro:
>
>  (infix-environment
>    ... (10 - (a * 3)) ...)

I had been toying with the idea in my mind for a while, and this gave me the
impetus to get it working. It's very simple if you extend the Lisp dialect with
a suitable code walking hook.

Working, advanced proof of concept:

  $ ./txr -i infix.tl
  TXR's no-spray organic production means every bug is carefully removed by hand.
  1> (ifx (let ((a 1) (b 2) (c 3))
            ((a + b) * 3)))
  9

I'm going to post about this in more detail in comp.lang.lisp, where
it is topical.

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

[toc] | [prev] | [next] | [standalone]


#391816 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2025-03-31 14:56 -0700
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<87bjtgsw30.fsf@nosuchdomain.example.com>
In reply to#391812
Alan Mackenzie <acm@muc.de> writes:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>
> [ .... ]
>
>> I don't know of any language that uses "-" for both negation (prefix,
>> one operand) and subtraction (infix, two operands) and treats -5
>> as a single token rather than a unary minus operator applied to the
>> constant/literal "5".
>
> How about Lisp?  The unary operator is (- 5), the binary (- 10 5).
>
> It doesn't match your second parenthetical remark ("infix") but
> otherwise it does.

I know about Lisp.  It doesn't match my description, for the reasons
you pointed out.  It use of -5 as a single token doesn't present the
problems it would in a more C-like language.

[...]

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

[toc] | [prev] | [next] | [standalone]


#391725 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromJames Kuyper <jameskuyper@alumni.caltech.edu>
Date2025-03-26 14:07 -0400
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<vs26v2$2va7u$1@dont-email.me>
In reply to#391681
On 3/26/25 10:59, Janis Papanagnou wrote:
> On 26.03.2025 12:33, David Brown wrote:
...
>> Even in C (in a desperate attempt to bring us back on topic for the
>> group), there are no negative integer constants - merely positive
>> integer constants with a unary minus operator applied.
> 
> Is that so? (Harmlessly asking.) - I mean, if I write  int x = -5;
> does it matter (in "C") whether its parsed as  <integer number>  or
>  <negation> <positive number> ?

It does make a difference in some contexts, but not in that one.

The problem I remember best is that if, for instance, the minimum
integer that can be represented by an int has the value -32768, then the
integer literal 32768 represents a value too big to be represented as an
integer, so it has the type 'long int' rather than 'int'. As result,
since the expression -32768 is parsed as the unary - operator applied to
32768, that expression also has the type 'long int'. That makes it
unsuitable as the #definition of INT_MIN. A popular alternative is to
#define INT_MIN as (-32767-1).
The same issue applies to INT_MIN regardless of what value it has, I
chose 16 bits only to reduce typing.

[toc] | [prev] | [next] | [standalone]


#391696 — Re: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)

FromKaz Kylheku <643-408-1753@kylheku.com>
Date2025-03-26 17:58 +0000
SubjectRe: Integral types and own type definitions (was Re: Suggested method for returning a string from a C program?)
Message-ID<20250326103705.467@kylheku.com>
In reply to#391666
On 2025-03-26, David Brown <david.brown@hesbynett.no> wrote:
> On 26/03/2025 10:59, Keith Thompson wrote:
>> David Brown <david.brown@hesbynett.no> writes:
>> [...]
>>> Sure.  But most people have forgotten such details long ago - negative
>>> numbers are not part of daily life (except as an indicator of how much
>>> you owe the bank...).  After all, negative numbers are not natural!
>> 
>> Most people understand credits and debits.
>
> They do.  But they understand it as "I owe the bank $100" - they don't 
> view it as "I have -$100 in my bank account".  Even when looking at 

They do if you have an overdraft. If you have a formal loan, then there
will be some positively running account representing it.

(At least in the English-speaking word, where we have debits and credits
which reverse polarity between asset versus liability type accounts.)

It would definitely make sense for a loan account to have a negative
balance which increases toward zero as it is paid off.

Then the value of your account portfolio in that bank could be
calculated simply by adding your accounts together.

Moreover, when you move money from some chequing account to the mortgage
account, it would be a transaction which contains values that add to
zero: Chequing account -300; loan account +300.  Otherwise it has to be:
Checquing account: debit 300; loan account credit 300. Which means that
a "credit" is subtractive to a loan account rather than additive.
Under this system, you never see a negative unless some account is
overdrawn.

I have an accounting system for self-employment activities which works
this way rather than the debit-credit system.

The debit credit system is confusing.

For mortgaging, I deal with a bank which gets something wrong on
statements: Would you believe it, they add together the value of the
checking account, and the mortgqge account, both being positive. Then
they call that the value of your account! E.g. if you have a $5,000
balance in the checquing account, and $50,000 in the mortgage account,
they call that a value of $55,000.  I wrote them an e-mail and they
acknowledged this, but nothing was done; typical bureaucracy.
They would not have made that mistake with -55,000 and 5,000.

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

[toc] | [prev] | [next] | [standalone]


Page 3 of 22 — ← Prev page 1 2 [3] 4 5 … 22  Next page →

Back to top | Article view | comp.lang.c


csiph-web