Linked by Eugenia Loli on Thu 13th Oct 2011 00:28 UTC
General Unix Twitter is currently buzzing about the death of Dennis Ritchie, the visionary creator of UNIX and C, among other things. We hope it's just a false rumor. Story developing, we will be updating. Update: Unfortunately, it seems to be confirmed. Rob Pike, co-creator of the Plan 9 and Inferno OSes, who has worked with Ritchie in the past, and he's currently working for Google's GO language, posted this.
Permalink for comment 492899
To read all comments associated with this story, please click here.
RE[3]: Comment by shylock_1
by FunkyELF on Thu 13th Oct 2011 15:35 UTC in reply to "RE[2]: Comment by shylock_1"
FunkyELF
Member since:
2006-07-26

Sorry.... there are no sixteen lines in the code. I wonder where did you get the last line for printf...?


There are 20 lines of code if you include the last comment "Rest in Peace".

You know that empty lines still count as lines right?
#include <stdio.h> was line 1 and the end of the main function "}" was at line 16.

In all cases when you code in C and get compile errors, you ignore everything but the top error, fix it, recompile, and see if that fixed the rest.

In this case it did.... line 11 was this...

printf("New and Young developer and an old timers those pass through\");

You started a string and didn't end it. Probably because you meant to put \n"); but instead put \");

Reply Parent Score: 2