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


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

Do "C" arrays start a 0 or 1?

Started byT <T@invalid.invalid>
First post2019-12-31 20:08 -0800
Last post2020-01-21 16:44 +0100
Articles 20 on this page of 193 — 20 participants

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


Contents

  Do "C" arrays start a 0 or 1? T <T@invalid.invalid> - 2019-12-31 20:08 -0800
    Re: Do "C" arrays start a 0 or 1? Paul <nospam@needed.invalid> - 2019-12-31 23:50 -0500
    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-01 03:28 -0800
      Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-01 03:49 -0800
      Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-01 13:26 +0100
        Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-01 04:34 -0800
          Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-01 13:56 +0100
            Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-01 05:04 -0800
              Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-01 14:18 +0100
                Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-01 13:21 +0000
                  Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-01 14:26 +0100
            Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-01 13:19 +0000
              Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-01 14:24 +0100
                Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-01 14:56 +0000
                  Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-01 16:06 +0100
                    Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-01 15:44 +0000
                      Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-01 16:54 +0100
                        Re: Do "C" arrays start a 0 or 1? chad <cdalten@gmail.com> - 2020-01-01 08:07 -0800
            Re: Do "C" arrays start a 0 or 1? Dan Purgert <dan@djph.net> - 2020-01-01 14:19 +0000
              Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-01 15:28 +0100
                Re: Do "C" arrays start a 0 or 1? Dan Purgert <dan@djph.net> - 2020-01-02 11:06 +0000
    Re: Do "C" arrays start a 0 or 1? David Brown <david.brown@hesbynett.no> - 2020-01-02 10:19 +0100
      Re: Do "C" arrays start a 0 or 1? gazelle@shell.xmission.com (Kenny McCormack) - 2020-01-02 13:33 +0000
        Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-02 13:55 +0000
          Raku (Was: Do "C" arrays start a 0 or 1?) gazelle@shell.xmission.com (Kenny McCormack) - 2020-01-02 14:48 +0000
        Re: Do "C" arrays start a 0 or 1? David Brown <david.brown@hesbynett.no> - 2020-01-02 15:03 +0100
          Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-02 06:18 -0800
    Re: Do "C" arrays start a 0 or 1? m.nasim85@gmail.com - 2020-01-02 01:26 -0800
    Re: Do "C" arrays start a 0 or 1? F Russell <fr@random.info> - 2020-01-05 19:32 +0000
      Re: Do "C" arrays start a 0 or 1? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-01-05 12:25 -0800
        Re: Do "C" arrays start a 0 or 1? F Russell <fr@random.info> - 2020-01-07 00:33 +0000
          Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-07 01:11 +0000
            Re: Do "C" arrays start a 0 or 1? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-01-06 22:32 -0800
              Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-07 10:08 +0000
                Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-07 06:24 -0800
                  Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-07 06:30 -0800
                    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-07 06:42 -0800
                      Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-07 12:47 -0800
                        Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-07 21:20 +0000
                          Re: Do "C" arrays start a 0 or 1? gazelle@shell.xmission.com (Kenny McCormack) - 2020-01-07 21:53 +0000
                            Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-07 14:01 -0800
                              Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-07 14:22 -0800
                                Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-07 22:31 +0000
                                  Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-08 00:27 -0800
                                  Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-08 08:13 -0800
                  Re: Do "C" arrays start a 0 or 1? chad <cdalten@gmail.com> - 2020-01-07 06:33 -0800
                    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-07 06:38 -0800
                      Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-07 06:49 -0800
                  Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-07 16:38 +0000
                    Re: Do "C" arrays start a 0 or 1? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-01-07 10:31 -0800
                      Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-07 10:44 -0800
                      Re: Do "C" arrays start a 0 or 1? David Brown <david.brown@hesbynett.no> - 2020-01-07 19:54 +0100
                      Re: Do "C" arrays start a 0 or 1? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-01-11 10:24 -0800
                        Re: Do "C" arrays start a 0 or 1? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-01-11 14:23 -0800
                          Re: Do "C" arrays start a 0 or 1? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-01-21 04:21 -0800
                            Re: Do "C" arrays start a 0 or 1? James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-01-21 05:06 -0800
                    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-07 10:59 -0800
                      Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-07 19:21 +0000
                        Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-07 11:36 -0800
          Re: Do "C" arrays start a 0 or 1? Barry Schwarz <schwarzb@delq.com> - 2020-01-06 18:02 -0800
            Re: Do "C" arrays start a 0 or 1? David Brown <david.brown@hesbynett.no> - 2020-01-07 10:55 +0100
          Re: Do "C" arrays start a 0 or 1? James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-01-06 23:34 -0500
          Re: Do "C" arrays start a 0 or 1? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-01-06 22:30 -0800
      Re: Do "C" arrays start a 0 or 1? Richard Damon <Richard@Damon-Family.org> - 2020-01-05 16:30 -0500
        Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-06 02:07 -0800
          Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-06 07:57 -0800
    Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-07 08:03 +0100
      Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-07 08:11 +0100
      Re: Do "C" arrays start a 0 or 1? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-01-07 10:09 +0000
        Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-07 11:12 +0100
      Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-07 11:09 +0000
        Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-07 13:45 +0100
          Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-07 13:06 +0000
            Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-07 14:14 +0100
              Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-07 16:27 +0000
                Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-07 17:53 +0100
                Re: Do "C" arrays start a 0 or 1? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-01-07 08:55 -0800
        Re: Do "C" arrays start a 0 or 1? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-01-07 05:19 -0800
        Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-11 19:11 +0100
          Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-11 19:09 +0000
            Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-11 20:18 +0100
              Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-11 20:00 +0000
                Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 07:02 +0100
                  Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 00:32 -0800
                    Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 09:38 +0100
                      Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 01:09 -0800
                        Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 10:48 +0100
                          Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 01:57 -0800
                            Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 11:02 +0100
                              Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 02:09 -0800
                                Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 12:45 +0100
                                  Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 03:54 -0800
                                    Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 13:13 +0100
                                      Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 04:35 -0800
                                        Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 13:38 +0100
                                        Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 04:44 -0800
                                          Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 13:49 +0100
                                            Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 04:59 -0800
                                              Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 14:03 +0100
                                                Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 05:21 -0800
                                                  Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 14:35 +0100
                                                    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 05:46 -0800
                                                      Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 15:11 +0100
                                                        Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 06:41 -0800
                                                          Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 16:15 +0100
                                                            Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 08:11 -0800
                                                              Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 08:19 -0800
                                                                Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 17:42 +0100
                                                              Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 17:40 +0100
                                                                Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 09:04 -0800
                                                                  Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 18:05 +0100
                                                                  Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 09:13 -0800
                                                                    Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 18:16 +0100
                                                                      Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 09:25 -0800
                                                                        Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 18:26 +0100
                                                                    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 09:21 -0800
                                                                      Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 18:25 +0100
                                                                      Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 09:31 -0800
                                                                        Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 18:33 +0100
                                            Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-12 13:21 +0000
                                              Re: Do "C" arrays start a 0 or 1? David Brown <david.brown@hesbynett.no> - 2020-01-13 09:16 +0100
                                                Re: Do "C" arrays start a 0 or 1? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-01-13 04:28 -0800
                                                  Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-13 13:36 +0100
                                                  Re: Do "C" arrays start a 0 or 1? Öö Tiib <ootiib@hot.ee> - 2020-01-13 04:39 -0800
                                                    Re: Do "C" arrays start a 0 or 1? David Brown <david.brown@hesbynett.no> - 2020-01-13 15:22 +0100
                                                  Re: Do "C" arrays start a 0 or 1? James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-01-13 05:10 -0800
                                                    Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-13 15:10 +0100
                                                      Re: Do "C" arrays start a 0 or 1? James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-01-13 07:31 -0800
                                                        Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-13 16:34 +0100
                                                    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 06:59 -0800
                                                      Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-13 16:32 +0100
                                                        Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-13 17:17 +0100
                                                        Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-13 18:13 +0100
                                                          Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 09:19 -0800
                                                            Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-13 18:22 +0100
                                                              Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 09:29 -0800
                                                                Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-13 18:34 +0100
                                                                  Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 09:40 -0800
                                                                    Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-13 18:42 +0100
                                                                      Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 09:56 -0800
                                                                        Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-13 19:19 +0100
                                                                          Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 10:21 -0800
                                                                            Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-13 19:25 +0100
                                                                              Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 10:46 -0800
                                                      Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 08:02 -0800
                                                        Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-15 01:04 -0800
                                                          Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-15 01:25 -0800
                                                            Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-15 06:37 -0800
                                                              Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-15 10:49 -0800
                                                              Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-02-04 01:15 -0800
                                                                Re: Do "C" arrays start a 0 or 1? Siri Cruise <chine.bleu@yahoo.com> - 2020-02-04 01:48 -0800
                                                                  Re: Do "C" arrays start a 0 or 1? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-02-04 02:29 -0800
                                                                Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-02-04 03:05 -0800
                                                                  Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-02-04 04:07 -0800
                                                                    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-02-04 04:59 -0800
                                                      Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 08:51 -0800
                                                  Re: Do "C" arrays start a 0 or 1? David Brown <david.brown@hesbynett.no> - 2020-01-13 15:19 +0100
                                                    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 06:47 -0800
                                                    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 06:51 -0800
                                                    Re: Do "C" arrays start a 0 or 1? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-01-13 09:35 -0800
                                                      Re: Do "C" arrays start a 0 or 1? David Brown <david.brown@hesbynett.no> - 2020-01-13 21:48 +0100
                                                        Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 12:54 -0800
                                                          Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-13 13:38 -0800
                                                        Re: Do "C" arrays start a 0 or 1? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-01-14 02:30 -0800
                                                          Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-14 02:40 -0800
                                                            Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-14 02:47 -0800
                                                              Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-14 03:52 -0800
                                                                Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-14 04:00 -0800
                                                          Re: Do "C" arrays start a 0 or 1? David Brown <david.brown@hesbynett.no> - 2020-01-14 14:20 +0100
                              Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 02:21 -0800
                                Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 12:50 +0100
                                  Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 04:14 -0800
                              Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-12 14:23 +0000
                                Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 16:16 +0100
                                  Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 08:13 -0800
                                    Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 17:43 +0100
                                  Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-12 17:42 +0000
                                    Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 18:43 +0100
                                    Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-12 18:04 +0000
                                      Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 19:31 +0100
                                        Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-12 21:18 +0000
                                          Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 13:53 -0800
                                      Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 19:36 +0100
                                        Re: Do "C" arrays start a 0 or 1? Bart <bc@freeuk.com> - 2020-01-12 20:56 +0000
                                    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 10:04 -0800
                            Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 02:05 -0800
                              Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 12:43 +0100
                                Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 03:46 -0800
                                  Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 12:51 +0100
                                    Re: Do "C" arrays start a 0 or 1? fir <profesor.fir@gmail.com> - 2020-01-12 03:58 -0800
                                      Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-12 13:14 +0100
      Re: Do "C" arrays start a 0 or 1? gazelle@shell.xmission.com (Kenny McCormack) - 2020-01-07 13:03 +0000
    Re: Do "C" arrays start a 0 or 1? Bonita Montero <Bonita.Montero@gmail.com> - 2020-01-21 16:44 +0100

Page 1 of 10  [1] 2 3 … 10  Next page →


#148634 — Do "C" arrays start a 0 or 1?

FromT <T@invalid.invalid>
Date2019-12-31 20:08 -0800
SubjectDo "C" arrays start a 0 or 1?
Message-ID<quh608$321$1@dont-email.me>
Hi C Guys,

Not to ask to stupid a question (when does that stop
me?), but does the default index for C arrays start
at zero or one?

Many thanks,
-T

[toc] | [next] | [standalone]


#148635

FromPaul <nospam@needed.invalid>
Date2019-12-31 23:50 -0500
Message-ID<quh8es$1b33$1@gioia.aioe.org>
In reply to#148634
T wrote:
> Hi C Guys,
> 
> Not to ask to stupid a question (when does that stop
> me?), but does the default index for C arrays start
> at zero or one?
> 
> Many thanks,
> -T

Toss the subject of your post into Google,
and it's practically the first returned result.

https://en.wikibooks.org/wiki/C_Programming/Arrays_and_strings

   "int point[6]={0,0,1,0,0,0};

    Arrays in C are indexed starting at 0,
    as opposed to starting at 1.

    The first element of the array above is point[0].

    The index to the last value in the array is the array size minus one.

    In the example above the subscripts run from 0 through 5.

    C does not guarantee bounds checking on array accesses.
   "

There are other languages that do check bounds, at some "cost".

In C, it probably pays at some point in your career,
to look with a debugger or use some other method, to
see how allocations are laid out, and what risks you
run with being careless... Various packing behaviors
are undoubtedly covered by the Standard, but there's nothing
like learning up close and personal, how storage of
these things work. My experience with small programming
tasks at work, was most of the time it was "now
why did it do that?" when it came to the topic
of packing things. Talking to the real software
guys in the group, they could justify why it did
what it did.

It's sorta like writing answers in an Economics 100
class, where everything you write up is marked "wrong"
by the marker. But somehow, you still manage to pass
the course. Some topics have no predictability at all.

    Paul

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


#148637

Fromfir <profesor.fir@gmail.com>
Date2020-01-01 03:28 -0800
Message-ID<ef6ab156-80a6-4df0-8c08-1881ad7cc3e2@googlegroups.com>
In reply to#148634
W dniu środa, 1 stycznia 2020 05:08:49 UTC+1 użytkownik T napisał:
> Hi C Guys,
> 
> Not to ask to stupid a question (when does that stop
> me?), but does the default index for C arrays start
> at zero or one?
> 
> Many thanks,
> -T

if posting stupid questions does stop you you may become a troll that makes crap of this group ..we already have some annoying idiot here whom nothing stopped from public his religious crap. comp.programkming is mass floded by another one (which will go stright to hell imo)

besides you may ask extremaly lame questions from time to time but the thing is simply not to do too much of it


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


#148638

Fromfir <profesor.fir@gmail.com>
Date2020-01-01 03:49 -0800
Message-ID<b43da8a0-3d2a-48fc-941f-14fe4b271bb1@googlegroups.com>
In reply to#148637
W dniu środa, 1 stycznia 2020 12:28:19 UTC+1 użytkownik fir napisał:
> W dniu środa, 1 stycznia 2020 05:08:49 UTC+1 użytkownik T napisał:
> > Hi C Guys,
> > 
> > Not to ask to stupid a question (when does that stop
> > me?), but does the default index for C arrays start
> > at zero or one?
> > 
> > Many thanks,
> > -T
> 
> if posting stupid questions does stop you you may become a troll that makes crap of this group ..we already have some annoying idiot here whom nothing stopped from public his religious crap. comp.programkming is mass floded by another one (which will go stright to hell imo)
> 
> besides you may ask extremaly lame questions from time to time but the thing is simply not to do too much of it

note in fact this is more on amount than on kind (as hegel says (?) quantity transits into quality)

anybody sorta asks and talk specific questions, and variaty, diversity is good 
(unles it is something really braindamaging, iq 40) but the monopolisation by some qtupid crap becomes somm very bad and harmfull to the potentially scientific or entertaining  (etc) aura of the potential blossom of this group

as for now youre ok

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


#148639

FromBonita Montero <Bonita.Montero@gmail.com>
Date2020-01-01 13:26 +0100
Message-ID<qui35j$3m0$2@news.albasani.net>
In reply to#148637
>> Hi C Guys,
>> Not to ask to stupid a question (when does that stop
>> me?), but does the default index for C arrays start
>> at zero or one?
>> Many thanks,
>> -T

> if posting stupid questions does stop you you may become a troll that makes crap of this group

LOL, a troll calls another troll a troll.

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


#148640

Fromfir <profesor.fir@gmail.com>
Date2020-01-01 04:34 -0800
Message-ID<c90c269f-c6fc-4ce3-9e8f-f55bed76579c@googlegroups.com>
In reply to#148639
W dniu środa, 1 stycznia 2020 13:26:34 UTC+1 użytkownik Bonita Montero napisał:
> >> Hi C Guys,
> >> Not to ask to stupid a question (when does that stop
> >> me?), but does the default index for C arrays start
> >> at zero or one?
> >> Many thanks,
> >> -T
> 
> > if posting stupid questions does stop you you may become a troll that makes crap of this group
> 
> LOL, a troll calls another troll a troll.

lol, crazy bonita says that

you come here with your primitive attacks like you would live in jungle, then write out your primitive postulates that you belive c++ is better than you call me trll again... objectively i was quite sure you 10 times more suitable to be named a troll than me (at least for some days as this trolling atatck becoume contagious and you may put someone into trolling state just by trolling him like you troll me

anyway, to be honest i think your to far not enough intelligent to talk with me..youre citizem of comp.lang.c++ and youre far behind there ;c 

(what i mostly do wrong i agrre is a lot of mistypes and that kind of errors, but that would be mostly all)

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


#148641

FromBonita Montero <Bonita.Montero@gmail.com>
Date2020-01-01 13:56 +0100
Message-ID<qui4tf$uis$1@news.albasani.net>
In reply to#148640
> you come here with your primitive attacks like you would live in jungle, then write out your primitive postulates that you belive c++ is better than you call me trll again... 

You Think that your tastes regarding computer-languages is rationally
justified; it isn't. C is an ugly language because you have to write
a huge amount of boilerplate-code with it. if you use C++ correctly
there's much less code to write and it is much more maintainable.
And that's not trollery.
C is just a good language to learn lowlevel systems-programming.
In practice it should be mostly abandonned.

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


#148642

Fromfir <profesor.fir@gmail.com>
Date2020-01-01 05:04 -0800
Message-ID<2512f4e1-b23b-4679-9333-ce7bb5d77dd2@googlegroups.com>
In reply to#148641
W dniu środa, 1 stycznia 2020 13:56:24 UTC+1 użytkownik Bonita Montero napisał:
> > you come here with your primitive attacks like you would live in jungle, then write out your primitive postulates that you belive c++ is better than you call me trll again... 
> 
> You Think that your tastes regarding computer-languages is rationally
> justified; it isn't. C is an ugly language because you have to write
> a huge amount of boilerplate-code with it. if you use C++ correctly
> there's much less code to write and it is much more maintainable.
> And that's not trollery.
> C is just a good language to learn lowlevel systems-programming.
> In practice it should be mostly abandonned.

you write out your belifs, anybody know you do that

it was noticed here that some people who answered to you including me knows it is strictly untrue

technically you should give exemple and prooof on it shoiwng some app taht is well written in c++ against well written c code and compare that boilerplate and your fale opinion that c does not allo wto structurize code in beautifull clean way - but im bored to do that, you probably hust should limit your mania of repaeating things becouse otherwise you will flod this group with dumb content of low iq lewel and we gotta better things to do here

wana more leisure talc you could find me and my group of pirates/renergades here 
 https://bramka.pirc.pl/bramka/grunge/?addons=mcolor

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


#148643

FromBonita Montero <Bonita.Montero@gmail.com>
Date2020-01-01 14:18 +0100
Message-ID<qui66k$rju$1@news.albasani.net>
In reply to#148642
>> You Think that your tastes regarding computer-languages is rationally
>> justified; it isn't. C is an ugly language because you have to write
>> a huge amount of boilerplate-code with it. if you use C++ correctly
>> there's much less code to write and it is much more maintainable.
>> And that's not trollery.
>> C is just a good language to learn lowlevel systems-programming.
>> In practice it should be mostly abandonned.

> you write out your belifs, ...

No, that are facts. OOP, RAII, templates and exceptions minimize
code and make it more maintainable.
Because you ask a lot of dumb questions and make stupid proposals
to enhance C you're disqualified to join the conversation on that.

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


#148645

FromBart <bc@freeuk.com>
Date2020-01-01 13:21 +0000
Message-ID<%11PF.183820$GH7.41120@fx18.am4>
In reply to#148643
On 01/01/2020 13:18, Bonita Montero wrote:
>>> You Think that your tastes regarding computer-languages is rationally
>>> justified; it isn't. C is an ugly language because you have to write
>>> a huge amount of boilerplate-code with it. if you use C++ correctly
>>> there's much less code to write and it is much more maintainable.
>>> And that's not trollery.
>>> C is just a good language to learn lowlevel systems-programming.
>>> In practice it should be mostly abandonned.
> 
>> you write out your belifs, ...
> 
> No, that are facts. OOP, RAII, templates and exceptions minimize
> code and make it more maintainable.

So why do I find it impossible to understand any of your C++ code?

How easily can someone take one of your C++ programs, and convert it it 
into another language?

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


#148647

FromBonita Montero <Bonita.Montero@gmail.com>
Date2020-01-01 14:26 +0100
Message-ID<qui6ls$ps9$2@news.albasani.net>
In reply to#148645
>> No, that are facts. OOP, RAII, templates and exceptions minimize
>> code and make it more maintainable.

> So why do I find it impossible to understand any of your C++ code?

Because you're not skilled enough.

> How easily can someone take one of your C++ programs, and convert
> it it into another language?

That depends if the target language matches the features of C++.
Transferring from C++ to Java f.e. is mostly quite easy; but usally
no one wants to transfer code from one language to another.

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


#148644

FromBart <bc@freeuk.com>
Date2020-01-01 13:19 +0000
Message-ID<L%0PF.183819$GH7.141109@fx18.am4>
In reply to#148641
On 01/01/2020 12:56, Bonita Montero wrote:
>> you come here with your primitive attacks like you would live in 
>> jungle, then write out your primitive postulates that you belive c++ 
>> is better than you call me trll again... 
> 
> You Think that your tastes regarding computer-languages is rationally
> justified; it isn't. C is an ugly language because you have to write
> a huge amount of boilerplate-code with it. if you use C++ correctly
> there's much less code to write and it is much more maintainable.

Rubbish. C is not pretty but can look decent given some effort and 
restraint.

But every C++ program I've seen has been pig-ugly.

There are so many features available to use that C++ programmers can't 
help using most of them, whatever the program.

As for the boiler-plate of C, that just doesn't happen in real, properly 
written programs. Only in stupid comparisons on usenet.

Some challenge involves using a Dict type (an unordered collection of 
key:value pairs), the C version now needs a badly written Dict 
implementation of hundreds of lines, while the C++ pulls in a library. 
The exact library that was the reason for the challenge: to show how 
much 'better' the C++ is.

In a real program, if the C really did need that Dict type, it would 
also use a pre-written library which has been carefully designed and not 
just thrown together for one task. Or more likely, it would use a 
different approach altogether.

C might be used to craft a Dict implementation for another language like 
Python. In that situation, it would be too tempting for a C++ 
programming not to try using its built-in Dict to try to implement 
Python's. But it wouldn't work; there is too much mismatch.

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


#148646

FromBonita Montero <Bonita.Montero@gmail.com>
Date2020-01-01 14:24 +0100
Message-ID<qui6i6$ps9$1@news.albasani.net>
In reply to#148644
> But every C++ program I've seen has been pig-ugly.

That's rather a matter of taste on your side.

> As for the boiler-plate of C, that just doesn't happen in real, properly 
> written programs. ...

It happens. You don't have such convenient things like the STL in C.
Or you have to do much errorcode-evaluation whereas in C++ you simply
catch the known exceptions in a central place and that's all.

> Some challenge involves using a Dict type (an unordered collection of 
> key:value pairs), the C version now needs a badly written Dict 
> implementation of hundreds of lines, while the C++ pulls in a library. 

std::unordered_map<key, value> ... only a few lines of code.
Impossible to have that as convenient in C.

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


#148650

FromBart <bc@freeuk.com>
Date2020-01-01 14:56 +0000
Message-ID<iq2PF.201659$Ca2.18680@fx10.am4>
In reply to#148646
On 01/01/2020 13:24, Bonita Montero wrote:
>> But every C++ program I've seen has been pig-ugly.
> 
> That's rather a matter of taste on your side.
> 
>> As for the boiler-plate of C, that just doesn't happen in real, 
>> properly written programs. ...
> 
> It happens. You don't have such convenient things like the STL in C.
> Or you have to do much errorcode-evaluation whereas in C++ you simply
> catch the known exceptions in a central place and that's all.
> 
>> Some challenge involves using a Dict type (an unordered collection of 
>> key:value pairs), the C version now needs a badly written Dict 
>> implementation of hundreds of lines, while the C++ pulls in a library. 
> 
> std::unordered_map<key, value> ... only a few lines of code.
> Impossible to have that as convenient in C.

But you just don't use such data structures in C. I don't anyway. The 
language encourages you to keep things simple.

And in C++, it's just too much syntax:

    #include <unordered_map>
    #include <string>
    ...
    std::unordered_map<std::string, int> wordMap({
    {"First", 1},
    {"Second", 2},
    {"Third", 3}});

    for (std::pair<std::string, int> element : wordMap)
    std::cout << element.first << " :: " << element.second << std::endl;


When I use such a Dict, I use it like this:

     wordmap := ["First":1, "Second":2, "Third":3]
     println wordmap

Notice no 'boilerplate'. This is the complaint you made about C, but C++ 
has it too, and in spades.

My example is from a script language, but I'm in the process of making 
that available in the /low-level/ systems language I normally use in 
place of C. There, there will be a small amount of boilerplate, and it 
will look like this:

     var wordmap := ["First":1, "Second":2, "Third":3]
     println wordmap

Spot the difference. THIS is how I'd like to use a Dict type in any 
language, not how it's done in C++.

(BTW this version uses dynamic types, so both keys and values can be of 
any types, and can be mixed.)

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


#148651

FromBonita Montero <Bonita.Montero@gmail.com>
Date2020-01-01 16:06 +0100
Message-ID<quich0$ao1$1@news.albasani.net>
In reply to#148650
> And in C++, it's just too much syntax:
>     #include <unordered_map>
>     #include <string>
>     ...
>     std::unordered_map<std::string, int> wordMap({
>     {"First", 1},
>     {"Second", 2},
>     {"Third", 3}});
> 
>     for (std::pair<std::string, int> element : wordMap)
       for( auto &element : wordMap )
>     std::cout << element.first << " :: " << element.second << std::endl;
> When I use such a Dict, I use it like this:
> 
>      wordmap := ["First":1, "Second":2, "Third":3]
>      println wordmap

We're comparing C and C++, and not whatever language. These even higher
abstraction languages are usually magnitudes slower than C++; that's the
price of a comfortable language. But there's no language like C++ with a
similary good ratio between comfort and performance.

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


#148653

FromBart <bc@freeuk.com>
Date2020-01-01 15:44 +0000
Message-ID<f73PF.177678$hQ6.19356@fx32.am4>
In reply to#148651
On 01/01/2020 15:06, Bonita Montero wrote:
>> And in C++, it's just too much syntax:
>>     #include <unordered_map>
>>     #include <string>
>>     ...
>>     std::unordered_map<std::string, int> wordMap({
>>     {"First", 1},
>>     {"Second", 2},
>>     {"Third", 3}});
>>
>>     for (std::pair<std::string, int> element : wordMap)
>        for( auto &element : wordMap )
>>     std::cout << element.first << " :: " << element.second << std::endl;
>> When I use such a Dict, I use it like this:
>>
>>      wordmap := ["First":1, "Second":2, "Third":3]
>>      println wordmap
> 
> We're comparing C and C++, and not whatever language.

You're moaning at C because it can take more code to do a task. I'm 
saying C++ is not exactly concise either.

Even when something is built-in and ready-programmed, an excruciating 
amount of fiddly syntax is needed to make use of it, enough to dominate 
whatever it is your code is trying to do.

And in C, if I did write a library to emulate a string:int dict, it 
might look like this:

     #include "dictsi.h"
     ...
     DictSI wordmap = make_dictsi("First",1, "Second",2", "Third",3,
       NULL);

     print_dictsi(wordmap);
     ...
     free_dictsi(wordmap);

Which is not too onerous, and actually cleaner than than the C++.

  These even higher
> abstraction languages are usually magnitudes slower than C++; that's the
> price of a comfortable language.

That can be an issue. Although with complicated operations such as Dict 
lookups, in pretty much all cases it will be executing native code, so 
the difference is not as great as you might think.

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


#148654

FromBonita Montero <Bonita.Montero@gmail.com>
Date2020-01-01 16:54 +0100
Message-ID<quifam$2fs$1@news.albasani.net>
In reply to#148653
>> We're comparing C and C++, and not whatever language.

> You're moaning at C because it can take more code to do a task. I'm 
> saying C++ is not exactly concise either.

It's usually a lot of work to match the same functionality and
performance. Specializing a templated class to a datatype is
usually a line of code. In C there's nothing similar; if you
want to match the same performance, you would have to specialize
everything on your own.

> Even when something is built-in and ready-programmed, an excruciating 
> amount of fiddly syntax is needed to make use of it, enough to dominate 
> whatever it is your code is trying to do.

There's nothging excruciating; it's just a matter of exercise.

>      #include "dictsi.h"
>      ...
>      DictSI wordmap = make_dictsi("First",1, "Second",2", "Third",3,
>        NULL);
> 
>      print_dictsi(wordmap);
>      ...
>      free_dictsi(wordmap);

There's no dictsi.h that matches std::unordered_map<key, value>.
You would have to write it on your own for every datatype to match
the performance and functionality of C++.

> That can be an issue. Although with complicated operations such as Dict 
> lookups, in pretty much all cases it will be executing native code, so 
> the difference is not as great as you might think.

You're a dreamer.

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


#148655

Fromchad <cdalten@gmail.com>
Date2020-01-01 08:07 -0800
Message-ID<ed75027d-d123-4499-be54-544146903832@googlegroups.com>
In reply to#148654
First we had to go through the religious diatribe with Rick. Now we seemed to blessed with Bonita trying to interject the superiority of C into every other thread.

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


#148648

FromDan Purgert <dan@djph.net>
Date2020-01-01 14:19 +0000
Message-ID<slrnr0pak5.221.dan@djph.net>
In reply to#148641
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Bonita Montero wrote:
> [...]
> C is just a good language to learn lowlevel systems-programming.
> In practice it should be mostly abandonned.

I'm working on abandoning it for ASM.  I ... might be doing things
wrong. :)


-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl4MqoUACgkQjhHd8xJ5
ooGL7wf/YZPwaBdr1rGoYZfBONtfkZYlntDHfQxFaRJexx1RWzmwAOULs/OrhEOW
3s250LzbUAVolkI61L5z09jjemY4uerxm2bpiP1rMvO9pGqqZczvRKBVGEG976Ro
mgi3ThScO/WPBGWCNLKHJnKmGT3arNH9SDirN9mfX7UaAarV2RG5ViEtBVBk1mA1
cJepfDnr8v24gMP/lVHb/2i2QjVk7tJWN34hzNDlFfxajDQVERn4qtBGQaSe2k49
fHle0oVkyB5qEUOvN3TVy0GxLkRhwEVuK7XwNybzjtFjdXGT4p/BtHoim7gvuYE5
w46yPG38+YDiYb85Z2dqNujHmyiTTg==
=zpPA
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

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


#148649

FromBonita Montero <Bonita.Montero@gmail.com>
Date2020-01-01 15:28 +0100
Message-ID<quia9l$h16$1@news.albasani.net>
In reply to#148648
>> C is just a good language to learn lowlevel systems-programming.
>> In practice it should be mostly abandonned.

> I'm working on abandoning it for ASM.  I ... might be doing things
> wrong. :)

Ok, C is a better choice then.
But the gap between Asm and C isn't so large as between C and C++.

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


Page 1 of 10  [1] 2 3 … 10  Next page →

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


csiph-web