C or C++ first?

E

English Teacher

Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.
 
R

Richard Heathfield

[Crossposts removed. If you read this newsgroup, you will see this answer.
If you don't, you won't.]

English said:
Should I learn C first? Or can I go straight to C++ or C#?

Learn C. It is not necessary to learn either C++ or C#, but you may if you
wish. Nevertheless, you should learn C before learning either of those.
 
D

David White

English Teacher said:
Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.

I'll get in before E. Robert Tisdale this time and point out that this is an
obvious troll. Please ignore it.

DW
 
M

Martin Ambuhl

English said:
Should I learn C first? Or can I go straight to C++ or C#?

If you want to learn C, learn C.
If you want to learn C++, learn C++, and then forget all the obscurantist
stuff.
If you want to learn C#, shoot yourself before you spread the virus.

[rec.woodworking, rec.photo.digital, rec.photo.equipment.35mm,
comp.lang.c++ removed. "English Teacher" is a well-known illiterate troll.]
 
A

Andrey Tarasevich

Micah said:
Why the hell is this message cross-posted to newsgroups on
woodworking and photography? Follow-ups fixed; please desist from
posting to newsgroups which are not relevant to your question.
...

This is the same moron that's been wasting bandwidth and ASCII
characters in rec.photo.equipment.35mm for quite some time now. Just
ignore him.
 
M

Micah Cowan

Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.

Why the hell is this message cross-posted to newsgroups on
woodworking and photography? Follow-ups fixed; please desist from
posting to newsgroups which are not relevant to your question.

If you wish to learn C, then learn it. If your sole desire is to
learn C++ or C#, then you are much better off learning C++ or C#
without going through C first. In particular, if you learn C
hoping that it will give you a boost in your understanding of
C++, you are probably mistaken: you will have to unlearn several
things from C that have been changed in C++. Moreover, there are
things which are considered proper and correct in C that are
considered poor style in C++, and vice-versa; and both viewpoints
are often correct given the context of the separate languages.
 
E

Ed Morrow

Micah said:
Why the hell is this message cross-posted to newsgroups on
woodworking and photography? Follow-ups fixed; please desist from
posting to newsgroups which are not relevant to your question.

If you wish to learn C, then learn it. If your sole desire is to
learn C++ or C#, then you are much better off learning C++ or C#
without going through C first. In particular, if you learn C
hoping that it will give you a boost in your understanding of
C++, you are probably mistaken: you will have to unlearn several
things from C that have been changed in C++. Moreover, there are
things which are considered proper and correct in C that are
considered poor style in C++, and vice-versa; and both viewpoints
are often correct given the context of the separate languages.
lol maybe he needs to learn to C so he can take pictures and make a table :)
 
D

Dan Pop

In said:
Why the hell is this message cross-posted to newsgroups on
woodworking and photography? Follow-ups fixed; please desist from
posting to newsgroups which are not relevant to your question.

If you wish to learn C, then learn it. If your sole desire is to
learn C++ or C#, then you are much better off learning C++ or C#
without going through C first. In particular, if you learn C
hoping that it will give you a boost in your understanding of
C++, you are probably mistaken: you will have to unlearn several
things from C that have been changed in C++. Moreover, there are
things which are considered proper and correct in C that are
considered poor style in C++, and vice-versa; and both viewpoints
are often correct given the context of the separate languages.

Things are more complicated in the real world.

What kind of C++ programming do you intend to do? If it's supposed
to be limited to the high level of C++ (i.e. using classes already
implemented by other people), then there is little point in wasting
time learning C.

If you have to use C++ at its lowest level (i.e. you have to implement
your classes from scratch), few C++ tutorials provide enough coverage
of the low level C++ features (many of which are basically the same
as in C). This is where previous knowledge of C usually helps.

Dan
 
T

Thomas Matthews

English said:
Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.

This person should be reported to their ISP for network abuse.
This issue has already been discussed in before. The
clue is
Please use your favorite search engine and search these
newsgroups before posting.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
 
E

E. Robert Tisdale

Micah said:
Why the hell is this message cross-posted to newsgroups
on woodworking and photography?

Because it's an obvious troll.
Follow-ups fixed; please desist from posting to newsgroups
which are not relevant to your question.

If you wish to learn C, then learn it. If your sole desire is to
learn C++ or C#, then you are much better off learning C++ or C#
without going through C first. In particular, if you learn C
hoping that it will give you a boost in your understanding of
C++, you are probably mistaken: you will have to unlearn several
things from C that have been changed in C++. Moreover, there are
things which are considered proper and correct in C that are
considered poor style in C++, and vice-versa; and both viewpoints
are often correct given the context of the separate languages.

If it were left up to me to decide whether to teach C, C++ or C#,
I would teach C++.
It's much easier to teach good programming practice in C++ than in C.
I would be very reluctant to teach either Java or C# --
not because their is anything very wrong with these languages
but because neither language is *standardized* like C or C++.
 
F

Frank ess

Thomas Matthews said:
This person should be reported to their ISP for network abuse.
This issue has already been discussed in before. The
clue is
Please use your favorite search engine and search these
newsgroups before posting.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

not here
 
J

jeffc

Tony Spadaro said:
No shirt Shitlock
If you didn't answer this crap it would dissapear. Programmers are
apparently both ignorant and arrogant.

An interesting paradox. Should we now reply to this troll?
(oops!)
 
D

David White

Tony Spadaro said:
No shirt Shitlock
If you didn't answer this crap it would dissapear. Programmers are
apparently both ignorant and arrogant.

Someone is always going to answer this crap. It's virtually guaranteed that
someone somewhere will see that no one has responded, not realize it's a
troll, and answer it. The best you can hope for is a single response
pointing out that it's a troll.

DW
 
M

Micah Cowan

Things are more complicated in the real world.

What kind of C++ programming do you intend to do? If it's supposed
to be limited to the high level of C++ (i.e. using classes already
implemented by other people), then there is little point in wasting
time learning C.

If you have to use C++ at its lowest level (i.e. you have to implement
your classes from scratch), few C++ tutorials provide enough coverage
of the low level C++ features (many of which are basically the same
as in C). This is where previous knowledge of C usually helps.

My preference is to find a better tutorial. Stroustrup is quite
excellent; though I found parts of it (notably the ones
contrasting it with C) a tad ego-heavy...

I agree that having previous knowledge of C helps speed up the
learning process for C++ (it did for me); However, learning C for
the sole purpose of moving on to C++ is a bad idea IMO, since you
end up having to unlearn certain things; the net result is that
you take at least a little more time overall than you would if
you had just started in learning C++ (that is, if by C++ you mean
"including the low-level, C-like stuff").

-Micah
 
J

Joe Thibodeau

C is far from dead ... it is the backbone of just about every computing
system out there. Every modern language has been influenced by C and as we
speak C is the defacto standard for small embedded systems. Try cramming C#
into a microcontroller domain space. Larger embedded systems use C++
extensively. So the next time you pick up your shaver or get an ultrasound
or turn on your car or listen to your stereo ... think C.

My advice is to learn C first since it is the backbone for every modern
programming language in the last 10 years.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,093
Messages
2,570,607
Members
47,227
Latest member
bluerose1

Latest Threads

Top