Monday, August 15, 2022

Re: Geomant - Would you review my first C project ?

Hello,

As long as learning C came up, does anyone from the OpenBSD community
have an opinion on whether this training for writing secure C would be worthwhile
for someone with mid-level skills?

https://www.sei.cmu.edu/education-outreach/courses/course.cfm?courseCode=V35

Thanks!

Jason
On Wednesday, August 10, 2022, 03:43:18 p.m. PDT, Gustavo Rios <rios.gustavo@gmail.com> wrote:

Hi!

Do you want to learn howto program ? This is the book:

            The Science Of Programming, by David Gries

Do you want to learn how to code ? You need to specify the language. In
case of C (ANSI C) the book is:

                The C Programming Labguage, by Brian W. Kernihghan and
Dennis M. Ritche

Good Luck.

Em sáb., 6 de ago. de 2022 às 16:17, Sylvain Saboua <sylvain.saboua@free.fr>
escreveu:

> Hi.
>
> I want to learn C and to that effect I started
> a first project of a program, Geomant.
>
> The version-named file is the first version that
> I both consider accomplished and bug-free.
> (using clang on openbsd 7.1)
>
> The geomant.c file is an attempt at improving the
> code (mainly by declaring more variable locally)
> that produces my first run-time bug instead of
> a compiler warning or error.
>
> Would you review part of whole of either file
> and tell me what you think of my code ?
>
> Thank you.
>
> For more information on geomanteia, see:
>
> http://naosofiakkhos.blogspot.com/2011/01/casting-of-shield-of-geomanteia.html
> https://en.wikipedia.org/wiki/Geomantic_figures
>
> --
> Sylvain Saboua
> from webmail



--
The lion and the tiger may be more powerful, but the wolves do not perform
in the circus

No comments:

Post a Comment