?
Solved

How to start

Posted on 1998-12-21
7
Medium Priority
?
252 Views
Last Modified: 2010-04-02
Hello I would like to learn a language I can write basic perl but want to learn c or c++.

What do I need to get eg a compiler and where do I start ?

best wishes from New Zealand
0
Comment
Question by:wampy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 1

Expert Comment

by:The_Brain
ID: 1180713
I guess it would be best to search for C++ compiler on any search enine, and you will find some shareware comilers, but it would be best to buy VC6.  I suggest going to www.macmillan.com for books online for C++.  This is the best start.  (DJGPP is a compiler which is sharware.
0
 
LVL 8

Accepted Solution

by:
Answers2000 earned 150 total points
ID: 1180714
1. Buy Microsoft Visual C++ or another compiler.  If VC buy the standard or learning edition (the learning edition is limited in several ways in terms of producing commercial software but this may not be a problem if just learning).  US Standard edition costs about USD $92 with a $50 rebate.

Unfortunately I can't give you a URL (Beyond.com has it, but won't sell VC Standard outside the USA).

Another alternative is Turbo C++ which have a bundle (Win3.1 Win 95/NT and DOS compilers) for $70.  There is a $12 discount at beyond.com
http://www.beyond.com/AF11804/PKIN665743/prod.htm
This includes a version of C++ builder (see below) and a teach-your-self book on it (please note this isn't the hottest lattest greatest version of C++ Builder)

If you want to produce Windows programs very quickly you might also want to consider C++ Builder.  This is sort of a VB/Delphi approach applied to VC (RAD meets C++)
http://www.beyond.com/AF11804/PKIN665738/prod.htm


2. Get a good book, example :
C++ from the Ground Up
by Herbert Schildt
http://www.amazon.com/exec/obidos/ASIN/0078819695/answers2000limit
0
 
LVL 22

Expert Comment

by:nietod
ID: 1180715
VC is probably the best compiler to start with.  It probably a little harder to learn to use at first than some.  But it has better online help and debuggign support than any other (far better).  For C++ programming books I reccomend you start with "C++ How to program" by Dietal and Dietal and "The C++ programming Language" by Bjarne Stroustrup:  The first is a good introduction to c++, the 2nd is more of an anotated reference to the language that all programmers should have.  There is no substitute for that one.  Later I recomend the "Effective C++" series by Scott Meyers.  Absolutely essential for advanced C++ programming.  No substitute.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 22

Expert Comment

by:nietod
ID: 1180716
>> If you want to produce Windows programs very quickly you might
>> also want to consider C++ Builder.
I don't see any advantage to builder.  It is not easier to use.  (The help and debugger don't compare.)  I use it only because it is faster than VC to compile large projects.  For a beginner it isn't going to matter.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1180717
Stroustrup's book is definitely not suitable for C++ beginners.  I recomment Lippman's "C++ primer, 3rd edition"
0
 
LVL 22

Expert Comment

by:nietod
ID: 1180718
Stroutrup's book doesn't teach the C++ language (at least certainly not to beginners).  It is more of a reference to the language--one that is understanable, not a bunch of syntax diagrams (they are %100 accurate, 100% complete, and 100% incomprehensible)  However, I think it works well in conjuction with a book that is aimed at beginners.  This is because once a concept is explained in the other book, it can be understood more precisely and more clearly with the Stroustrup book.  Many other books tend to leave lots of holes, and inaccuracies that the Stroustrup book fills in.  While a beginner book might explain how to do something in C++, the stroustrup book tends to explain why it done that way, or provide a explanation of several options and discuss which is the best.  However, by itself it certainly is not sufficient.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1180719
I don't think of "The C++ Programming Language" as a reference.  Now, the ARM was an excellent reference (hopelessly outdated now).  TC++PL is probably on of the best C++ books but it's hard to categorize...
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question