473,379 Members | 1,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

C or C++ first?

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

Thanks in advance.
Jul 19 '05 #1
26 3726
English Teacher <En************@ModernEnglish.com> wrote in message
news:b0**************************@posting.google.c om...
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

Jul 19 '05 #2
"English Teacher" <En************@ModernEnglish.com> wrote in message
news:b0**************************@posting.google.c om...
Should I learn C first?
Yes.
Or can I go straight to C++ or C#?
Yes.
Thanks in advance.


You're welcome.

-Mike
Jul 19 '05 #3
En************@ModernEnglish.com (English Teacher) writes:
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.

--
Micah J. Cowan
mi***@cowan.name
Jul 19 '05 #4
Micah Cowan wrote:
En************@ModernEnglish.com (English Teacher) writes:
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.
...


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.

--
Best regards,
Andrey Tarasevich
Brainbench C and C++ Programming MVP

Jul 19 '05 #5
Micah Cowan wrote:
En************@ModernEnglish.com (English Teacher) writes:

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.

lol maybe he needs to learn to C so he can take pictures and make a table :)

Jul 19 '05 #6
In <m3************@localhost.localdomain> Micah Cowan <mi***@cowan.name> writes:
En************@ModernEnglish.com (English Teacher) writes:
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.


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
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Jul 19 '05 #7
English Teacher wrote:
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 news:comp.lang.c,
news:comp.lang.c++, news:rec.woodworking before. The
clue is news:rec.woodworking.

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

Jul 19 '05 #8
Micah Cowan wrote:
En************@ModernEnglish.com (English Teacher) writes:
Should I learn C first? Or can I go straight to C++ or C#?
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++.

Jul 19 '05 #9

"Thomas Matthews" <Th**********************@sbcglobal.net> wrote in message
news:qb******************@newssvr16.news.prodigy.c om...
English Teacher wrote:
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 news:comp.lang.c,
news:comp.lang.c++, news:rec.woodworking before. The
clue is news:rec.woodworking.

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
Jul 19 '05 #10
No shirt Shitlock
If you didn't answer this crap it would dissapear. Programmers are
apparently both ignorant and arrogant.

--
http://www.chapelhillnoir.com
home of The Camera-ist's Manifesto
The Improved Links Pages are at
http://www.chapelhillnoir.com/links/mlinks00.html
A sample chapter from my novel "Haight-Ashbury" is at
http://www.chapelhillnoir.com/writ/hait/hatitl.html
"David White" <no@email.provided> wrote in message
news:9Y******************@nasal.pacific.net.au...
English Teacher <En************@ModernEnglish.com> wrote in message
news:b0**************************@posting.google.c om...
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

Jul 19 '05 #11

"Tony Spadaro" <ts******@ncmaps.rr.com> wrote in message
news:Rx*******************@twister.southeast.rr.co m...
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!)
Jul 19 '05 #12
Tony Spadaro <ts******@ncmaps.rr.com> wrote in message
news:Rx*******************@twister.southeast.rr.co m...
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

Jul 19 '05 #13
Da*****@cern.ch (Dan Pop) writes:
In <m3************@localhost.localdomain> Micah Cowan <mi***@cowan.name> writes:
En************@ModernEnglish.com (English Teacher) writes:
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.


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
Jul 19 '05 #14
En************@ModernEnglish.com (English Teacher) wrote in message news:<b0**************************@posting.google. com>...
Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.


C is dead. C++ is dying. C# is the future.
Jul 19 '05 #15


Leicaddict wrote:

En************@ModernEnglish.com (English Teacher) wrote in message news:<b0**************************@posting.google. com>...
Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.


C is dead. C++ is dying. C# is the future.


Dream on.

--
Karl Heinz Buchegger
kb******@gascad.at
Jul 19 '05 #16
Le*********@uwphotographer.net (Leicaddict) wrote:
En************@ModernEnglish.com (English Teacher) wrote in message news:<b0**************************@posting.google. com>...
Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.


C is dead. C++ is dying. C# is the future.


Leica is dead. Photography is dying. Camera obscura is the future.
--
Irrwahn
(ir*******@freenet.de)
Jul 19 '05 #17
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.

"Leicaddict" <Le*********@uwphotographer.net> wrote in message
news:71*************************@posting.google.co m...
En************@ModernEnglish.com (English Teacher) wrote in message

news:<b0**************************@posting.google. com>...
Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.


C is dead. C++ is dying. C# is the future.

Jul 19 '05 #18
Pinhole lives!!! Hey where are those glass plates!

"Irrwahn Grausewitz" <ir*******@freenet.de> wrote in message
news:ef********************************@4ax.com...
Le*********@uwphotographer.net (Leicaddict) wrote:
En************@ModernEnglish.com (English Teacher) wrote in message news:<b0**************************@posting.google. com>...
Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.


C is dead. C++ is dying. C# is the future.


Leica is dead. Photography is dying. Camera obscura is the future.
--
Irrwahn
(ir*******@freenet.de)

Jul 19 '05 #19
Leicaddict wrote:
En************@ModernEnglish.com (English Teacher) wrote in message news:<b0**************************@posting.google. com>...
Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.

C is dead. C++ is dying. C# is the future.


This troll looks very similar to the original troll to which it is
replying. I'd say this is the OP trying again to start a flame war for
the purpose of flooding the groups where this is clearly not-topical.
Please ignore it.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 19 '05 #20
Joe Thibodeau wrote:
C is far from dead ...


Please don't top-post. If it's accepted on whatever group you are
replying from then fine, but when cross-posting please adopt the Usenet
standard formatting.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 19 '05 #21
On Mon, 27 Oct 2003 07:49:57 -0800, "Joe Thibodeau"
<je*****@allvantage.com> wrote:
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.
Even C++ is C. It's just C with a *lot* or added routines...written
in C. Nor does C require all the DLLs of C++. Compiled C is so much
more compact than a stand alone C++ it's difficult to compare them.
Many refer to the visual languages as producing "bloat code"
You compile C, it gets even smaller (depending on how many libraries
you use). Compile C++ into a stand alone program and it becomes huge.
I compiled roughly 40 K of source for C++ and it became nearly 10
megs.

The most difficult part of C for almost any programmer is learning
pointers and dynamic memory allocation. That and depending on how
strong you have the type checking set it may let you do virtually
anything to anything with some rather strange and sometimes disastrous
results. But, it is important to learn how to use pointers, linked
lists, double linked lists and even circular linked lists. It's
probably easier to learn these concepts in either Pascal, or Delphi
which is far from dead as well...although it is suffering.

My advice is to learn C first since it is the backbone for every modern
programming language in the last 10 years.
Straight C is a relatively low level language, but far higher than
assembler. It's cryptic to read, but that same primitive level gives
it the power to do almost anything. Learn C and C++ will be a snap.
Just think of C++ as C with a lot of added routines already written
that give it the ability to work with object oriented apps. If you
already know C then you don't have to suffer with the basics while
trying to understand inheritances. <:-))

Actually VB is powerful and easy to learn, but not as powerful as C++.
Yet it will do most things an individual would want. OTOH it's
probably not going to be much help when looking for a job.
VB dot net is basically (no pun intended) VB with the dot net
capabilities added.

Yet, if a programmer is looking for a job the main ingredient is
having a degree, plus knowing the languages that particular firm uses.
With the current state of the industry, those doing the hiring can now
afford to be really picky.

You will find there are many obscure languages out there in use by
specific firms. Hence it's desirable to know "top down and bottom up"
*structured* programming. Be able to flow chart a program logically
(nasischneiderman? Never could spell it), and write pseudocode. Know
debugging inside out as you'll need it. Another important virtue is
knowing how to document your source code both internally and
externally in a manner than any one coming behind can understand.
Don't write documentation in such a manner that it takes an
experienced programmer to even get an idea as to what you are talking
about.

Roger Halstead (K8RI EN73 & ARRL Life Member)
www.rogerhalstead.com
N833R World's oldest Debonair? (S# CD-2)
"Leicaddict" <Le*********@uwphotographer.net> wrote in message
news:71*************************@posting.google.c om...
En************@ModernEnglish.com (English Teacher) wrote in message

news:<b0**************************@posting.google .com>...
> Should I learn C first? Or can I go straight to C++ or C#?
>
> Thanks in advance.


C is dead. C++ is dying. C# is the future.


Jul 19 '05 #22
Speaking of trolls ...

"Kevin Goodsell" <us*********************@neverbox.com> wrote in message
news:gO*****************@newsread3.news.pas.earthl ink.net...
Joe Thibodeau wrote:
C is far from dead ...


Please don't top-post. If it's accepted on whatever group you are
replying from then fine, but when cross-posting please adopt the Usenet
standard formatting.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 19 '05 #23
Joe Thibodeau <je*****@allvantage.com> scribbled the following
on comp.lang.c:
Speaking of trolls ...
Are you out of your freaking mind?
*PLONK*
"Kevin Goodsell" <us*********************@neverbox.com> wrote in message
news:gO*****************@newsread3.news.pas.earthl ink.net...
Joe Thibodeau wrote:
> C is far from dead ...


Please don't top-post. If it's accepted on whatever group you are
replying from then fine, but when cross-posting please adopt the Usenet
standard formatting.


--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"To err is human. To really louse things up takes a computer."
- Anon
Jul 19 '05 #24
Joe Thibodeau wrote:
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.

"Leicaddict" <Le*********@uwphotographer.net> wrote in message
news:71*************************@posting.google.co m...
En************@ModernEnglish.com (English Teacher) wrote in message


news:<b0**************************@posting.google. com>...
Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.


C is dead. C++ is dying. C# is the future.


My Canon A2e replaced my old OM-1 system which was getting long in the
tooth. Now buying long lenses is not a waste of money.

Bob
Jul 19 '05 #25
> Many refer to the visual languages as producing "bloat code"

I don't think that C++ is a 'visual language', whatever that means.
Jul 19 '05 #26
Le*********@uwphotographer.net (Leicaddict) threw a soggy newspaper
against the wall, and here's what stuck:
En************@ModernEnglish.com (English Teacher) wrote in message
news:<b0**************************@posting.google. com>...
Should I learn C first? Or can I go straight to C++ or C#?

Thanks in advance.


C is dead. C++ is dying. C# is the future.


At least put bait on the hook before you cast.

PMP
Jul 19 '05 #27

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Hung Jung Lu | last post by:
Hi, Does anybody know where this term comes from? "First-class object" means "something passable as an argument in a function call", but I fail to see the connection with "object class" or...
12
by: Alan J. Flavell | last post by:
OK, today's email brought a comment from a reader, pointing out something that I'd long since noticed myself but hadn't done anything about it. On my pages, I've got a first-letter style on...
1
by: Patrick | last post by:
I am trying to get "first-letter" to work inline withing an anchor. Actually I have not been able to get it to work within an <a> tag whether inline, linked, or embedded. Using IE6 service pack 1....
3
by: Chris Tanger | last post by:
I am creating a class that has a method "Write" that I wish to make threadsafe. The method must block calling threads until the task performed in write is complete. Only 1 thread at a time can...
4
by: KJ | last post by:
We use a third party software package for acctg that limits us on field size - as a result, we at times have to enter an item into the app multiple times in order to get all the information. I...
43
by: Roger L. Cauvin | last post by:
Say I have some string that begins with an arbitrary sequence of characters and then alternates repeating the letters 'a' and 'b' any number of times, e.g. "xyz123aaabbaabbbbababbbbaaabb" I'm...
6
by: =?Utf-8?B?UGF1bA==?= | last post by:
HI I have a stored procedure that returns data with a date field in the form of a DateTime type. I need to place data in variables based on days of the week starting with the first thursday of the...
4
by: Milan Krejci | last post by:
int first=15,latest=15; QString typ=NULL; std::map<int,std::string>::iterator i; for(i = SeznamPracovniDoby.begin(); i != SeznamPracovniDoby.end(); i++) { if (typ==NULL) typ=i->second.c_str(); if...
3
by: cs | last post by:
Hi, I'm new to C and would appreciate any feedback on the following program, asplit, which splits a file into 2 new files, putting a certain number of lines in the first file, and all the rest...
3
by: dmalhotr2001 | last post by:
Hi, For string extraction function in vb, if I feed in a paragraph, how do I extract the first sentence of that paragraph. Thanks :D
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.