From owner-freebsd-questions Fri Feb 12 06:13:45 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA15500 for freebsd-questions-outgoing; Fri, 12 Feb 1999 06:13:45 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from post.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA15485 for ; Fri, 12 Feb 1999 06:13:36 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by post.mail.demon.net with smtp (Exim 2.12 #1) id 10BJLR-0005Sr-00; Fri, 12 Feb 1999 14:13:26 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from beavis.uk.radan.com (beavis [193.114.228.122]) by uk.radan.com (8.6.10/8.6.10) with SMTP id OAA03162; Fri, 12 Feb 1999 14:12:40 GMT Received: from uk.radan.com (gppsun4) by beavis.uk.radan.com (4.1/SMI-4.1) id AA06466; Fri, 12 Feb 99 14:12:38 GMT Message-Id: <36C436D4.F2590C3F@uk.radan.com> Date: Fri, 12 Feb 1999 14:12:36 +0000 From: Mark Ovens Organization: Radan Computational Ltd X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 4.1.3_U1 sun4m) X-Accept-Language: en-GB Mime-Version: 1.0 To: Greg Black Cc: Ersin Miman , freebsd-questions@FreeBSD.ORG Subject: Re: Where can I find C/C++ Tutorial for FreeBSD? References: <19990212134727.29300.qmail@alpha.comkey.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > > 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