Building C Programs

1    11 Dec 2017 14:05 by u/TheBuddha

6 comments

0

This is pretty basic, really. But, it's well done. So, there... You damned curmudgeons! ;-)

0

Everyone should at least have written a small C program.

C/C++ is not that hard but you are forced to be more responsible with your code. It brings your mind out of the comfort zone and find new ways to make your favorite language even better.

0

I like C. I can program in C. I can't program well, but I can do more than "Hello World." It has been a while, and I'd have to go through the various syntax again, but I'd pick it up pretty quickly.

Is it accurate when people say that Rust is the rightful successor to C?

0

I never heard about Rust

0

I think it's C for SJWs and is the Mozilla language that is type safe. It's like C with a condem, I guess. It's supposed to produce safe code, disallowing me the chance to stomp all over it's memory or to escape it. I haven't tried it.

0

Nice. One remark: since the examples are in C, function main() should really be declared either int main(void) or int main(int argc, char *argv[]).

Sadly, gcc throws a warning about this issue only if compiled with option -Wstrict-prototypes.