[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] [OT] Learning C
I was surprised to find he is using the built-in rules of make rather
than running cc directly on the command line. In production code I made
a personal rule to never depend on built in rules of make and to put all
rules explicitly in the makefile, but for educational purposes it's
probably OK. Still, if he's teaching the command line way I'm surprised
he isn't using cc directly from the command line. I've also seen
systems with cc/gcc installed but no make installed.
-Scott
On 12/14/15 10:54 AM, DJ-Pfulio wrote:
>
> If anyone has already started their journey to learning C with Leam, great!
>
> I worked through the first 8 exercises this morning using the online book -
> http://c.learncodethehardway.org/book/
>
> There are many subtle things not covered, but worth knowing.
>
> He writes about makefiles, valgrind and printf() in a "do this, but don't worry
> if you don't understand it" way. Perhaps the author will come back later for
> deeper explanation? I dunno.