I'm thinking start with printf and input from command line args only (to avoid scanf awfulness & need to learn arrays+strings enough to use fgets & to mimic how real cmdline tools work)...
-
-
Show this thread
-
Of course you need some minimal intro of arrays to do argv[i], just passing to strtol/strtod at this point though.
Show this thread -
Then do as much as makes sense (student interest, time available, etc.) without strings - expressions, conditionals, loops, functions, ...
Show this thread
End of conversation
New conversation -
-
-
Absolute most important goal: avoid the footguns that you should never, ever use in C. LIke gets that you were complaining about.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Most crash courses in C I found were a lot like "draw the rest of the owl" when trying to contribute on a real project
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
To what audience (*any* programming experience)? How much time is available?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.