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


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

If statement with initializer

Started byThiago Adams <thiago.adams@gmail.com>
First post2017-05-10 06:29 -0700
Last post2017-06-05 13:50 -0700
Articles 20 on this page of 364 — 31 participants

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


Contents

  If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-10 06:29 -0700
    Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-10 15:42 +0200
      Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-10 15:36 +0100
        Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-10 17:23 +0200
          Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-10 16:40 +0100
            Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-10 22:22 +0200
          Re: If statement with initializer Manfred <noname@invalid.add> - 2017-05-13 17:15 +0200
            Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-13 21:13 +0200
              Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-13 20:40 +0100
                Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-13 22:30 +0200
                  Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-13 22:01 +0100
                Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-14 16:20 +0200
                  Re: If statement with initializer "James R. Kuyper" <jameskuyper@verizon.net> - 2017-05-15 11:53 -0400
                    Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-15 22:21 +0200
        Re: If statement with initializer Manfred <noname@invalid.add> - 2017-05-13 17:24 +0200
      Re: If statement with initializer Philip Lantz <prl@canterey.us> - 2017-05-14 16:10 -0700
        Re: If statement with initializer Manfred <noname@invalid.add> - 2017-05-15 15:54 +0200
    Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-10 06:44 -0700
      Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-10 16:38 +0200
        Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-15 12:49 +0000
          Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-15 15:39 +0200
            Re: If statement with initializer Reinhardt Behm <rbehm@hushmail.com> - 2017-05-15 22:03 +0800
              Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-15 16:50 +0200
            Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-15 10:02 -0700
              Re: If statement with initializer Philip Lantz <prl@canterey.us> - 2017-05-18 19:05 -0700
                Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-19 08:57 +0200
          Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-15 07:14 -0700
          Re: If statement with initializer joel.rees@gmail.com - 2017-05-16 23:11 -0700
            Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-17 14:26 +0100
              Re: If statement with initializer supercat@casperkitty.com - 2017-05-17 08:40 -0700
                Re: If statement with initializer David Kleinecke <dkleinecke@gmail.com> - 2017-05-18 18:59 -0700
                Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-19 09:04 +0200
                  Re: If statement with initializer supercat@casperkitty.com - 2017-05-19 07:33 -0700
                    Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-19 18:17 +0200
                      Re: If statement with initializer supercat@casperkitty.com - 2017-05-19 09:53 -0700
                        Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-19 19:20 +0200
                          Re: If statement with initializer supercat@casperkitty.com - 2017-05-19 10:45 -0700
                            Re: If statement with initializer supercat@casperkitty.com - 2017-05-19 11:27 -0700
                    Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-19 11:32 -0700
                      Re: If statement with initializer supercat@casperkitty.com - 2017-05-19 12:30 -0700
                        Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-19 13:45 -0700
    Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-10 16:22 +0200
      Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-10 07:29 -0700
        Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-10 17:40 +0200
    Re: If statement with initializer supercat@casperkitty.com - 2017-05-10 08:48 -0700
      Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-10 22:24 +0200
        Re: If statement with initializer supercat@casperkitty.com - 2017-05-10 13:29 -0700
          Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-10 23:27 +0200
    Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-10 09:40 -0700
      Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-10 19:15 +0100
        Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-10 11:22 -0700
    Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-10 18:06 +0100
      Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-10 19:19 +0100
        Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-10 20:19 +0100
          Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-10 13:21 -0700
          Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-10 22:16 +0100
            Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-10 23:31 +0200
            Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-10 22:50 +0100
              Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-11 01:15 +0100
                Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-11 14:15 +0100
                  Re: If statement with initializer supercat@casperkitty.com - 2017-05-11 08:17 -0700
                    Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-11 19:00 +0100
                      Re: If statement with initializer supercat@casperkitty.com - 2017-05-11 11:49 -0700
                        Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-11 20:51 +0100
                        Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-12 20:02 +1200
                      Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-12 02:01 -0500
                        Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-13 08:54 -0700
                          Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-13 17:45 +0100
                            Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-14 13:14 -0700
                            Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-23 09:45 -0700
                              Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-23 18:07 +0100
                                Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-26 15:41 -0700
                          Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-14 16:20 -0500
                            Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-14 19:14 -0700
                              Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-14 21:54 -0500
                                Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-15 07:01 +0200
                                  Re: If statement with initializer Melzzzzz <Melzzzzz@zzzzz.com> - 2017-05-15 05:40 +0000
                                    Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-15 19:59 +0200
                                  Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-15 18:56 -0500
                              Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-15 09:31 +0200
                                Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-15 06:55 -0700
                              Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-15 10:33 -0700
                                Re: If statement with initializer supercat@casperkitty.com - 2017-05-15 10:54 -0700
                                Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-15 12:00 -0700
                                  Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-16 05:11 -0700
                                    Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-17 08:24 +1200
                                      Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-19 18:43 -0700
                                        Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-20 22:06 +1200
                                          Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-26 15:54 -0700
                                            Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-27 11:06 +1200
                                Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-15 19:15 -0500
                                  Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-16 12:54 -0700
                                    Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-17 00:12 -0500
                                      Re: If statement with initializer supercat@casperkitty.com - 2017-05-17 08:15 -0700
                                        Re: If statement with initializer scott@slp53.sl.home (Scott Lurndal) - 2017-05-17 15:46 +0000
                                          Re: If statement with initializer supercat@casperkitty.com - 2017-05-17 08:57 -0700
                                            Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-17 09:45 -0700
                                              Re: If statement with initializer supercat@casperkitty.com - 2017-05-17 10:09 -0700
                                        Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-17 11:37 -0500
                                        Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-18 07:24 +1200
                                      Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-23 09:42 -0700
                                        Re: If statement with initializer supercat@casperkitty.com - 2017-05-23 10:44 -0700
                    Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-12 12:16 +0200
                      Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-12 11:49 +0100
                        Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-12 15:21 +0200
                          Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-12 15:14 +0100
                            Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-12 17:04 +0200
                        Re: If statement with initializer supercat@casperkitty.com - 2017-05-12 08:27 -0700
              Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-11 05:03 -0700
                Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-11 14:29 +0100
                Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-12 20:04 +1200
                  Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-14 13:27 -0700
            Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-11 21:56 +0200
              Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-11 23:27 +0100
                Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-12 00:26 +0100
                  Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-12 01:16 +0100
                    Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-12 01:35 +0100
                      Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-12 01:58 +0100
                    Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-12 22:36 +0200
                  Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-12 22:19 +0200
                Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-12 22:06 +0200
              Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-12 02:09 +0200
                Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-12 22:38 +0200
                  Re: If statement with initializer "James R. Kuyper" <jameskuyper@verizon.net> - 2017-05-12 17:15 -0400
                    Re: If statement with initializer supercat@casperkitty.com - 2017-05-12 15:10 -0700
                      Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-13 00:02 -0500
                        Re: If statement with initializer supercat@casperkitty.com - 2017-05-15 08:41 -0700
                    Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-13 09:11 -0700
                  Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-13 00:59 +0200
                    Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-13 00:04 -0500
                      Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-13 13:17 +0200
                        Re: If statement with initializer jameskuyper@verizon.net - 2017-05-13 06:37 -0700
                          Re: If statement with initializer James Kuyper <jameskuyper@verizon.net> - 2017-05-13 10:29 -0400
                          Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-13 18:14 +0200
                      Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-13 14:04 -0700
                        Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-13 23:44 +0200
                          Re: If statement with initializer jameskuyper@verizon.net - 2017-05-13 18:22 -0700
                            Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-14 04:49 +0200
                              Re: If statement with initializer jameskuyper@verizon.net - 2017-05-13 20:23 -0700
                                Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-14 05:40 +0200
                                  Re: If statement with initializer jameskuyper@verizon.net - 2017-05-14 06:42 -0700
                                    Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-14 16:30 +0200
                                      Re: If statement with initializer jameskuyper@verizon.net - 2017-05-16 08:19 -0700
                                        Re: If statement with initializer "James R. Kuyper" <jameskuyper@verizon.net> - 2017-05-18 17:22 -0400
                                          Re: If statement with initializer supercat@casperkitty.com - 2017-05-18 15:00 -0700
                                            Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-18 16:20 -0700
                                              Re: If statement with initializer supercat@casperkitty.com - 2017-05-18 16:33 -0700
                                        Re: If statement with initializer luser droog <luser.droog@gmail.com> - 2017-05-18 15:58 -0700
                                          Re: If statement with initializer supercat@casperkitty.com - 2017-05-18 16:24 -0700
                                            Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-19 09:13 +0200
                                            Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-21 17:30 +0000
                                    Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-14 12:40 -0700
                              Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-14 00:18 -0500
                                Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-14 14:45 +0200
              Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-14 00:08 -0700
                Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-14 10:51 +0200
                  Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-14 14:32 -0700
                Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-14 11:37 +0100
                  Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-14 13:40 +0100
                    Re: If statement with initializer Manfred <invalid@invalid.add> - 2017-05-14 16:03 +0200
                      Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-14 16:04 +0100
                        Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-14 16:27 +0100
                  Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-14 15:26 -0700
                Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-15 17:14 +1200
                  Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-15 08:55 -0700
                    Re: If statement with initializer Gareth Owen <gwowen@gmail.com> - 2017-05-15 19:10 +0100
                      Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-16 04:29 -0700
                        Re: If statement with initializer Gareth Owen <gwowen@gmail.com> - 2017-05-16 18:46 +0100
                        Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-17 08:40 +1200
                          Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-19 19:07 -0700
                            Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-20 22:04 +1200
              Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-14 11:09 +0200
                Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-14 15:05 +0200
                Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-14 14:55 -0700
          Re: If statement with initializer Alan Mackenzie <acm@muc.de> - 2017-05-12 16:25 +0000
      Re: If statement with initializer joel.rees@gmail.com - 2017-05-10 16:45 -0700
    Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-11 05:07 -0700
      Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-11 05:10 -0700
        Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-11 14:29 +0200
        Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-15 12:55 +0000
          Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-15 08:37 -0700
            Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-15 23:03 +0200
              Re: If statement with initializer Richard Heathfield <rjh@cpax.org.uk> - 2017-05-15 22:12 +0100
                Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-15 23:29 +0200
                  Re: If statement with initializer Melzzzzz <Melzzzzz@zzzzz.com> - 2017-05-15 21:32 +0000
                    Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-16 12:23 +0200
                      Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-16 13:29 +0100
                        Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-16 14:48 +0200
                        Re: If statement with initializer Manfred <invalid@invalid.add> - 2017-05-17 00:22 +0200
                  Re: If statement with initializer Manfred <invalid@invalid.add> - 2017-05-16 01:27 +0200
                    Re: If statement with initializer supercat@casperkitty.com - 2017-05-15 16:34 -0700
                      Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-16 00:58 +0100
                        Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-16 12:32 +0200
                          Re: If statement with initializer supercat@casperkitty.com - 2017-05-16 08:59 -0700
                            Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-16 22:28 +0200
                              Re: If statement with initializer supercat@casperkitty.com - 2017-05-16 14:20 -0700
                    Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-17 10:24 -0700
                      Re: If statement with initializer supercat@casperkitty.com - 2017-05-17 10:42 -0700
                        Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-24 08:14 -0700
                  Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-16 17:31 +1200
                Re: If statement with initializer Melzzzzz <Melzzzzz@zzzzz.com> - 2017-05-15 21:31 +0000
                  Re: If statement with initializer Richard Heathfield <rjh@cpax.org.uk> - 2017-05-15 22:39 +0100
                Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-17 10:52 -0700
                  Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-17 23:14 +0200
                    Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-18 18:24 +1200
                    Re: If statement with initializer joel.rees@gmail.com - 2017-05-18 05:43 -0700
                      Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-18 15:13 +0200
                        Re: If statement with initializer joel.rees@gmail.com - 2017-05-18 08:52 -0700
                          Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-18 22:18 +0200
                          Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-19 08:29 +1200
                            Re: If statement with initializer DFS <nospam@dfs.com> - 2017-05-18 21:59 -0400
                              Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-19 19:30 +1200
                            Re: If statement with initializer scott@slp53.sl.home (Scott Lurndal) - 2017-05-19 12:34 +0000
                              Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-19 06:37 -0700
                          Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-18 22:09 -0500
                      Re: If statement with initializer scott@slp53.sl.home (Scott Lurndal) - 2017-05-18 13:59 +0000
                        Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-18 09:21 -0700
                      Re: If statement with initializer "James R. Kuyper" <jameskuyper@verizon.net> - 2017-05-18 12:55 -0400
                        Re: If statement with initializer joel.rees@gmail.com - 2017-05-19 01:17 -0700
                          Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-19 12:16 +0200
                            Re: If statement with initializer Richard Heathfield <rjh@cpax.org.uk> - 2017-05-19 11:58 +0100
                            Re: If statement with initializer joel.rees@gmail.com - 2017-05-20 03:20 -0700
                              Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-20 15:18 +0100
                              Re: If statement with initializer James Kuyper <jameskuyper@verizon.net> - 2017-05-20 10:55 -0400
                                Re: If statement with initializer joel.rees@gmail.com - 2017-05-21 01:29 -0700
                                  Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-21 20:39 +1200
                                    Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-21 14:15 +0200
                                  Re: If statement with initializer James Kuyper <jameskuyper@verizon.net> - 2017-05-21 15:29 -0400
                                    Re: If statement with initializer joel.rees@gmail.com - 2017-05-22 23:38 -0700
                                      Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-23 00:16 -0700
                                      Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-23 19:26 +1200
                                        Re: If statement with initializer joel.rees@gmail.com - 2017-05-23 16:25 -0700
                                          Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-24 20:38 +1200
                                      Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-23 09:33 +0200
                                      Re: If statement with initializer James Kuyper <jameskuyper@verizon.net> - 2017-05-23 08:00 -0400
                                      Re: If statement with initializer supercat@casperkitty.com - 2017-05-23 08:27 -0700
                                        Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-24 07:17 +1200
                                          Re: If statement with initializer supercat@casperkitty.com - 2017-05-23 12:28 -0700
                                            Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-24 10:04 +0200
                                          Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-24 16:30 +0000
                              Re: If statement with initializer "James R. Kuyper" <jameskuyper@verizon.net> - 2017-05-24 15:01 -0400
                                Re: If statement with initializer supercat@casperkitty.com - 2017-05-24 13:04 -0700
                                Re: If statement with initializer joel.rees@gmail.com - 2017-05-24 14:55 -0700
                                  Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-24 16:23 -0700
                            Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-21 18:01 +0000
                              Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-22 10:04 +0200
                            Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-24 08:10 -0700
                              Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-24 17:54 +0200
                          Re: If statement with initializer "James R. Kuyper" <jameskuyper@verizon.net> - 2017-05-19 12:39 -0400
                        Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-24 07:55 -0700
                Re: If statement with initializer Ike Naar <ike@iceland.freeshell.org> - 2017-05-17 21:14 +0000
                Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-21 17:34 +0000
                  Re: If statement with initializer Richard Heathfield <rjh@cpax.org.uk> - 2017-05-21 19:40 +0100
                    Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-22 10:13 +0200
              Re: If statement with initializer Gareth Owen <gwowen@gmail.com> - 2017-05-15 22:16 +0100
                Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-17 11:44 -0700
                  Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-17 23:30 +0200
                    Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-18 18:30 +1200
                    Re: If statement with initializer joel.rees@gmail.com - 2017-05-18 06:04 -0700
                      Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-18 17:29 +0200
                  Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-17 23:37 +0200
              Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-15 18:41 -0500
                Re: If statement with initializer "Chris M. Thomasson" <invalid@invalid.invalid> - 2017-05-15 17:39 -0700
                Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-16 12:35 +0200
                Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-17 11:50 -0700
          Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-15 19:17 +0200
            Re: If statement with initializer scott@slp53.sl.home (Scott Lurndal) - 2017-05-15 17:57 +0000
            Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-15 18:51 -0500
              Re: If statement with initializer scott@slp53.sl.home (Scott Lurndal) - 2017-05-16 13:17 +0000
                Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-16 14:29 +0100
                  Re: If statement with initializer scott@slp53.sl.home (Scott Lurndal) - 2017-05-16 14:50 +0000
                    Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-16 16:35 +0100
                      Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-16 17:33 +0100
                        Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-21 18:05 +0000
                Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-16 17:29 +0200
      Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-11 09:10 -0700
        Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-11 09:49 -0700
          Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-11 18:51 +0100
            Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-11 11:19 -0700
              Re: If statement with initializer scott@slp53.sl.home (Scott Lurndal) - 2017-05-11 18:31 +0000
          Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-11 11:59 -0700
            Re: If statement with initializer David Kleinecke <dkleinecke@gmail.com> - 2017-05-11 12:58 -0700
              Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-11 21:18 +0100
              Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-11 13:45 -0700
              Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-12 20:08 +1200
                Re: If statement with initializer Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-05-12 01:37 -0700
                  Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-12 12:08 +0100
                    Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-12 15:31 +0200
                      Re: If statement with initializer Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-05-12 07:03 -0700
                      Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-12 15:21 +0100
                        Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-12 17:06 +0200
                          Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-12 16:36 +0100
                      Re: If statement with initializer David Kleinecke <dkleinecke@gmail.com> - 2017-05-12 11:58 -0700
                        Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-14 17:03 +0200
                          Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-14 16:15 +0100
                            Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-14 23:25 +0200
                          Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-14 13:55 -0700
                            Re: If statement with initializer Gareth Owen <gwowen@gmail.com> - 2017-05-15 19:00 +0100
                      Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-14 13:38 +0000
                        Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-14 16:42 +0200
                        Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-14 17:07 +0200
                          Re: If statement with initializer Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-05-14 08:12 -0700
                            Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-14 23:27 +0200
                              Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-15 16:59 +1200
                                Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-15 11:33 +0200
                                Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-15 12:59 +0000
              Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-12 12:34 +0200
                Re: If statement with initializer David Kleinecke <dkleinecke@gmail.com> - 2017-05-12 11:48 -0700
                  Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-13 07:41 +1200
                    Re: If statement with initializer David Kleinecke <dkleinecke@gmail.com> - 2017-05-12 17:38 -0700
                  Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-13 01:23 +0200
                    Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-13 08:55 +0200
                      Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-13 13:24 +0200
                      Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-13 14:53 -0700
                  Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-14 17:10 +0200
          Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-15 12:56 +0000
            Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-15 07:15 -0700
      Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-11 13:49 -0500
        Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-11 21:57 +0200
          Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-11 13:11 -0700
            Re: If statement with initializer "Patrick.Schluter" <Patrick.Schluter@free.fr> - 2017-05-11 22:21 +0200
              Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-11 13:56 -0700
              Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-12 12:42 +0200
            Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-11 15:44 -0500
            Re: If statement with initializer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-11 23:13 +0100
          Re: If statement with initializer scott@slp53.sl.home (Scott Lurndal) - 2017-05-12 16:16 +0000
        Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-12 12:35 +0200
          Re: If statement with initializer Richard Heathfield <rjh@cpax.org.uk> - 2017-05-12 11:41 +0100
            Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-12 17:27 +0200
              Re: If statement with initializer Robert Wessel <robertwessel2@yahoo.com> - 2017-05-12 10:57 -0500
                Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-14 17:15 +0200
      Re: If statement with initializer joel.rees@gmail.com - 2017-05-12 06:55 -0700
    Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-15 12:35 +0000
      Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-16 07:41 +1200
        Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-15 21:46 +0200
        Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-15 21:36 +0100
          Re: If statement with initializer Thiago Adams <thiago.adams@gmail.com> - 2017-05-15 13:44 -0700
            Re: If statement with initializer jameskuyper@verizon.net - 2017-05-15 14:23 -0700
              Re: If statement with initializer supercat@casperkitty.com - 2017-05-15 14:36 -0700
                Re: If statement with initializer jameskuyper@verizon.net - 2017-05-15 15:27 -0700
                  Re: If statement with initializer supercat@casperkitty.com - 2017-05-15 16:21 -0700
                    Re: If statement with initializer jameskuyper@verizon.net - 2017-05-16 07:47 -0700
            Re: If statement with initializer GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-05-15 23:39 +0200
          Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-15 15:42 -0700
            Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-16 00:03 +0100
            Re: If statement with initializer Ian Collins <ian-news@hotmail.com> - 2017-05-16 17:33 +1200
              Re: If statement with initializer Richard Heathfield <rjh@cpax.org.uk> - 2017-05-16 12:03 +0100
          Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-16 14:34 +0200
            Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-16 14:20 +0100
              Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-16 17:37 +0200
                Re: If statement with initializer Keith Thompson <kst-u@mib.org> - 2017-05-16 09:10 -0700
                Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-16 17:26 +0100
                  Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-16 19:28 +0100
                    Re: If statement with initializer scott@slp53.sl.home (Scott Lurndal) - 2017-05-16 18:53 +0000
                      Re: If statement with initializer bartc <bc@freeuk.com> - 2017-05-16 20:17 +0100
                        Re: If statement with initializer scott@slp53.sl.home (Scott Lurndal) - 2017-05-16 20:03 +0000
                  Re: If statement with initializer David Brown <david.brown@hesbynett.no> - 2017-05-16 22:34 +0200
        Re: If statement with initializer supercat@casperkitty.com - 2017-05-15 14:24 -0700
        Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-24 20:49 +0000
          Re: If statement with initializer supercat@casperkitty.com - 2017-05-24 14:11 -0700
            Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-05-24 21:37 +0000
          Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-05-26 15:52 -0700
            Re: If statement with initializer raltbos@xs4all.nl (Richard Bos) - 2017-06-03 10:20 +0000
              Re: If statement with initializer Tim Rentsch <txr@alumni.caltech.edu> - 2017-06-05 13:50 -0700

Page 15 of 19 — ← Prev page 1 … 13 14 [15] 16 17 … 19  Next page →


#109772

FromKeith Thompson <kst-u@mib.org>
Date2017-05-11 11:59 -0700
Message-ID<lnh90r6wzl.fsf@kst-u.example.com>
In reply to#109764
Thiago Adams <thiago.adams@gmail.com> writes:
> On Thursday, May 11, 2017 at 1:10:59 PM UTC-3, Keith Thompson wrote:
>> Thiago Adams writes:
>> > On Wednesday, May 10, 2017 at 10:29:40 AM UTC-3, Thiago Adams wrote:
>> >> C++ 17, has now a new if.
>> > [...]
>> > One more:
>> >
>> > Single-Quotation-Mark as a Digit Separator
>> > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3781.pdf
>> >
>> > int i = 1'000'000;
>> >
>> > What I find weird is that the position of ' is not verified.
>> 
>> Verified how?
>> 
>> > "An integer literal is a sequence of digits that has no period or
>> > exponent part, with optional separating single quotes that are ignored
>> > when determining its value"
>> 
>> Separating every 3 digits, counting from the low-order digit, is not the
>> only possible pattern.  I believe that a different convention is used in
>> India (I don't remember the details).  In a context where the
>> conventional 3-digit grouping is desirable, any deviation should be
>> reasonably obvious to the reader.
>> 
>> And grouping by 4 digits is likely to be common for hexadecimal and
>> binary.
>> 
>> (I personally wish that the syntax had used underscores, but that was
>> precluded by C++ user-defined literals.)
>
> Yes, 3-digit grouping. 
> I guess the motivation was avoid mistakes. 
>
> If is just to see better, why not give the job for text editors?
> They can create some distinction on rendering.

Not everyone uses highlighting text editors.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

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


#109776

FromDavid Kleinecke <dkleinecke@gmail.com>
Date2017-05-11 12:58 -0700
Message-ID<303d9663-9bb1-4fe3-b4bb-8231bf6cc1b9@googlegroups.com>
In reply to#109772
On Thursday, May 11, 2017 at 11:59:21 AM UTC-7, Keith Thompson wrote:
> Thiago Adams <thiago.adams@gmail.com> writes:
> > On Thursday, May 11, 2017 at 1:10:59 PM UTC-3, Keith Thompson wrote:
> >> Thiago Adams writes:
> >> > On Wednesday, May 10, 2017 at 10:29:40 AM UTC-3, Thiago Adams wrote:
> >> >> C++ 17, has now a new if.
> >> > [...]
> >> > One more:
> >> >
> >> > Single-Quotation-Mark as a Digit Separator
> >> > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3781.pdf
> >> >
> >> > int i = 1'000'000;
> >> >
> >> > What I find weird is that the position of ' is not verified.
> >> 
> >> Verified how?
> >> 
> >> > "An integer literal is a sequence of digits that has no period or
> >> > exponent part, with optional separating single quotes that are ignored
> >> > when determining its value"
> >> 
> >> Separating every 3 digits, counting from the low-order digit, is not the
> >> only possible pattern.  I believe that a different convention is used in
> >> India (I don't remember the details).  In a context where the
> >> conventional 3-digit grouping is desirable, any deviation should be
> >> reasonably obvious to the reader.
> >> 
> >> And grouping by 4 digits is likely to be common for hexadecimal and
> >> binary.
> >> 
> >> (I personally wish that the syntax had used underscores, but that was
> >> precluded by C++ user-defined literals.)
> >
> > Yes, 3-digit grouping. 
> > I guess the motivation was avoid mistakes. 
> >
> > If is just to see better, why not give the job for text editors?
> > They can create some distinction on rendering.
> 
> Not everyone uses highlighting text editors.

A highlighting editor for C is essentially useless unless
it can recognize and highlight typedef names. That seems to
be something it would be possible to do. But I know of no
editor that does.

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


#109778

Frombartc <bc@freeuk.com>
Date2017-05-11 21:18 +0100
Message-ID<%F3RA.63702$qS3.32848@fx29.am4>
In reply to#109776
On 11/05/2017 20:58, David Kleinecke wrote:
> On Thursday, May 11, 2017 at 11:59:21 AM UTC-7, Keith Thompson wrote:
>> Thiago Adams <thiago.adams@gmail.com> writes:
>>> On Thursday, May 11, 2017 at 1:10:59 PM UTC-3, Keith Thompson wrote:
>>>> Thiago Adams writes:
>>>>> On Wednesday, May 10, 2017 at 10:29:40 AM UTC-3, Thiago Adams wrote:
>>>>>> C++ 17, has now a new if.
>>>>> [...]
>>>>> One more:
>>>>>
>>>>> Single-Quotation-Mark as a Digit Separator
>>>>> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3781.pdf
>>>>>
>>>>> int i = 1'000'000;
>>>>>
>>>>> What I find weird is that the position of ' is not verified.
>>>>
>>>> Verified how?
>>>>
>>>>> "An integer literal is a sequence of digits that has no period or
>>>>> exponent part, with optional separating single quotes that are ignored
>>>>> when determining its value"
>>>>
>>>> Separating every 3 digits, counting from the low-order digit, is not the
>>>> only possible pattern.  I believe that a different convention is used in
>>>> India (I don't remember the details).  In a context where the
>>>> conventional 3-digit grouping is desirable, any deviation should be
>>>> reasonably obvious to the reader.
>>>>
>>>> And grouping by 4 digits is likely to be common for hexadecimal and
>>>> binary.
>>>>
>>>> (I personally wish that the syntax had used underscores, but that was
>>>> precluded by C++ user-defined literals.)
>>>
>>> Yes, 3-digit grouping.
>>> I guess the motivation was avoid mistakes.
>>>
>>> If is just to see better, why not give the job for text editors?
>>> They can create some distinction on rendering.
>>
>> Not everyone uses highlighting text editors.
>
> A highlighting editor for C is essentially useless unless
> it can recognize and highlight typedef names. That seems to
> be something it would be possible to do. But I know of no
> editor that does.

I would have thought that it needed to recognise and expand macros too. 
But I'm not sure that's possible because that can depend on conditional 
code.

And not all conditions are known because some are external so the editor 
won't know about them. (They might be in a header the editor has no 
access to, or it hasn't been created yet, or they are a compiler option.)

-- 
bartc

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


#109781

FromThiago Adams <thiago.adams@gmail.com>
Date2017-05-11 13:45 -0700
Message-ID<61312604-0335-4621-b50c-d174ce73fa75@googlegroups.com>
In reply to#109776
On Thursday, May 11, 2017 at 4:58:15 PM UTC-3, David Kleinecke wrote:
[...]
> A highlighting editor for C is essentially useless unless
> it can recognize and highlight typedef names. That seems to
> be something it would be possible to do. But I know of no
> editor that does.

Yes they do this and much more.

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


#109808

FromIan Collins <ian-news@hotmail.com>
Date2017-05-12 20:08 +1200
Message-ID<enl8scF9o0pU3@mid.individual.net>
In reply to#109776
On 05/12/17 07:58 AM, David Kleinecke wrote:
>
> A highlighting editor for C is essentially useless unless
> it can recognize and highlight typedef names. That seems to
> be something it would be possible to do. But I know of no
> editor that does.

You haven't looked very hard then!

-- 
Ian

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


#109810

FromMalcolm McLean <malcolm.arthur.mclean@gmail.com>
Date2017-05-12 01:37 -0700
Message-ID<59a5aad7-11a4-41ab-b0a4-a7bc56b121b1@googlegroups.com>
In reply to#109808
On Friday, May 12, 2017 at 9:08:53 AM UTC+1, Ian Collins wrote:
> On 05/12/17 07:58 AM, David Kleinecke wrote:
> >
> > A highlighting editor for C is essentially useless unless
> > it can recognize and highlight typedef names. That seems to
> > be something it would be possible to do. But I know of no
> > editor that does.
> 
> You haven't looked very hard then!
> 
XCode's editor does a full semantic pass over C++ source.
You even have smart autocomplete - type structure variable,
and dot, and a list of members pops up.

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


#109825

Frombartc <bc@freeuk.com>
Date2017-05-12 12:08 +0100
Message-ID<dIgRA.34784$2i3.5432@fx38.am4>
In reply to#109810
On 12/05/2017 09:37, Malcolm McLean wrote:
> On Friday, May 12, 2017 at 9:08:53 AM UTC+1, Ian Collins wrote:
>> On 05/12/17 07:58 AM, David Kleinecke wrote:
>>>
>>> A highlighting editor for C is essentially useless unless
>>> it can recognize and highlight typedef names. That seems to
>>> be something it would be possible to do. But I know of no
>>> editor that does.
>>
>> You haven't looked very hard then!
>>
> XCode's editor does a full semantic pass over C++ source.
> You even have smart autocomplete - type structure variable,
> and dot, and a list of members pops up.

That's XCode.

What about a thousand other products that don't do that?

You can't decide whether or not to add a language feature based on the 
capabilities of a handful of smart editors.

That fact is that if I upload any C code to pastebin or github now, they 
won't insert separators in my numbers, even if the tool I use myself 
does so (it doesn't).

Sometime this is about making things easier for other people. If every 
shared fragment of C also came with a working XCode renderer so everyone 
could view the code in the same way, that would be great. But that isn't 
yet the case.

You would hope however that every text viewer could show ASCII.

-- 
bartc

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


#109830

FromDavid Brown <david.brown@hesbynett.no>
Date2017-05-12 15:31 +0200
Message-ID<of4d98$bj8$1@dont-email.me>
In reply to#109825
On 12/05/17 13:08, bartc wrote:
> On 12/05/2017 09:37, Malcolm McLean wrote:
>> On Friday, May 12, 2017 at 9:08:53 AM UTC+1, Ian Collins wrote:
>>> On 05/12/17 07:58 AM, David Kleinecke wrote:
>>>>
>>>> A highlighting editor for C is essentially useless unless
>>>> it can recognize and highlight typedef names. That seems to
>>>> be something it would be possible to do. But I know of no
>>>> editor that does.
>>>
>>> You haven't looked very hard then!
>>>
>> XCode's editor does a full semantic pass over C++ source.
>> You even have smart autocomplete - type structure variable,
>> and dot, and a list of members pops up.
> 
> That's XCode.
> 
> What about a thousand other products that don't do that?

What about the dozens of other editors that /do/ have something similar?
 The ones that most professional programmers use all the time (Eclipse,
MSVS, Netbeans, emacs, vim, CLion, jedit, programmer's notepad,
notepad++, etc.) have excellent C syntax highlighting.  I can't tell you
off-hand if they /all/ highlight typedef names, but I expect they do.

> 
> You can't decide whether or not to add a language feature based on the
> capabilities of a handful of smart editors.

"Add a language feature"?  How long has C had typedef?  40 years?

And if you are working as a programmer and don't have a decent editor,
it is /your/ fault.

> 
> That fact is that if I upload any C code to pastebin or github now, they
> won't insert separators in my numbers, even if the tool I use myself
> does so (it doesn't).

I believe you have got your Usenet sub-threads mixed up.  The issue here
is David K's absurd idea that there are no editors that highlight
typedef names.

Syntax highlighting of new features /is/ an issue - you are right there.
 In particular, when adding a new language feature it is helpful if
existing popular editors do not mark it as a syntax error.

If ' were added to C as a digit separator, it would probably not take
long before leading editors and websites accepted it - after all, they
accept it in C++.

> 
> Sometime this is about making things easier for other people. If every
> shared fragment of C also came with a working XCode renderer so everyone
> could view the code in the same way, that would be great. But that isn't
> yet the case.
> 
> You would hope however that every text viewer could show ASCII.
> 

Do you know of any that can't?

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


#109832

FromMalcolm McLean <malcolm.arthur.mclean@gmail.com>
Date2017-05-12 07:03 -0700
Message-ID<67639939-6c69-4741-95de-84ed6a62adeb@googlegroups.com>
In reply to#109830
On Friday, May 12, 2017 at 2:31:34 PM UTC+1, David Brown wrote:
> 
> And if you are working as a programmer and don't have a decent editor,
> it is /your/ fault.
> 
Not always.
For example I'm paying around with someone else's C interpreter at the
moment (for a new language). So I have to enter C source for it to interpret
somehow, which is easiest as embedded string literals. Needless to say, the
editor won't offer editing support for code in strings.


> > 
> > That fact is that if I upload any C code to pastebin or github now, they
> > won't insert separators in my numbers, even if the tool I use myself
> > does so (it doesn't).

> Syntax highlighting of new features /is/ an issue - you are right there.
>  In particular, when adding a new language feature it is helpful if
> existing popular editors do not mark it as a syntax error.
> 
That's a real problem. So too when there's a bug in the editor's parser,
as happens a bit with XCode.

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


#109834

Frombartc <bc@freeuk.com>
Date2017-05-12 15:21 +0100
Message-ID<wxjRA.10626$rh7.5193@fx46.am4>
In reply to#109830
On 12/05/2017 14:31, David Brown wrote:
> On 12/05/17 13:08, bartc wrote:

>> You would hope however that every text viewer could show ASCII.
>>
>
> Do you know of any that can't?

I mention that because I've used displays that were upper case, so a..z, 
{ and }, and some punctuation would be missing. A bit of a problem for C 
source.

They've always managed "$" however.

-- 
bartc

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


#109838

FromDavid Brown <david.brown@hesbynett.no>
Date2017-05-12 17:06 +0200
Message-ID<of4ir3$8gf$2@dont-email.me>
In reply to#109834
On 12/05/17 16:21, bartc wrote:
> On 12/05/2017 14:31, David Brown wrote:
>> On 12/05/17 13:08, bartc wrote:
> 
>>> You would hope however that every text viewer could show ASCII.
>>>
>>
>> Do you know of any that can't?
> 
> I mention that because I've used displays that were upper case, so a..z,
> { and }, and some punctuation would be missing. A bit of a problem for C
> source.

From what century?

I have used displays that could not use colour syntax highlighting
because they were black and white - but I don't consider it a big
problem these days.

> 
> They've always managed "$" however.
> 

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


#109841

Frombartc <bc@freeuk.com>
Date2017-05-12 16:36 +0100
Message-ID<ZDkRA.55$8D3.4@fx11.am4>
In reply to#109838
On 12/05/2017 16:06, David Brown wrote:
> On 12/05/17 16:21, bartc wrote:
>> On 12/05/2017 14:31, David Brown wrote:
>>> On 12/05/17 13:08, bartc wrote:
>>
>>>> You would hope however that every text viewer could show ASCII.
>>>>
>>>
>>> Do you know of any that can't?
>>
>> I mention that because I've used displays that were upper case, so a..z,
>> { and }, and some punctuation would be missing. A bit of a problem for C
>> source.
>
> From what century?

Twentieth. More recently than when C was created anyway. In 1976 I was 
using ASR33s for example.

Ancient stuff but then people are always going on about some feature of 
C being that way otherwise it wouldn't work on hardware that's been 
obsolete for decades.


> I have used displays that could not use colour syntax highlighting
> because they were black and white - but I don't consider it a big
> problem these days.

That must have been a binary black and white video board I guess; the 
display itself was probably monochrome. (I used to watch snooker on my 
9" green-screen NEC monitor and it was easy to see which ball was which.)

-- 
bartc

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


#109852

FromDavid Kleinecke <dkleinecke@gmail.com>
Date2017-05-12 11:58 -0700
Message-ID<29771a15-b754-4d32-abcb-40433ad9be92@googlegroups.com>
In reply to#109830
On Friday, May 12, 2017 at 6:31:34 AM UTC-7, David Brown wrote:
> On 12/05/17 13:08, bartc wrote:

> I believe you have got your Usenet sub-threads mixed up.  The issue here
> is David K's absurd idea that there are no editors that highlight
> typedef names.
 
You are treating me as having far too much poser. All I
said was I didn't know of any. 

That is your cue to make me better informed. I don't pretend
to know everything. All I knew about XCode was that it was an
Apple-oriented product. I still don't take Apple seriously.

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


#109956

FromDavid Brown <david.brown@hesbynett.no>
Date2017-05-14 17:03 +0200
Message-ID<of9rde$1l5$1@dont-email.me>
In reply to#109852
On 12/05/17 20:58, David Kleinecke wrote:
> On Friday, May 12, 2017 at 6:31:34 AM UTC-7, David Brown wrote:
>> On 12/05/17 13:08, bartc wrote:
>
>> I believe you have got your Usenet sub-threads mixed up.  The issue here
>> is David K's absurd idea that there are no editors that highlight
>> typedef names.
>
> You are treating me as having far too much poser. All I
> said was I didn't know of any.
>

Fair enough.  I apologise for being unnecessarily rude.

> That is your cue to make me better informed.

I and others have already given suggestions of some very popular free 
editors that highlight typedefs - I hope that is sufficient, since 
discussions of the pros and cons of different editors and IDE's is 
off-topic here.  Suffice to say that most modern IDE's or editors that 
parse C syntax will be able to highlight typedefs.

> I don't pretend
> to know everything. All I knew about XCode was that it was an
> Apple-oriented product. I still don't take Apple seriously.
>

XCode is, AFAIK, an IDE for Apple MacOS.  I don't use Macs myself so I 
can't tell you much about it.

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


#109963

Frombartc <bc@freeuk.com>
Date2017-05-14 16:15 +0100
Message-ID<2w_RA.104915$dV7.4789@fx35.am4>
In reply to#109956
On 14/05/2017 16:03, David Brown wrote:
> On 12/05/17 20:58, David Kleinecke wrote:
>> On Friday, May 12, 2017 at 6:31:34 AM UTC-7, David Brown wrote:
>>> On 12/05/17 13:08, bartc wrote:
>>
>>> I believe you have got your Usenet sub-threads mixed up.  The issue here
>>> is David K's absurd idea that there are no editors that highlight
>>> typedef names.
>>
>> You are treating me as having far too much poser. All I
>> said was I didn't know of any.
>>
>
> Fair enough.  I apologise for being unnecessarily rude.
>
>> That is your cue to make me better informed.
>
> I and others have already given suggestions of some very popular free
> editors that highlight typedefs - I hope that is sufficient, since
> discussions of the pros and cons of different editors and IDE's is
> off-topic here.  Suffice to say that most modern IDE's or editors that
> parse C syntax will be able to highlight typedefs.

How do you get github to highlight typedefs?

Assuming it manages it, how will it get access to the nested include 
file where the typedef is actually defined? Or to the compile-time 
macros that specify whether something should be a typedef? Where does it 
look to find the standard C headers? As these are not usually part of a 
project.

The general problem is quite difficult I think, and involves doing a 
full parse of source code as though it was being compiled. But it can 
also be specific to a compiler.

-- 
bartc

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


#109986

FromDavid Brown <david.brown@hesbynett.no>
Date2017-05-14 23:25 +0200
Message-ID<ofahqq$qbt$1@dont-email.me>
In reply to#109963
On 14/05/17 17:15, bartc wrote:
> On 14/05/2017 16:03, David Brown wrote:
>> On 12/05/17 20:58, David Kleinecke wrote:
>>> On Friday, May 12, 2017 at 6:31:34 AM UTC-7, David Brown wrote:
>>>> On 12/05/17 13:08, bartc wrote:
>>>
>>>> I believe you have got your Usenet sub-threads mixed up.  The issue
>>>> here
>>>> is David K's absurd idea that there are no editors that highlight
>>>> typedef names.
>>>
>>> You are treating me as having far too much poser. All I
>>> said was I didn't know of any.
>>>
>>
>> Fair enough.  I apologise for being unnecessarily rude.
>>
>>> That is your cue to make me better informed.
>>
>> I and others have already given suggestions of some very popular free
>> editors that highlight typedefs - I hope that is sufficient, since
>> discussions of the pros and cons of different editors and IDE's is
>> off-topic here.  Suffice to say that most modern IDE's or editors that
>> parse C syntax will be able to highlight typedefs.
>
> How do you get github to highlight typedefs?

I don't know - I haven't tried.

>
> Assuming it manages it, how will it get access to the nested include
> file where the typedef is actually defined? Or to the compile-time
> macros that specify whether something should be a typedef? Where does it
> look to find the standard C headers? As these are not usually part of a
> project.

If an editor, IDE, or other syntax highligher cannot get access to all 
the headers involved, along with known pre-defined macros for the C 
implementation, then at least some aspects of the syntax highlighting 
are going to be limited.

But for editing source code, at least for serious work, it is rarely a 
problem to have a decent IDE or editor that /can/ see all the include 
files, and can be appropriately configured to match the compilation 
environment.  I can't tell you if /all/ such tools highlight typedefs - 
but I know that many do, and that even without that one feature, the 
syntax highlighting, online error indications, auto-completions, and 
other tools can save a great deal of effort.

>
> The general problem is quite difficult I think, and involves doing a
> full parse of source code as though it was being compiled. But it can
> also be specific to a compiler.
>

Yes, it involves a good bit of work.  It makes sense for a large 
programmers' editor, but not for a simple highlighter.

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


#109979

FromKeith Thompson <kst-u@mib.org>
Date2017-05-14 13:55 -0700
Message-ID<ln60h35faq.fsf@kst-u.example.com>
In reply to#109956
David Brown <david.brown@hesbynett.no> writes:
[...]
> I and others have already given suggestions of some very popular free 
> editors that highlight typedefs - I hope that is sufficient, since 
> discussions of the pros and cons of different editors and IDE's is 
> off-topic here.  Suffice to say that most modern IDE's or editors that 
> parse C syntax will be able to highlight typedefs.

I don't generally use syntax highlighting myself, but I tried several
editors that do it (gvim, emacs, jedit, gedit).  When editing a
source file containing:

    typedef int Integer;
    Integer x = 42;
    int n = 100;

emacs and gvim both highlight "Integer" and "int" in the same way --
and continue to do so if the typedef is commented out.  jedit and
gedit don't highlight "Integer" at all.  (It's entirely possible
there are some settings I don't know about that would affect this
behavior.)

My guess is that emacs and gvim use some kind of heuristic to guess that
"Integer" is probably a type name, rather than processing the typedef
declaration.  Such a heuristic probably works well enough, given that
the consequences of guessing wrong are not terribly serious.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

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


#110060

FromGareth Owen <gwowen@gmail.com>
Date2017-05-15 19:00 +0100
Message-ID<87r2zq3sqk.fsf@gmail.com>
In reply to#109979
Keith Thompson <kst-u@mib.org> writes:

> My guess is that emacs and gvim use some kind of heuristic to guess that
> "Integer" is probably a type name, rather than processing the typedef
> declaration.

I can't speak to gvim, but that's exactly what emacs does.

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


#109946

Fromraltbos@xs4all.nl (Richard Bos)
Date2017-05-14 13:38 +0000
Message-ID<59185d9e.5121906@news.xs4all.nl>
In reply to#109830
David Brown <david.brown@hesbynett.no> wrote:

> On 12/05/17 13:08, bartc wrote:

> > You can't decide whether or not to add a language feature based on the
> > capabilities of a handful of smart editors.
> 
> "Add a language feature"?  How long has C had typedef?  40 years?
> 
> And if you are working as a programmer and don't have a decent editor,
> it is /your/ fault.

Erm.

Sometimes it's your employer's fault.

We're not all so wealthy that we can afford to _choose_ our boss.

Richard

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


#109955

FromGOTHIER Nathan <nathan.gothier@gmail.com>
Date2017-05-14 16:42 +0200
Message-ID<20170514164221.769745dcccf86cb56088cca0@gmail.com>
In reply to#109946
On Sun, 14 May 2017 13:38:12 GMT
raltbos@xs4all.nl (Richard Bos) wrote:

> We're not all so wealthy that we can afford to _choose_ our boss.

Let me guess your boss bought your services at the slave bazaar. :o)

Anyway in my view, vi is a minimal decent editor to write code or documentation.

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


Page 15 of 19 — ← Prev page 1 … 13 14 [15] 16 17 … 19  Next page →

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


csiph-web