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


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

C pointer semantics with dynamically allocated struct

Started by"Morten W. Petersen" <morphex@gmail.com>
First post2015-08-11 20:48 +0200
Last post2015-08-12 11:13 +0200
Articles 20 on this page of 231 — 23 participants

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


Contents

  C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-11 20:48 +0200
    Re: C pointer semantics with dynamically allocated struct Melzzzzz <mel@zzzzz.com> - 2015-08-11 20:59 +0200
    Re: C pointer semantics with dynamically allocated struct Melzzzzz <mel@zzzzz.com> - 2015-08-11 21:03 +0200
      Re: C pointer semantics with dynamically allocated struct James Kuyper <jameskuyper@verizon.net> - 2015-08-11 15:32 -0400
    Re: C pointer semantics with dynamically allocated struct jacobnavia <jacob@jacob.remcomp.fr> - 2015-08-11 21:03 +0200
      Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-11 21:47 +0200
    Re: C pointer semantics with dynamically allocated struct jt@toerring.de (Jens Thoms Toerring) - 2015-08-11 19:14 +0000
      Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-11 21:50 +0200
        Re: C pointer semantics with dynamically allocated struct James Kuyper <jameskuyper@verizon.net> - 2015-08-11 16:12 -0400
          Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-11 22:45 +0200
            Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-12 03:08 +0100
    Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-11 20:24 +0100
      Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-11 21:51 +0200
        Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-11 13:32 -0700
          Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-11 13:36 -0700
            Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-11 22:57 +0200
              Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-11 23:23 +0200
              Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-08-11 16:47 -0700
                Re: C pointer semantics with dynamically allocated struct glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-11 23:46 +0000
                  Re: C pointer semantics with dynamically allocated struct morphex@gmail.com (Morten W. Petersen) - 2015-08-12 02:05 +0200
                  Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-08-11 17:16 -0700
                  Re: C pointer semantics with dynamically allocated struct Richard Heathfield <rjh@cpax.org.uk> - 2015-08-12 01:11 +0100
                    Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-11 17:35 -0700
                      Re: C pointer semantics with dynamically allocated struct Richard Heathfield <rjh@cpax.org.uk> - 2015-08-12 01:51 +0100
                        Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-12 03:02 +0200
                          Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-11 19:50 -0700
                            Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-11 20:09 -0700
                            Music and programming (was: Re: C pointer semantics with dynamically allocated struct) "Morten W. Petersen" <morphex@gmail.com> - 2015-08-12 11:54 +0200
                              Re: Music and programming (was: Re: C pointer semantics with dynamically allocated struct) "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 03:35 -0700
                                Re: Music and programming "Morten W. Petersen" <morphex@gmail.com> - 2015-08-12 13:00 +0200
                              Re: Music and programming Richard Heathfield <rjh@cpax.org.uk> - 2015-08-12 11:46 +0100
                                Re: Music and programming "Morten W. Petersen" <morphex@gmail.com> - 2015-08-12 13:06 +0200
                                  Re: Music and programming Richard Heathfield <rjh@cpax.org.uk> - 2015-08-12 13:08 +0100
                                  Re: Music and programming raltbos@xs4all.nl (Richard Bos) - 2015-08-12 12:18 +0000
                                    Re: Music and programming "Morten W. Petersen" <morphex@gmail.com> - 2015-08-12 14:26 +0200
                                      Re: Music and programming Richard Heathfield <rjh@cpax.org.uk> - 2015-08-12 13:36 +0100
                                        Re: Music and programming "Morten W. Petersen" <morphex@gmail.com> - 2015-08-12 15:13 +0200
                                        Re: Music and programming David Brown <david.brown@hesbynett.no> - 2015-08-12 16:10 +0200
                        Re: C pointer semantics with dynamically allocated struct crisdunbar@gmail.com - 2015-08-13 15:47 -0700
                      Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 04:52 -0700
                        Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 05:01 -0700
                          Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 05:10 -0700
                    Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-12 09:17 +0200
            Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-12 02:56 +0100
              Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-12 04:07 +0200
                Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-12 03:45 +0100
                  Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-12 12:10 +0200
                    Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-12 11:39 +0100
                      Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-12 13:41 +0200
                        Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 04:59 -0700
                          Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-12 14:16 +0100
                            Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 06:37 -0700
                              Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-12 15:34 +0100
                                Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 08:17 -0700
                                  Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 08:38 -0700
                                  Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-12 17:19 +0100
                                    Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 09:52 -0700
                                      Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-12 22:40 +0100
                                      Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-13 13:31 +0200
                                        Re: C pointer semantics with dynamically allocated struct Richard Damon <Richard@Damon-Family.org> - 2015-08-14 20:39 -0400
                                          Re: C pointer semantics with dynamically allocated struct Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-05 13:03 -0700
                                        Re: C pointer semantics with dynamically allocated struct Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-05 14:16 -0700
                                          Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-09-06 11:19 +0200
                                            Re: C pointer semantics with dynamically allocated struct Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-06 18:15 -0700
                                              Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-09-07 09:13 +0200
                        Re: C pointer semantics with dynamically allocated struct Richard Damon <Richard@Damon-Family.org> - 2015-08-12 08:07 -0400
                          Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-12 14:08 +0100
                      Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 10:24 -0700
                        Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-12 20:45 +0100
                          Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-13 04:19 +0200
                            Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-13 13:18 +0100
                              Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-16 15:43 +0200
                                Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-16 21:32 +0100
                                  Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 12:00 +0200
                                    Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-17 15:50 +0100
                                      Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 22:28 +0200
                                        Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-18 01:34 +0100
                                          Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-19 08:40 +0200
                      Re: C pointer semantics with dynamically allocated struct luser droog <luser.droog@gmail.com> - 2015-08-12 13:35 -0700
                        Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 15:01 -0700
                        Re: C pointer semantics with dynamically allocated struct Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-05 11:39 -0700
                          Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-09-06 11:24 +0200
                            Re: C pointer semantics with dynamically allocated struct Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-06 18:09 -0700
                  Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 10:17 -0700
                    Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-12 20:58 +0100
                      Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-12 19:59 -0700
                        Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-13 13:47 +0200
                          Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-13 05:35 -0700
                            Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-13 15:59 +0200
                              Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-13 07:57 -0700
                                Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-13 17:46 +0200
                                  Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-13 09:15 -0700
                                    Re: C pointer semantics with dynamically allocated struct Richard Heathfield <rjh@cpax.org.uk> - 2015-08-13 17:21 +0100
                                      Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-13 09:26 -0700
                                        Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-13 19:40 +0100
                                          Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-13 11:43 -0700
                                            Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-13 21:30 +0100
                                              Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-13 14:56 -0700
                                      Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-14 08:51 +0200
                                        Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-14 00:03 -0700
                              Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-13 17:22 +0100
                                Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-14 09:09 +0200
                                  Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-14 11:19 +0100
                                    Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-14 13:07 +0200
                                      Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-14 19:19 +0100
                                        Re: C pointer semantics with dynamically allocated struct James Kuyper <jameskuyper@verizon.net> - 2015-08-14 14:32 -0400
                                          Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-16 16:52 +0200
                                            Re: C pointer semantics with dynamically allocated struct Jorgen Grahn <grahn+nntp@snipabacken.se> - 2015-08-16 18:34 +0000
                                              Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-17 07:48 +0200
                                                Re: C pointer semantics with dynamically allocated struct Jorgen Grahn <grahn+nntp@snipabacken.se> - 2015-08-18 18:08 +0000
                                                  Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-19 09:36 +0200
                                            Re: C pointer semantics with dynamically allocated struct David Thompson <dave.thompson2@verizon.net> - 2015-08-30 03:03 -0400
                                              Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-30 16:59 +0200
                                              Re: C pointer semantics with dynamically allocated struct glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-30 20:12 +0000
                                            Re: C pointer semantics with dynamically allocated struct Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-05 14:36 -0700
                                        Re: C pointer semantics with dynamically allocated struct Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-05 12:39 -0700
                                    Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-14 07:56 -0700
                                      Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-14 17:09 +0100
                                        Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-14 11:38 -0700
                                          Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-14 20:31 +0100
                                  Re: C pointer semantics with dynamically allocated struct Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-05 15:17 -0700
                                    Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-09-06 11:44 +0200
                            Re: C pointer semantics with dynamically allocated struct Richard Damon <Richard@Damon-Family.org> - 2015-08-14 20:56 -0400
                              Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-14 18:09 -0700
                                Re: C pointer semantics with dynamically allocated struct Richard Damon <Richard@Damon-Family.org> - 2015-08-14 22:26 -0400
                                  Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-14 19:44 -0700
                                    Re: C pointer semantics with dynamically allocated struct glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-15 04:15 +0000
                                      Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-16 19:00 +0200
                                        Re: C pointer semantics with dynamically allocated struct Bartc <bc@freeuk.com> - 2015-08-16 19:00 +0100
                                          Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-16 20:20 +0200
                                            Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-08-16 17:18 -0700
                                          Re: C pointer semantics with dynamically allocated struct Bartc <bc@freeuk.com> - 2015-08-16 23:03 +0100
                                            Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 00:52 +0200
                                              Re: C pointer semantics with dynamically allocated struct Bartc <bc@freeuk.com> - 2015-08-17 00:29 +0100
                                                A simpler version of C (was: Re: C pointer semantics with dynamically allocated struct) "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 02:36 +0200
                                          Re: C pointer semantics with dynamically allocated struct glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-17 01:47 +0000
                                            Re: C pointer semantics with dynamically allocated struct Bartc <bc@freeuk.com> - 2015-08-17 11:27 +0100
                                              Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 12:40 +0200
                                                Re: C pointer semantics with dynamically allocated struct Bartc <bc@freeuk.com> - 2015-08-17 12:07 +0100
                                                  Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 13:36 +0200
                                                    Re: C pointer semantics with dynamically allocated struct Bartc <bc@freeuk.com> - 2015-08-17 13:14 +0100
                                                  Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 14:09 +0200
                                                    Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-17 05:23 -0700
                                                      Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 14:35 +0200
                                                        Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-17 05:45 -0700
                                                          Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 14:58 +0200
                                                            Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-17 06:23 -0700
                                                              Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 15:30 +0200
                                                                Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-17 06:46 -0700
                                                                  Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 15:47 +0200
                                                                    Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-17 06:56 -0700
                                                                      Re: C pointer semantics with dynamically allocated struct fir <profesor.fir@gmail.com> - 2015-08-17 08:57 -0700
                                                                    Re: C pointer semantics with dynamically allocated struct Richard Heathfield <rjh@cpax.org.uk> - 2015-08-17 15:37 +0100
                                                        Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-17 15:03 +0200
                                                          Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 15:12 +0200
                                                            Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-17 16:15 +0200
                                                              Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 16:45 +0200
                                                                Re: C pointer semantics with dynamically allocated struct Bartc <bc@freeuk.com> - 2015-08-17 15:58 +0100
                                                                  Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 22:11 +0200
                                                                    Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-17 22:24 +0200
                                                                      Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 22:31 +0200
                                                                        Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-08-17 15:04 -0700
                                                                          Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 23:41 +0200
                                                                            Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-08-17 17:58 -0700
                                                                          Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-17 14:53 -0700
                                                                Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-17 16:58 +0200
                                                                  Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 22:16 +0200
                                                                    Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-18 01:31 +0200
                                                                      Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-19 08:51 +0200
                                                                        Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-19 09:56 +0200
                                                                          Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-20 08:52 +0200
                                                                            Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-20 10:09 +0200
                                                                              Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-20 12:48 +0200
                                                                                Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-20 13:00 +0200
                                                                                Re: C pointer semantics with dynamically allocated struct Ike Naar <ike@iceland.freeshell.org> - 2015-08-20 13:53 +0000
                                                                                  Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-20 16:36 +0200
                                                                                    Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-20 07:39 -0700
                                                                                Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-08-20 09:09 -0700
                                                                                  Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-20 09:08 -0700
                                                                                    Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-21 10:15 +0200
                                                                                      Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-21 02:17 -0700
                                                                                        Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-21 14:23 +0100
                                                                                          Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-21 15:44 +0200
                                                                                            Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-21 14:59 +0100
                                                                                              Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-21 07:03 -0700
                                                                                              Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-23 21:50 +0200
                                                                                            Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-21 16:25 +0200
                                                                                              Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-21 07:34 -0700
                                                                                        Re: C pointer semantics with dynamically allocated struct Bartc <bc@freeuk.com> - 2015-08-21 20:44 +0100
                                                                                          Re: C pointer semantics with dynamically allocated struct raltbos@xs4all.nl (Richard Bos) - 2015-08-22 14:10 +0000
                                                          Re: C pointer semantics with dynamically allocated struct glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-17 20:08 +0000
                                                        Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-08-17 09:33 -0700
                                                          Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-17 22:20 +0200
                                                            Re: C pointer semantics with dynamically allocated struct James Kuyper <jameskuyper@verizon.net> - 2015-08-17 17:28 -0400
                                                              Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-08-17 16:42 -0700
                                                                Re: C pointer semantics with dynamically allocated struct James Kuyper <jameskuyper@verizon.net> - 2015-08-17 19:39 -0400
                                                            Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-08-17 16:15 -0700
                                                            Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-18 00:19 +0100
                                                  Re: C pointer semantics with dynamically allocated struct Richard Damon <Richard@Damon-Family.org> - 2015-08-17 08:32 -0400
                                                    Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-17 18:02 +0100
                                                  Re: C pointer semantics with dynamically allocated struct Rosario19 <Ros@invalid.invalid> - 2015-08-22 08:25 +0200
                                                Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-17 14:46 +0200
                                              Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-08-17 09:45 -0700
                                                Re: C pointer semantics with dynamically allocated struct Bartc <bc@freeuk.com> - 2015-08-17 18:55 +0100
                                                  Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-08-17 12:11 -0700
                                                    Re: C pointer semantics with dynamically allocated struct Bartc <bc@freeuk.com> - 2015-08-17 23:07 +0100
                                                      Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-17 15:13 -0700
                                                      Re: C pointer semantics with dynamically allocated struct glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-17 22:56 +0000
                                              Re: C pointer semantics with dynamically allocated struct glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-17 20:04 +0000
                        Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-13 14:46 +0100
                          Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-13 07:33 -0700
                            Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-13 16:39 +0200
                            Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-13 19:20 +0100
                              Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-13 11:55 -0700
                                Re: C pointer semantics with dynamically allocated struct Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-13 21:11 +0100
                                  Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-13 15:15 -0700
                                  Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-14 09:29 +0200
                                    Re: C pointer semantics with dynamically allocated struct James Kuyper <jameskuyper@verizon.net> - 2015-08-14 08:01 -0400
                                      Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-14 14:46 +0200
                                        Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-16 19:14 +0200
                                          Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-17 08:01 +0200
                    Re: C pointer semantics with dynamically allocated struct Richard Damon <Richard@Damon-Family.org> - 2015-08-12 23:30 -0400
                      Re: C pointer semantics with dynamically allocated struct Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-05 12:45 -0700
                        Re: C pointer semantics with dynamically allocated struct Keith Thompson <kst-u@mib.org> - 2015-09-05 16:11 -0700
                        Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-09-05 22:32 -0700
                          Re: C pointer semantics with dynamically allocated struct Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-06 13:21 -0700
                Re: C pointer semantics with dynamically allocated struct David Brown <david.brown@hesbynett.no> - 2015-08-12 09:22 +0200
              Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-11 19:43 -0700
          Re: C pointer semantics with dynamically allocated struct "Morten W. Petersen" <morphex@gmail.com> - 2015-08-11 22:52 +0200
            Re: C pointer semantics with dynamically allocated struct "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-08-11 16:01 -0700
    Re: C pointer semantics with dynamically allocated struct Rosario19 <Ros@invalid.invalid> - 2015-08-12 11:13 +0200

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


#67144

FromKeith Thompson <kst-u@mib.org>
Date2015-08-11 17:16 -0700
Message-ID<lnfv3pcqep.fsf@kst-u.example.com>
In reply to#67141
glen herrmannsfeldt <gah@ugcs.caltech.edu> writes:
> Keith Thompson <kst-u@mib.org> wrote:
>
> (snip on quoting rules for usenet)
>
>> I sometimes reformat quoted text (not code), particularly if
>> the original text has very long lines, changing *only* spacing
>> and line breaks.  I've done so with the quoted paragraph above.
>> I usually don't bother to mention it.
>
> My news host requires posts to mostly fit in 80 columns.
> (Usually it will allow a small number of long lines, 
> especially URLs.)  So I often have to reformat line breaks.
>  
>> I don't do this for code samples.
>
> I sometimes remove blank lines from code samples, and maybe reformat
> if lines are longer than 80 columns. 
>
> I might only quote part of a code sample, that is, remove lines
> before and after the part of interest, especially if it is long.
>
> I didn't know that there was an actual rule before, though.

I don't know that there's an actual rule.  I've seen documents that
discuss "netiquette", but I haven't read any of them lately.  I
generally just try to follow common sense.

-- 
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]


#67145

FromRichard Heathfield <rjh@cpax.org.uk>
Date2015-08-12 01:11 +0100
Message-ID<mqe2t4$jlv$1@dont-email.me>
In reply to#67141
On 12/08/15 00:46, glen herrmannsfeldt wrote:
> Keith Thompson <kst-u@mib.org> wrote:
>
> (snip on quoting rules for usenet)
>
>> I sometimes reformat quoted text (not code), particularly if
>> the original text has very long lines, changing *only* spacing
>> and line breaks.  I've done so with the quoted paragraph above.
>> I usually don't bother to mention it.
>
> My news host requires posts to mostly fit in 80 columns.
> (Usually it will allow a small number of long lines,
> especially URLs.)  So I often have to reformat line breaks.
>
>> I don't do this for code samples.
>
> I sometimes remove blank lines from code samples, and maybe reformat
> if lines are longer than 80 columns.
>
> I might only quote part of a code sample, that is, remove lines
> before and after the part of interest, especially if it is long.
>
> I didn't know that there was an actual rule before, though.

I don't think it's an "actual rule". It's really only common sense. A 
quotation is a playing-back of something someone said (or, to be more 
precise, wrote). If you change the text (other than in trivial ways, 
such as whitespace), it is no longer a quotation.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

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


#67150

From"Rick C. Hodgin" <rick.c.hodgin@gmail.com>
Date2015-08-11 17:35 -0700
Message-ID<bc681f96-59fb-4b1a-a98f-0326b77af931@googlegroups.com>
In reply to#67145
There's a place for the language of C,
where if ever you find you to be,
take ye heed of the locals,
for their "compilers" are vocal,
in matters of triviality.

Best regards,
Rick C. Hodgin

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


#67152

FromRichard Heathfield <rjh@cpax.org.uk>
Date2015-08-12 01:51 +0100
Message-ID<mqe57p$q1o$1@dont-email.me>
In reply to#67150
On 12/08/15 01:35, Rick C. Hodgin wrote:
> There's a place for the language of C,
> where if ever you find you to be,
> take ye heed of the locals,
> for their "compilers" are vocal,
> in matters of triviality.

A limerick's rules are so tight
That you have to compose them just right.
The rhyming, the rhythm,
You gotta stick with 'em,
This is not haiku.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

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


#67153

From"Morten W. Petersen" <morphex@gmail.com>
Date2015-08-12 03:02 +0200
Message-ID<mqe5un$arb$1@speranza.aioe.org>
In reply to#67152
On 12.08.2015 02:51, Richard Heathfield wrote:
> On 12/08/15 01:35, Rick C. Hodgin wrote:
>> There's a place for the language of C,
>> where if ever you find you to be,
>> take ye heed of the locals,
>> for their "compilers" are vocal,
>> in matters of triviality.
>
> A limerick's rules are so tight
> That you have to compose them just right.
> The rhyming, the rhythm,
> You gotta stick with 'em,
> This is not haiku.

If we're going to flaunt, I created this a while ago:

https://soundcloud.com/morten-w-petersen/as-i-walk

Lyrics:

So I was thinking to myself, things are gonna change.
For whatever reason I will, cover the rain.

As I go to my school, I, notice sharks in the pool.
That's just the way it is and, I can keep it cool.

Oooooooooo.  Oooooooooooooooo, ohm.

Again I think to myself, things are gonna chaaange.

-Morten

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


#67159

From"Rick C. Hodgin" <rick.c.hodgin@gmail.com>
Date2015-08-11 19:50 -0700
Message-ID<f4cc0e83-414c-4185-9fbd-a93677f85b74@googlegroups.com>
In reply to#67153
On Tuesday, August 11, 2015 at 9:02:25 PM UTC-4, Morten W. Petersen wrote:
> https://soundcloud.com/morten-w-petersen/as-i-walk

[Off topic alert]

Nice.  A while back I posted some music from Liberty, Missouri,
recorded back in 2008:

    https://soundcloud.com/rickchodgin/sets/rick-and-jerry-2008

Jerry Adkins played lead.  I played rhythm.  We recorded this on a
little handheld recorder sitting on the floor between us:

    http://www.amazon.com/Olympus-DS-30-Digital-Voice-Recorder/dp/B000MSDL6K

Neither one of us had played music with the other very much before
this recording.  Just a little on a couple songs.  This was all
free-flow live.

Best regards,
Rick C. Hodgin

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


#67160

From"Rick C. Hodgin" <rick.c.hodgin@gmail.com>
Date2015-08-11 20:09 -0700
Message-ID<65ee697d-73e0-4b27-a676-588717f15fda@googlegroups.com>
In reply to#67159
On Tuesday, August 11, 2015 at 10:50:57 PM UTC-4, Rick C. Hodgin wrote:
> On Tuesday, August 11, 2015 at 9:02:25 PM UTC-4, Morten W. Petersen wrote:
> > https://soundcloud.com/morten-w-petersen/as-i-walk
> 
> [Off topic alert]
> 
> Nice.  A while back I posted some music from Liberty, Missouri,
> recorded back in 2008:
> 
>     https://soundcloud.com/rickchodgin/sets/rick-and-jerry-2008
> 
> Jerry Adkins played lead.  I played rhythm.  We recorded this on a
> little handheld recorder sitting on the floor between us:
> 
>     http://www.amazon.com/Olympus-DS-30-Digital-Voice-Recorder/dp/B000MSDL6K
> 
> Neither one of us had played music with the other very much before
> this recording.  Just a little on a couple songs.  This was all
> free-flow live.

And here's me playing live again in front of a camera around that
same time (late 2000s anyway).  I'm a little greyer now, but apart
from that I look about the same.  :-)

    https://www.youtube.com/watch?v=LTeRYsPcCrI

Best regards,
Rick C. Hodgin

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


#67167 — Music and programming (was: Re: C pointer semantics with dynamically allocated struct)

From"Morten W. Petersen" <morphex@gmail.com>
Date2015-08-12 11:54 +0200
SubjectMusic and programming (was: Re: C pointer semantics with dynamically allocated struct)
Message-ID<mqf54i$gop$1@speranza.aioe.org>
In reply to#67159
On 12.08.2015 04:50, Rick C. Hodgin wrote:
> On Tuesday, August 11, 2015 at 9:02:25 PM UTC-4, Morten W. Petersen wrote:
>> https://soundcloud.com/morten-w-petersen/as-i-walk
>
> [Off topic alert]
>
> Nice.  A while back I posted some music from Liberty, Missouri,
> recorded back in 2008:
>
>      https://soundcloud.com/rickchodgin/sets/rick-and-jerry-2008
>
> Jerry Adkins played lead.  I played rhythm.  We recorded this on a
> little handheld recorder sitting on the floor between us:
>
>      http://www.amazon.com/Olympus-DS-30-Digital-Voice-Recorder/dp/B000MSDL6K
>
> Neither one of us had played music with the other very much before
> this recording.  Just a little on a couple songs.  This was all
> free-flow live.

This is cool.  I noticed the sound of a lighter somewhere in there. :)

I usually accompany myself when doing (slight) improvisations, that
is I record one guitar track at a time.

If you had miked each guitar on a separate track, minor misses on the
lead guitar here and there could simply have been muted, and the "sound
picture" could have sounded a bit more organized with the right
timing and mixing.  This is just something I say as a tip for further
refining the process, I think the result is quite good given the
circumstances.

One of the reasons I started with C was that I thought about creating
a simple multi-track recorder using the Raspberry Pi, and with that
amount of data flowing C looked like the right choice.

-Morten

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


#67169 — Re: Music and programming (was: Re: C pointer semantics with dynamically allocated struct)

From"Rick C. Hodgin" <rick.c.hodgin@gmail.com>
Date2015-08-12 03:35 -0700
SubjectRe: Music and programming (was: Re: C pointer semantics with dynamically allocated struct)
Message-ID<6c017704-5ea3-4e0f-8628-1d2162fc88f4@googlegroups.com>
In reply to#67167
On Wednesday, August 12, 2015 at 5:54:49 AM UTC-4, Morten W. Petersen wrote:
> On 12.08.2015 04:50, Rick C. Hodgin wrote:
> > On Tuesday, August 11, 2015 at 9:02:25 PM UTC-4, Morten W. Petersen wrote:
> >> https://soundcloud.com/morten-w-petersen/as-i-walk
> >
> > [Off topic alert]
> >
> > Nice.  A while back I posted some music from Liberty, Missouri,
> > recorded back in 2008:
> >
> >      https://soundcloud.com/rickchodgin/sets/rick-and-jerry-2008
> >
> > Jerry Adkins played lead.  I played rhythm.  We recorded this on a
> > little handheld recorder sitting on the floor between us:
> >
> >      http://www.amazon.com/Olympus-DS-30-Digital-Voice-Recorder/dp/B000MSDL6K
> >
> > Neither one of us had played music with the other very much before
> > this recording.  Just a little on a couple songs.  This was all
> > free-flow live.
> 
> This is cool.  I noticed the sound of a lighter somewhere in there. :)

Yes.  Jerry was a smoker.  You can hear me coughing in there too. :-)
He used to buy coffee can size containers of tobacco and roll his
own cigarettes without filters.  He did this nearly all day long.  It
was a mark upon him.

> I usually accompany myself when doing (slight) improvisations, that
> is I record one guitar track at a time.
> 
> If you had miked each guitar on a separate track, minor misses on the
> lead guitar here and there could simply have been muted, and the "sound
> picture" could have sounded a bit more organized with the right
> timing and mixing.  This is just something I say as a tip for further
> refining the process, I think the result is quite good given the
> circumstances.
> 
> One of the reasons I started with C was that I thought about creating
> a simple multi-track recorder using the Raspberry Pi, and with that
> amount of data flowing C looked like the right choice.

C's an incredible language.  Only a dozen things added to it by C++
make it better.  Unfortunately, C has not adopted those things even
in 2015.  Fortunately some compilers have adopted them as extensions.

Best regards,
Rick C. Hodgin

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


#67176 — Re: Music and programming

From"Morten W. Petersen" <morphex@gmail.com>
Date2015-08-12 13:00 +0200
SubjectRe: Music and programming
Message-ID<mqf8vu$pu1$1@speranza.aioe.org>
In reply to#67169
On 12.08.2015 12:35, Rick C. Hodgin wrote:
> On Wednesday, August 12, 2015 at 5:54:49 AM UTC-4, Morten W. Petersen wrote:
>> On 12.08.2015 04:50, Rick C. Hodgin wrote:
>>> On Tuesday, August 11, 2015 at 9:02:25 PM UTC-4, Morten W. Petersen wrote:
>>>> https://soundcloud.com/morten-w-petersen/as-i-walk
>>>
>>> [Off topic alert]
>>>
>>> Nice.  A while back I posted some music from Liberty, Missouri,
>>> recorded back in 2008:
>>>
>>>       https://soundcloud.com/rickchodgin/sets/rick-and-jerry-2008
>>>
>>> Jerry Adkins played lead.  I played rhythm.  We recorded this on a
>>> little handheld recorder sitting on the floor between us:
>>>
>>>       http://www.amazon.com/Olympus-DS-30-Digital-Voice-Recorder/dp/B000MSDL6K
>>>
>>> Neither one of us had played music with the other very much before
>>> this recording.  Just a little on a couple songs.  This was all
>>> free-flow live.
>>
>> This is cool.  I noticed the sound of a lighter somewhere in there. :)
>
> Yes.  Jerry was a smoker.  You can hear me coughing in there too. :-)
> He used to buy coffee can size containers of tobacco and roll his
> own cigarettes without filters.  He did this nearly all day long.  It
> was a mark upon him.

Well, something is gonna kill ya anyway, right?

That said I'm glad I don't smoke, used to, but that shit is just a
bag of different nasty side-effects.

> C's an incredible language.  Only a dozen things added to it by C++
> make it better.  Unfortunately, C has not adopted those things even
> in 2015.  Fortunately some compilers have adopted them as extensions.

Maybe I should try out programming in C++ as well, but focusing on
C and Assembler is enough for now.  If anything it is good getting
practice in procedural programming.

And if it ain't broken..

-Morten

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


#67171 — Re: Music and programming

FromRichard Heathfield <rjh@cpax.org.uk>
Date2015-08-12 11:46 +0100
SubjectRe: Music and programming
Message-ID<mqf82u$uuh$1@dont-email.me>
In reply to#67167
On 12/08/15 10:54, Morten W. Petersen wrote:

> One of the reasons I started with C was that I thought about creating
> a simple multi-track recorder using the Raspberry Pi, and with that
> amount of data flowing C looked like the right choice.

Another way in which C can be used quite easily is in the composition of 
aleatoric music. Lilypond has a text format that is well-suited to this 
task. For example, here's a simple aleatorically-generated phrase in C 
major:

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main(void)
{
   char note[] = "abcdefg";
   int notenumber = 0;
   srand(time(0));
   printf("mymelody =\n{\n  \\relative c'\n  {\n");
   printf("    \\clef treble\n");
   printf("    \\override Staff.TimeSignature #'style = #'()\n");
   printf("    \\time 4/4\n   ");
   while(notenumber++ < 16)
   {
     printf(" %c4", note[rand() % 7]);
   }
   printf("\n    \\bar \"|.\"\n");
   printf("  }\n}\n");
   return 0;
}

That isn't a complete Lilypond file, but it's a fragment that can easily 
be inserted into one.

(Obviously that's just a very, very simplistic example. You can get as 
complicated as you want.)

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

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


#67178 — Re: Music and programming

From"Morten W. Petersen" <morphex@gmail.com>
Date2015-08-12 13:06 +0200
SubjectRe: Music and programming
Message-ID<mqf9bv$qll$1@speranza.aioe.org>
In reply to#67171
On 12.08.2015 12:46, Richard Heathfield wrote:
> On 12/08/15 10:54, Morten W. Petersen wrote:
>
>> One of the reasons I started with C was that I thought about creating
>> a simple multi-track recorder using the Raspberry Pi, and with that
>> amount of data flowing C looked like the right choice.
>
> Another way in which C can be used quite easily is in the composition of
> aleatoric music. Lilypond has a text format that is well-suited to this
> task. For example, here's a simple aleatorically-generated phrase in C
> major:
[...]

Generating music randomly is an interesting thing, and it could also be
fun to try to map different mathematical geometric functions to sound.

Couple that with a like/dislike feature and a network of users and you
might just have something.

-Morten

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


#67185 — Re: Music and programming

FromRichard Heathfield <rjh@cpax.org.uk>
Date2015-08-12 13:08 +0100
SubjectRe: Music and programming
Message-ID<mqfct2$fa7$2@dont-email.me>
In reply to#67178
On 12/08/15 12:06, Morten W. Petersen wrote:

<snip>

> Generating music randomly is an interesting thing, and it could also be
> fun to try to map different mathematical geometric functions to sound.

See "Dirk Gently's Holistic Detective Agency", by Douglas Adams, where 
this idea is discussed at some length.

> Couple that with a like/dislike feature and a network of users and you
> might just have something.

That's not a bad idea, actually - a genetic algorithm for composition, 
where the fitness function consists of a straw poll.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

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


#67187 — Re: Music and programming

Fromraltbos@xs4all.nl (Richard Bos)
Date2015-08-12 12:18 +0000
SubjectRe: Music and programming
Message-ID<55cb38d1.890781@news.xs4all.nl>
In reply to#67178
"Morten W. Petersen" <morphex@gmail.com> wrote:

> On 12.08.2015 12:46, Richard Heathfield wrote:
> > On 12/08/15 10:54, Morten W. Petersen wrote:
> >
> >> One of the reasons I started with C was that I thought about creating
> >> a simple multi-track recorder using the Raspberry Pi, and with that
> >> amount of data flowing C looked like the right choice.
> >
> > Another way in which C can be used quite easily is in the composition of
> > aleatoric music. Lilypond has a text format that is well-suited to this
> > task. For example, here's a simple aleatorically-generated phrase in C
> > major:

Guess what this program(me!) is called:

  #include <stdio.h>

  int main(void)
  {
    puts("");

    return 273;
  }

> Generating music randomly is an interesting thing, and it could also be
> fun to try to map different mathematical geometric functions to sound.
> 
> Couple that with a like/dislike feature and a network of users and you
> might just have something.

We already have that. It's called The X Factor.

Richard

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


#67188 — Re: Music and programming

From"Morten W. Petersen" <morphex@gmail.com>
Date2015-08-12 14:26 +0200
SubjectRe: Music and programming
Message-ID<mqfe20$69c$1@speranza.aioe.org>
In reply to#67187
On 12.08.2015 14:18, Richard Bos wrote:
> "Morten W. Petersen" <morphex@gmail.com> wrote:
[...]
>> Couple that with a like/dislike feature and a network of users and you
>> might just have something.
>
> We already have that. It's called The X Factor.

LOL.  I was thinking along those lines myself. :)

-Morten

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


#67189 — Re: Music and programming

FromRichard Heathfield <rjh@cpax.org.uk>
Date2015-08-12 13:36 +0100
SubjectRe: Music and programming
Message-ID<mqfei5$lk3$1@dont-email.me>
In reply to#67188
On 12/08/15 13:26, Morten W. Petersen wrote:
> On 12.08.2015 14:18, Richard Bos wrote:
>> "Morten W. Petersen" <morphex@gmail.com> wrote:
> [...]
>>> Couple that with a like/dislike feature and a network of users and you
>>> might just have something.
>>
>> We already have that. It's called The X Factor.
>
> LOL.  I was thinking along those lines myself. :)

I've seen a few X Factor clips on Youtube, and it seems to focus 
primarily (although by no means solely) on "pop" music. I think 
aleatorically generated music would probably be better suited to light 
classical - the kind of thing used in computer games. The trick here is 
to program in /some/ repetition (so that there's a sense of structure to 
the music), but not too much (otherwise it becomes mind-numbing).

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

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


#67193 — Re: Music and programming

From"Morten W. Petersen" <morphex@gmail.com>
Date2015-08-12 15:13 +0200
SubjectRe: Music and programming
Message-ID<mqfgpg$c98$1@speranza.aioe.org>
In reply to#67189
On 12.08.2015 14:36, Richard Heathfield wrote:
> On 12/08/15 13:26, Morten W. Petersen wrote:
>> On 12.08.2015 14:18, Richard Bos wrote:
>>> "Morten W. Petersen" <morphex@gmail.com> wrote:
>> [...]
>>>> Couple that with a like/dislike feature and a network of users and you
>>>> might just have something.
>>>
>>> We already have that. It's called The X Factor.
>>
>> LOL.  I was thinking along those lines myself. :)
>
> I've seen a few X Factor clips on Youtube, and it seems to focus
> primarily (although by no means solely) on "pop" music. I think
> aleatorically generated music would probably be better suited to light
> classical - the kind of thing used in computer games. The trick here is
> to program in /some/ repetition (so that there's a sense of structure to
> the music), but not too much (otherwise it becomes mind-numbing).

Mm, yes.  Well there are rules in most genres of music, and
creating something that follows those rules shouldn't be too hard.

It would be interesting to work with something like this, but there
is enough digital stuff in my life already.  Nothing quite beats
the feeling of a good jam or screaming out a bit of vocals with
force and emotional emphasis.

-Morten

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


#67198 — Re: Music and programming

FromDavid Brown <david.brown@hesbynett.no>
Date2015-08-12 16:10 +0200
SubjectRe: Music and programming
Message-ID<mqfk2b$9ji$1@dont-email.me>
In reply to#67189
On 12/08/15 14:36, Richard Heathfield wrote:
> On 12/08/15 13:26, Morten W. Petersen wrote:
>> On 12.08.2015 14:18, Richard Bos wrote:
>>> "Morten W. Petersen" <morphex@gmail.com> wrote:
>> [...]
>>>> Couple that with a like/dislike feature and a network of users and you
>>>> might just have something.
>>>
>>> We already have that. It's called The X Factor.
>>
>> LOL.  I was thinking along those lines myself. :)
> 
> I've seen a few X Factor clips on Youtube, and it seems to focus
> primarily (although by no means solely) on "pop" music.

It should be no big surprise that in a music competition judged by
random people, pop music comes out top - that is pretty much the
definition of popular music!

> I think
> aleatorically generated music would probably be better suited to light
> classical - the kind of thing used in computer games. The trick here is
> to program in /some/ repetition (so that there's a sense of structure to
> the music), but not too much (otherwise it becomes mind-numbing).
> 

I heard recently about double-blind test comparing algorithmically
generated light music and human composed music.  Most people - music
experts and "ordinary" people alike - rated the computer-generated music
as noticeably more pleasant, and guessed that it was the human-composed
pieces.

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


#67343

Fromcrisdunbar@gmail.com
Date2015-08-13 15:47 -0700
Message-ID<ec0efe98-c551-41e1-ad76-14362fde3240@googlegroups.com>
In reply to#67152
On Tuesday, August 11, 2015 at 5:51:48 PM UTC-7, Richard Heathfield wrote:
> On 12/08/15 01:35, Rick C. Hodgin wrote:
> > There's a place for the language of C,
> > where if ever you find you to be,
> > take ye heed of the locals,
> > for their "compilers" are vocal,
> > in matters of triviality.
> 
> A limerick's rules are so tight
> That you have to compose them just right.
> The rhyming, the rhythm,
> You gotta stick with 'em,
> This is not haiku.
> 

<golf clap>

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


#67180

From"Rick C. Hodgin" <rick.c.hodgin@gmail.com>
Date2015-08-12 04:52 -0700
Message-ID<3cbf9328-dbc1-4b22-84d2-f4dd263c0c97@googlegroups.com>
In reply to#67150
On Tuesday, August 11, 2015 at 8:35:25 PM UTC-4, Rick C. Hodgin wrote:
> There's a place for the language of C,
> where if ever you find you to be,
> take ye heed of the locals,
> for their "compilers" are vocal,
> in matters of triviality.

Version 2.0:

    Title:  "The Jagged comp.lang.c Shoreline"

    There's a place for the language of C,
    I advise there you listen to me,
    take wise heed of thy locals,
    their "compilers" are vocal,
    and do clamor on excessively.

Best regards,
Rick C. Hodgin

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


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

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


csiph-web