interactive-tutorials icon indicating copy to clipboard operation
interactive-tutorials copied to clipboard

[Learn-C] Outdated information about bools not being in C

Open ghost opened this issue 3 years ago • 2 comments

Bools have been implemented in C with the stdbool.h header since C99, one should use that instead of defining a separate boolean variable by themselves

ghost avatar Jun 10 '21 14:06 ghost

Why hasn't this been updated yet? It's been nearly a year since its mention. That's nearly a year that beginners may have been misled by information that's quite literally 23 years out of date.

image

Also, it should be noted that -- per the C standard -- functions that take no arguments should have a void in its parameter list.

dyskos avatar May 30 '22 03:05 dyskos

@Dyskos would you like to send a PR?

ronreiter avatar Jun 10 '22 16:06 ronreiter