Solved

How to start

Posted on 1998-12-21
7
198 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
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 50 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
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 learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now