From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 17 02:38:46 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2F1E941 for ; Mon, 17 Mar 2014 02:38:45 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BDFCCB3 for ; Mon, 17 Mar 2014 02:38:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=0v06V4D4twrHn6IjgxpCLfgul9agxVWsoBi5mr922+0=; b=Tjy4Pcf3YzdkMtePl3P3vIrlfnE65VF4r4M9DJ1xdA0XfJpaUnxMHNKYyawBqNucM4xQXcuBJEFhfkkvaiqFgLPzYXJqnh97p9VzBxeJ8RymOxd1f5QaC3Q4vixImeVPbKvuMbOFG0UVt036h6OyYBb0TcoUInU2Lsj1Fs85ZSg=; Received: from [114.123.51.187] (port=62398 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1WPNRm-001v88-NA; Sun, 16 Mar 2014 20:38:39 -0600 Date: Mon, 17 Mar 2014 10:38:30 +0800 From: Erich Dollansky To: by Subject: Re: Something related to C and C++ Message-ID: <20140317103830.53c42ade@X220.alogt.com> In-Reply-To: References: Organization: ALO Green Technologies X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erich@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-Mailman-Approved-At: Mon, 17 Mar 2014 03:34:26 +0000 Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2014 02:38:46 -0000 Hi, On Mon, 17 Mar 2014 10:20:55 +0800 by wrote: as C++ is C plus 'some' extras, just start with C. When you know C - which you have to know anyway to write C++ programs - you can add C++ to your knowledge. Never forget that object orientated programming is much older than C++ and can be done in most languages. I did my first steps in object orientated programming in 8080 assembler without even knowing that what I did will be later be known as object orientated programming. The little programming I still do is all done in C but using some of the 'addons' of C++. So, all my sources are .cpp files. Erich > Hi, > At first, I would say, I do not want to lead to a holy war between > programming languages, and I am a newbie in this field, but I am > confused about this, so I want get some answers or discusses from > here to help me thinking about this. I found that in IT industry, C++ > has more and more users, I can understand why they do this, C++ can > make them build system more easy than C does. okay, I just know a > little about C++, but in my feeling, C++ can make you do things in a > higher place. Yes, C++ is great, but for me, it is too difficult, or > I would say, it is too complicated. I got two books in my hand, one > is <>, another is < Language>>. Just consider from the weight : ) You can find something. > Language>>In the past, GCC use C, but now it turn to C++, and LLVM is > Language>>written by C++. Yes I prefer C now, and you may say, you > Language>>have not use these two languages deeply, how could you > Language>>judge them? Yes, I know I should not judge them, but as a > Language>>newbie, this is my very feeling, just like a kid first > Language>>looking at this world! Simple, but confused. At last, I am > Language>>not lead to a holy war between programming languages, I > Language>>just confused and want some related answers. This is it. : ) > > - by > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org"