S
SL@maxis
Strange.
Nobody talks about c-programming for Linux ?
Nobody talks about c-programming for Linux ?
Wrong group.Strange.
Nobody talks about c-programming for Linux ?
Wrong group.
I mean there is no group on C/C++ programming for Linux ??
Strange.
Nobody talks about c-programming for Linux ?
Nobody talks about c-programming for Linux ?
What's there to talk about?
Anybody claiming a good working knowledge of Linux is probably already a
decent C programmer
and almost anything Linux-specific you'd need to know
is covered in remarkably few books:
- "UNIX Systems Programming for SVR4" (the O'reilly "Lion" book) is still
directly applicable to modern Linuxes.
- section 2 of the man pages (of course)
- "Lex & Yacc" (O'Reilly) - equally good for Flex and Bison
- "Pthreads Programming" (O'Reilly)
and, more generally
- "The Practice of Programming" - Kernighan & Pike
- "Algorithms" - Sedgewick
The latter two are useful no matter what language you're writing in.
Kernighan & Pike is excellent for advice on writing well-structured
programs that are easy to maintain and debug - and there's even a bit of
Java in it.
"Algorithms" is written in Pascal, but its good, clear well-explained
code and very easy to transcribe into other languages. It was recommended
to me by one of the best programmers I know and I've certainly found it
useful. It may not be a comprehensive as Knuth, but it occupies a lot
less shelf space and is rather cheaper, and I've found it more generally
useful than Wirth's "Algorithms + Data Structures = Programs".
I assume that every C programmer has a copy of Kernighan & Richie's "The
C programming language".
What's there to talk about?
...
...
I assume that every C programmer has a copy of Kernighan & Richie's "The
C programming language".
Have a look at comp.unix.programmer, Lot of C in that group!
I don't write C++. I have a copy of Stroustoup but found it much harder
to read than K&R.
I tried to get into C++ but (a) didn't like it a lot and
(b) found *huge*
binary bloat and rubbish performance.
Besides, almost every time I've
needed to read a C++ program I've discovered it to be essentially ANSI C
with // comments and not an object in sight.
I've been writing C for something like 25 years (and COBOL for the 15
before that) and tend to collect books. That short list is the stuff I've
settled on as the essentials for writing C in a *NIX environment.
...
- for Windows, you'll probably end up with half a shelf of stuff which is
likely to be incomplete, thanks to MS's fondness for undocumented
features. Been there, done that, still got the pile of moldering books.
- for Windows, you'll probably end up with half a shelf of stuff which is
likely to be incomplete, thanks to MS's fondness for undocumented
features. Been there, done that, still got the pile of moldering books.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.