Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: C for linux ?? Date: Thu, 22 Nov 2012 21:12:52 +0000 (UTC) Organization: UK Free Software Network Lines: 57 Message-ID: References: <50ADD3EC.3040808@telia.com> <50ae3e04$0$284$14726298@news.sunsite.dk> NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1353618772 7731 84.45.235.129 (22 Nov 2012 21:12:52 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Thu, 22 Nov 2012 21:12:52 +0000 (UTC) User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Xref: csiph.com comp.lang.java.programmer:19855 On Thu, 22 Nov 2012 10:00:17 -0500, Arne Vajhøj wrote: > On 11/22/2012 8:39 AM, SL@maxis wrote: >> On Thu, 22 Nov 2012 15:27:40 +0800, Lars Enderin >> wrote: >> >>> Wrong group. >> >> I mean there is no group on C/C++ programming for Linux ?? > > Maybe not. > > But there are both C, C++ and Linux groups. > 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". -- martin@ | Martin Gregorie gregorie. | Essex, UK org |