DEV Community

Discussion on: Introduction to Programming in C

dynamicsquid profile image

Cool! Just a tip though, I wouldn't recommend teaching beginner's this:

int main(int argc, char *argv[]) {
Enter fullscreen mode Exit fullscreen mode

As it's a little confusing to explain

therealdarkmage profile image

This is fair, but it is also important to be in the habit of knowing about CLI arguments early on.

Back in High school when I was taught both C++ and Java, teachers would have us type in public static void main(String args[]) without really understanding why, either.

Beginners do not need to understand everything right away in order to simply "do" something. In another Universe, a C student goes his whole life without learning about the argument vector and misses an important concept early on :D