Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Learning C++
Index -> Programming, C++ -> C++ Tutorials
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
goboenomo




PostPosted: Thu Oct 13, 2005 11:22 am   Post subject: Learning C++

Im going into programming in college and one of the classes is
Introduction to C++
I wanted to get a head start by reading over some of the C++ books..
I wanted to know if it would be easier to learn Java before trying C++
or if it does not matter.
I am in a programming class in high school using Java.
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Thu Oct 13, 2005 1:04 pm   Post subject: (No subject)

The syntaxes are superficially similar, but they're rather different languages semantically.

Why don't you read the tutorials here, and if you have questions, ask them.
[Gandalf]




PostPosted: Thu Oct 13, 2005 3:01 pm   Post subject: (No subject)

You can always go on our IRC channel, irc.afternet.org #compsci.ca where you will probably get some help from anyone around, especially wtd Smile.

*1000th Post Dance *
goboenomo




PostPosted: Sun Oct 30, 2005 5:01 pm   Post subject: (No subject)

congrats
hah
i looked a some
C++
actually so far it seems easier then Java
[Gandalf]




PostPosted: Sun Oct 30, 2005 5:36 pm   Post subject: (No subject)

Sure, you don't have all that Object-oriented overhead... It is harder, more complicated though, just wait till you get into pointers/OOP/namespaces/blah.

Besides, I'm sure that if you post some of your code someone will find something quite wrong with it.
md




PostPosted: Sun Oct 30, 2005 5:52 pm   Post subject: (No subject)

[Gandalf] wrote:
Sure, you don't have all that Object-oriented overhead... It is harder, more complicated though, just wait till you get into pointers/OOP/namespaces/blah.

Besides, I'm sure that if you post some of your code someone will find something quite wrong with it.


Indeed, finding things wrong with others code is what wtd is best at Very Happy (j/k). Learning C++ isn't that much harder then any other language, the problem is that other languages generally provide nice graphics libraries, which C++ does not... and unfortunately it seems that the first thing everyone does when they try and learn a new language is write a game.

Of course once you get into pointers and namespaces and things like that C++ can get a wee bit more complicated... but those are things which can safely put off learning until you've mastered the really hard things like functions (my god people learning turning seem to have a hard time with that one...), and *gasp* even classes!
goboenomo




PostPosted: Sun Oct 30, 2005 5:52 pm   Post subject: (No subject)

[Gandalf] wrote:
Sure, you don't have all that Object-oriented overhead... It is harder, more complicated though, just wait till you get into pointers/OOP/namespaces/blah.

Besides, I'm sure that if you post some of your code someone will find something quite wrong with it.


i wouldnt say there would be anything "wrong" with it...
just other ways to do it... to save time and space...
really it's just promting the user ... doing a calculation... and outputting the info...
wtd




PostPosted: Sun Oct 30, 2005 6:04 pm   Post subject: (No subject)

[Gandalf] wrote:
Sure, you don't have all that Object-oriented overhead... It is harder, more complicated though, just wait till you get into pointers/OOP/namespaces/blah.


C++ has plenty of OOP overhead. Ever written the following?

c++:
cout << "Hello world" << endl;


If so, you've used objects.

Cornflake wrote:
the problem is that other languages generally provide nice graphics libraries, which C++ does not... and unfortunately it seems that the first thing everyone does when they try and learn a new language is write a game.


Many languages don't include a "standard" graphics library, and for very good reason. There are lots of choices when it comes to graphics. Think you can please everyone? If so, then you're a better programmer than the many people who contribute to the C++ standard.

Quote:
Of course once you get into pointers and namespaces and things like that C++ can get a wee bit more complicated... but those are things which can safely put off learning until you've mastered the really hard things like functions (my god people learning turning seem to have a hard time with that one...), and *gasp* even classes!


Can you wait when it comes to explaining such things? Hello world involves all kinds of complicated stuff. Objects, namespaces, functions, etc.
Sponsor
Sponsor
Sponsor
sponsor
goboenomo




PostPosted: Sun Oct 30, 2005 6:08 pm   Post subject: (No subject)

AHHHHH HE IS HERE

CORRECTING OUR EVERY ERROR

IM SORRY SIR
WHEN I WALK STRAIGHT IM REALLY WALKING 2 DEGREES TO THE LEFT

IM SORRY

IM NOT WORTHY











Rolling Eyes
md




PostPosted: Sun Oct 30, 2005 7:24 pm   Post subject: (No subject)

wtd wrote:

Cornflake wrote:
the problem is that other languages generally provide nice graphics libraries, which C++ does not... and unfortunately it seems that the first thing everyone does when they try and learn a new language is write a game.


Many languages don't include a "standard" graphics library, and for very good reason. There are lots of choices when it comes to graphics. Think you can please everyone? If so, then you're a better programmer than the many people who contribute to the C++ standard.

I should have been more specific: many languages used to teach either have standard libraries of some kind, or they are provided in the course. In any case graphics become important when they shouldn't be.

wtd wrote:

Quote:
Of course once you get into pointers and namespaces and things like that C++ can get a wee bit more complicated... but those are things which can safely put off learning until you've mastered the really hard things like functions (my god people learning turning seem to have a hard time with that one...), and *gasp* even classes!


Can you wait when it comes to explaining such things? Hello world involves all kinds of complicated stuff. Objects, namespaces, functions, etc.


You do not have to have a deep understanding to use them though, at first it is enough to know how to output, not why you have to put std:: in front of cout. I'm not saying namespaces and classes should be left a long time, but you can learn a little before you have to tackle them.
[Gandalf]




PostPosted: Mon Oct 31, 2005 4:13 pm   Post subject: (No subject)

Oooh, good to see my post generated some response Smile.

wtd, well, being related to an object as that may be, what I meant by overhead is obvious code written by you, necessary for OOP.

I think this all comes back down to, in what order and how should you learn a new language?
wtd




PostPosted: Mon Oct 31, 2005 5:33 pm   Post subject: (No subject)

[Gandalf] wrote:
I think this all comes back down to, in what order and how should you learn a new language?


In a way which minimizes "magic". Students will have a harder time learning a language if they find it difficult to recreate what they've been shown.
stevejack




PostPosted: Mon Sep 14, 2009 6:40 am   Post subject: Re: Learning C++

There are lots of free E-books for learning c++ at home one of the famous e-book as well as book is Programming with C++ by bjarne stroustrup. This book is good helping for the programming, all the example are given easily.
Analysis Mode




PostPosted: Mon Sep 14, 2009 5:27 pm   Post subject: RE:Learning C++

The book "C++ for You++"
andrew.




PostPosted: Mon Sep 14, 2009 6:11 pm   Post subject: RE:Learning C++

stevejack, why did you revive this 4-year-old thread? What's with all these people necroposting lately?
Display posts from previous:   
   Index -> Programming, C++ -> C++ Tutorials
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 15 Posts ]
Jump to:   


Style:  
Search: