ckr-c

How did C look like before I was born?


Here is the question, How did C (K&R C) look like? The question is about the first ten or twenty years of C's life?

I know, well I heard them from a prof in my uni, that C didn't have the standard libraries that we get with ANSI C today. They used to write IO routines in wrapped assembly! The second thing is that K&R book, is one the best books ever for a programmer to read, This is what my prof told us :)

I would like to know more about good ol' C. For example, what major difference you know about it compared to ANSI C, or how did C change programmers mind about programming?


Just for record, I am asking this question after reading mainly these two papers:

They are about C++, I know! thats why I wanna know more about C, because these two papers are about how C++ was born out of C. I am now asking about how it looked before that. Thanks Lazarus for pointing out to 1st edition of K&R, but I am still keen to know more about C from SO gurus ;)


Solution

  • Look at the code for the Version 6 Unix kernel - that was what C looked like!

    See Lion's Commentary on Unix 6th Edition (Amazon).

    Also, it would be easier if you told us your age - your profile says you're 22, so you're asking about code prior to 1987.

    Also consider: The Unix Programming Environment from 1984.