Date: Fri, 12 Feb 1999 14:12:36 +0000 From: Mark Ovens <marko@uk.radan.com> To: Greg Black <gjb@comkey.com.au> Cc: Ersin Miman <emiman@ispro.net.tr>, freebsd-questions@FreeBSD.ORG Subject: Re: Where can I find C/C++ Tutorial for FreeBSD? Message-ID: <36C436D4.F2590C3F@uk.radan.com> References: <Pine.BSF.4.05.9902111515020.9272-100000@finland.ispro.net.tr> <19990212134727.29300.qmail@alpha.comkey.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Black wrote: > > > I know Borland C/C++ for dos/windows but I installed FreeBSD on my > > computer and I want to learn freeBSD C/C++ . > > > > C/C++ that running on the freeBSD is different from Borland C/C++ and > > there is some syntax declaration. > > > > where can I find C/C++ Tutorial for freeBSD and sample code? > > To start with, stick to Standard C and you'll be fine. When > you've got the hang of that, read the man pages in sections 2 > and 3 to see what is available under FreeBSD. For sample code, > read the FreeBSD sources. Start with easy things like cat(1) > and gradually work up to more complex programs like ls(1). Then > have a look at using sockets and X-Windows, and you'll be on > your way. There are some tutorials for some of the more complex > stuff in /usr/share/doc. > and get yourself a copy of The C Programming Language by Kernighan & Ritchie. Dennis M. Ritchie is the guy who designed (invented) the language and the book is considered to be the definition of C. > If you're looking for a simple environment to write, compile, > test and debug your programs, consider installing and learning > to use Emacs as your editor. It has excellent support for this. > > As for C++, don't bother. It will make you go blind and serves > no useful purpose other than to sell lots of useless books, > magazines, training courses, debuggers, and chairs for all the > extra programmers that are needed to write simple software in > complex ways. > > You may find a few people who disagree with the opinions in the > two paragraphs before this one. You'll have to decide whether > to listen to them or to the voice of reason :-) > > -- > Greg Black <gjb@acm.org> > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36C436D4.F2590C3F>