Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > To get started with C++

Reply
Thread Tools

To get started with C++

 
 
dalbert169@gmail.com
Guest
Posts: n/a
 
      10-07-2008
Hi folks........
I want to learn C++,I already know C Language,will that help me.I
require it for my job,How many days will it take to learn?

==========
daniel

<a href="http://www.widecircles.com">Link Building</a>
 
Reply With Quote
 
 
 
 
Ian Collins
Guest
Posts: n/a
 
      10-07-2008
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> Hi folks........
> I want to learn C++,I already know C Language,will that help me.


Somewhat, at least you know how write and compile programs.

> I require it for my job,How many days will it take to learn?
>

I've been using C++ for sixteen years and I'm still learning.

If you are familiar with C, get a copy of Accelerated C++.

http://www.acceleratedcpp.com/

--
Ian Collins.
 
Reply With Quote
 
 
 
 
anon
Guest
Posts: n/a
 
      10-07-2008
(E-Mail Removed) wrote:
> Hi folks........
> I want to learn C++,I already know C Language,will that help me.I
> require it for my job,How many days will it take to learn?


Read this:
http://norvig.com/21-days.html
and you might get an estimate how long it should take you.
 
Reply With Quote
 
minix09
Guest
Posts: n/a
 
      10-07-2008
On Oct 7, 8:29*am, (E-Mail Removed) wrote:
> Hi folks........
> I want to learn C++,I already know C Language,will that help me.I
> require it for my job,How many days will it take to learn?
>
> ==========
> daniel
>
> <a href="http://www.widecircles.com">Link Building</a>


read it for begining...
http://www.cplusplus.com/doc/tutorial/
one of the best site i used...
<><><><><><><><><><><><><><><><><>
Andy
 
Reply With Quote
 
a_linux_user
Guest
Posts: n/a
 
      10-07-2008
http://www.icce.rug.nl/docs/cplusplus/

I like the above site a lot. Especially for someone trying to make a
transition from C to C++, it is quite nice.

Another nice site is http://users.ece.utexas.edu/~adnan/C++/

Both these are ad-free sites, with just pure good quality free
content. I am thankful to the authors of the documents.

BUT, as others have pointed out: one has to practice a lot. I am
trying to make a transition from "C with classes" to C++. It is
gradual, but to begin with these are some things I try to do: use STL
when possible, use references, learn to use const when possible, try
to avoid pointer arithmetic, use the library facilities when you can
rather than reinventing the wheel (that is not quite circular) ...
Sometimes my first version of a program looks a lot like C (and a bit
dirty, although this is not to say C is dirty), but then I make an
effort to clean it up, and simplify it, and often I notice that using
some C++ features, I can simplify the code, make it more readable,
safer, ... I am no expert, so I welcome some experts to comment on
what I have suggested above.

On Oct 7, 4:29*am, (E-Mail Removed) wrote:
> Hi folks........
> I want to learn C++,I already know C Language,will that help me.I
> require it for my job,How many days will it take to learn?
>
> ==========
> daniel
>
> <a href="http://www.widecircles.com">Link Building</a>


 
Reply With Quote
 
Hendrik Schober
Guest
Posts: n/a
 
      10-07-2008
(E-Mail Removed) wrote:
> Hi folks........
> I want to learn C++,I already know C Language,will that help me.I
> require it for my job,How many days will it take to learn?


Opinions whether a knowledge of C helps learning C++ vary.
I'm in the it-hinders camp. Using C++ as a better C means
missing a huge percentage of its most powerful feature set.
I second the recommendation of "Accelerated C++" by Koenig
and Moo. It's excellent, although it has quite a steep
learning curve. The 2nd edition of Meyers' "Effective C++"
was aimed at former C programmers (the current, 3rd, is
more aimed at converts coming from other languages) and is
a very good 2nd C++ book to read.
Expect to need years, not days, weeks, or months, to become
a good professional C++ programmer. Expect to need weeks or
even months, not days, to become a C++ novice.
Subscribe to some beginner's forum and ask early and often.
There's nothing like discussing your ideas to find out that,
why, and where they're wrong.

HTH,

Schobi
 
Reply With Quote
 
James Kanze
Guest
Posts: n/a
 
      10-07-2008
On Oct 7, 11:34 am, Hendrik Schober <(E-Mail Removed)> wrote:
> (E-Mail Removed) wrote:


> > I want to learn C++,I already know C Language,will that help
> > me.I require it for my job,How many days will it take to
> > learn?


> Opinions whether a knowledge of C helps learning C++ vary.


There are some ways it certainly helps. If you know C, then you
already know how to use an editor to create source code, and
invoke a compiler to compile and link a program. You also have
a grasp of some important basics, like lexical blocks. You know
what a loop is, and what a conditional statement is, and a
function. And if you're not in an English speaking country,
you've managed to figure out how to enter things like { or |
with your keyboard.

Judging from some of the questions we see here, those are
already significant steps. If you know neither C nor C++, and
the goal is to learn C++, then going through C will only take
more time, since you'll have to learn a lot of things which are
irrelevant, or even which should be avoided in C++. But if you
already know C, for whatever reasons, and realize the limits of
applying your knowledge of it to C++, then it can certainly
help.

--
James Kanze (GABI Software) email:(E-Mail Removed)
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
 
Reply With Quote
 
Hendrik Schober
Guest
Posts: n/a
 
      10-07-2008
James Kanze wrote:
> On Oct 7, 11:34 am, Hendrik Schober <(E-Mail Removed)> wrote:
> [...]
>> Opinions whether a knowledge of C helps learning C++ vary.

>
> There are some ways it certainly helps. [...]


I know and I agree with your examples.
I was applying my statement to the overall-helpfulness.
I have been teaching C++ and IME those who already know
C (or Java, FTM) need to unlearn a lot of things which
are considered bad habits in C++. Usually, this greatly
outweighed the advantages.
But that's just my opinion, others may have different
ones.

Schobi
 
Reply With Quote
 
Rashad
Guest
Posts: n/a
 
      10-07-2008
you must do small projects in c++ , you create existing applications
in your own way.
you can find a better gui tookit on www.fox-toolkit.org www.fox-tookit.net

c++ is not a better C
it has its own existence. do never follow C coding in C++ . understand
c++ concepts and write
c++ code which includes more than 80% of c++ features.

c++ annotation whic is available free of charge on debian linux OS
will be a good guide

using gnu c++ compiler / other standard comipler

 
Reply With Quote
 
sean_in_raleigh@yahoo.com
Guest
Posts: n/a
 
      10-07-2008
On Oct 6, 11:29 pm, (E-Mail Removed) wrote:
> Hi folks........
> I want to learn C++,I already know C Language,will that help me.I
> require it for my job,


> How many days will it take to learn?


I agree with others that it will take *years*
to become a good C++ programmer, but that's
true of any other language as well. It's
just truer for C++ since the language is
so incredibly deep, with so many non-obvious
interactions among the various features.

I would suggest reading the books recommended
above, and for help I recommend the Wikipedia
Computing Reference Desk:

http://en.wikipedia.org/wiki/Wikiped...desk/Computing

A number of professional C++ programmers hang
out there, and the desk is focused on giving
good answers to what the questioner probably
meant, rather than comp.lang.c++'s strength
in pointing out the various flaws in question,
grammar, and choice of newsgroup in which to
post.

Sean

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
if a variable is started inside a closure, can it ever be redeclared and started over, outside of the original function? Jake Barnes Javascript 2 02-15-2006 03:32 AM
How to get started with MCSD Exams Jayanta MCSD 5 08-15-2004 08:12 PM
trying to get started with MCSD junioruk MCSD 20 08-05-2004 01:18 PM



Advertisments