Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The code in the examples is not valid in any historical version of C. The use of the -> operator with an implicit int as the left argument ("entry" in the examples) was only valid from 1975 in Unix C (but not in GCOS C) until K&R C in 1978. The use of C++ style comments ("//") is only valid in standard C since 1999.

There's no point in arguing over pseudocode as if it's C.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: