PlanetSquires Forums

Support Forums => General Board => Topic started by: Paul Squires on February 14, 2014, 02:49:35 PM

Title: Anyone want to learn C++ with me?
Post by: Paul Squires on February 14, 2014, 02:49:35 PM
Hi Everyone,

Some of you may have noticed postings in this forum regarding my desire to learn C++. I have set up a separate forum for such an adventure. If you wish to participate in the forum discussions then you will need to register for the forum, otherwise, you can simply lurk and take from the info whatever you wish.

Automatic forum registrations are disabled so you need to send me an email to planetsquires@gmail.com  Indicate your full name (first and last) that you want me to register you as on the forum. I will assign you a temporary password. When you first login to the forum then you should go to your profile and change this temporary password to something else.

Forum:  http://planetsquires.com/cplus/index.php

We are about to start our first project.
Should be "fun"  :)


Title: Re: Anyone want to learn C++ with me?
Post by: Haakon Birkeland on February 14, 2014, 06:57:32 PM
See myself following you, just cause it's you and I'm curious and not cause I C an interesting language.
Title: Re: Anyone want to learn C++ with me?
Post by: Petrus Vorster on February 15, 2014, 06:16:47 AM
O, what the heck, why not?
Unless there is some news about Bob Zale' miraculous return to earth , I think I need to walk with you.
Will post my really dumb questions on the new forum.  :P
Title: Re: Anyone want to learn C++ with me?
Post by: Gary Scott on February 15, 2014, 10:57:22 AM
Quote from: Petrus Vorster on February 15, 2014, 06:16:47 AM
Will post my really dumb questions on the new forum.  :P

  I own that slot!   ;D

Title: Re: Anyone want to learn C++ with me?
Post by: Paul Squires on February 15, 2014, 12:14:34 PM
No my friends, I OWN that slot!  :)   I have been creating my first program this morning. Extremely simple application, but the more that I write, the questions I ask myself! It is going to take a awhile before I start to get comfortable with the new language. One thing I have learned is that all the reading in the world is no substitute for actually coding, compiling, and dealing with all of the error messages!  hahahaha
Title: Re: Anyone want to learn C++ with me?
Post by: Brice Manuel on February 15, 2014, 12:53:23 PM
Quote from: TechSupport on February 15, 2014, 12:14:34 PM
No my friends, I OWN that slot!  :)   I have been creating my first program this morning. Extremely simple application, but the more that I write, the questions I ask myself! It is going to take a awhile before I start to get comfortable with the new language. One thing I have learned is that all the reading in the world is no substitute for actually coding, compiling, and dealing with all of the error messages!  hahahaha

Are you struggling with OOP or C++ itself?

Although intended for Java, this is the single best book (http://www.mindview.net/Books/TIJ/) on OOP out there and it is what I used to use as a textbook for my students to teach OOP.  It is free.  The first couple of chapters are invaluable for learning OOP.

For teaching C++, I used to use these two books (http://mindview.net/Books/TICPP/ThinkingInCPP2e.html).  They are also free and among the best out there.

Title: Re: Anyone want to learn C++ with me?
Post by: Gary Scott on February 15, 2014, 12:59:01 PM
 Most, if not all the links to download on that site are no good. Get the name of the book that you would like to download, and  serach Google. Google will quickly give valid links. Been there, Done that.  ::)

Quote from: Brice Manuel on February 15, 2014, 12:53:23 PM
Although intended for Java, this is the single best book (http://www.mindview.net/Books/TIJ/) on OOP out there and it is what I used to use as a textbook for my students to teach OOP.  It is free.  The first couple of chapters are invaluable for learning OOP.

For teaching C++, I used to use these two books (http://mindview.net/Books/TICPP/ThinkingInCPP2e.html).  They are also free and among the best out there.
Title: Re: Anyone want to learn C++ with me?
Post by: Paul Squires on February 15, 2014, 01:19:37 PM
Thanks guys. I am trying to learn C++ based on the latest (and greatest?) features implemented over the past couple of years. Here are links to the books that were delivered to me earlier this week from amazon.ca  Lots of reading to do. Got both for less than $100. I learned Windows API programming using the same approach. Got two really good books and digested every word over the course of several months.  :)

http://www.amazon.ca/Professional-C-Marc-Gregoire/dp/0470932449/ref=sr_1_1?ie=UTF8&qid=1392482919&sr=8-1&keywords=professional+c%2B%2B

http://www.amazon.ca/The-Standard-Library-Tutorial-Reference/dp/0321623215/ref=pd_bxgy_b_img_b
Title: Re: Anyone want to learn C++ with me?
Post by: Brice Manuel on February 15, 2014, 01:26:53 PM
Quote from: Gary Scott on February 15, 2014, 12:59:01 PM
Most, if not all the links to download on that site are no good. Get the name of the book that you would like to download, and  serach Google. Google will quickly give valid links. Been there, Done that.  ::)

The links from the master download site are fine:

http://www.mindviewinc.com/Books/downloads.html
Title: Re: Anyone want to learn C++ with me?
Post by: Gary Scott on February 15, 2014, 01:27:36 PM
  I also bought the C++ Standard Lib book, and a recently produced book with 2011 standards by Steven Prata. http://www.amazon.com/Primer-Plus-6th-Developers-Library/dp/0321776402/ref=sr_1_2?s=books&ie=UTF8&qid=1392483235&sr=1-2&keywords=c%2B%2B


Quote from: TechSupport on February 15, 2014, 01:19:37 PM
Thanks guys. I am trying to learn C++ based on the latest (and greatest?) features implemented over the past couple of years. Here are links to the books that were delivered to me earlier this week from amazon.ca  Lots of reading to do. Got both for less than $100. I learned Windows API programming using the same approach. Got two really good books and digested every word over the course of several months.  :)

http://www.amazon.ca/Professional-C-Marc-Gregoire/dp/0470932449/ref=sr_1_1?ie=UTF8&qid=1392482919&sr=8-1&keywords=professional+c%2B%2B

http://www.amazon.ca/The-Standard-Library-Tutorial-Reference/dp/0321623215/ref=pd_bxgy_b_img_b
Title: Re: Anyone want to learn C++ with me?
Post by: Paul Squires on February 15, 2014, 02:57:26 PM
Quote from: Gary Scott on February 15, 2014, 01:27:36 PM
  I also bought the C++ Standard Lib book
It is pretty cool that the book is hard cover.  Reading it makes me feels like I'm back in university again.  :)
Title: Re: Anyone want to learn C++ with me?
Post by: Petrus Vorster on February 15, 2014, 06:12:42 PM
Ha! The hitchhikers guide to programming....
Let the three wise men do the studying and then you copy and paste...
(Since asking any questions will reveal your level of dumbness.)

Question 1. Why THREE things? The compiler, the Wxwidgets thingy and an IDE???
Here I have Powerbasic + Firefly. Less is more. No?

Haven't typed my FIRST FREAKING "{" and i already said WTF ten times.
What's with this "{}" things?
Title: Re: Anyone want to learn C++ with me?
Post by: Paul Squires on February 15, 2014, 08:47:56 PM
:D

It's taking me a bit of time to remember to type the ; semi-colons at the end of the statements. The curly braces are not too bad because Code::Blocks auto inserts them for me most of the time.  C++ is a bit more terse than the BASIC's we are used to but not so much so that it is too hard to learn. Having fun so far.
Title: Re: Anyone want to learn C++ with me?
Post by: Brice Manuel on February 15, 2014, 10:38:52 PM
Quote from: TechSupport on February 15, 2014, 08:47:56 PM
It's taking me a bit of time to remember to type the ; semi-colons at the end of the statements.
If you only knew how many times I type semi-colons into my BASIC code. ;D
Title: Re: Anyone want to learn C++ with me?
Post by: Haakon Birkeland on February 16, 2014, 06:46:17 AM
Can't be as bad as in Javascript where an omitted semicolon can result in quite funky debugging of web page functions. I imagine the C compiler just points it out quite clearly and makes no more fuzz about it.
Title: Re: Anyone want to learn C++ with me?
Post by: Haakon Birkeland on February 17, 2014, 02:41:08 PM
BTW. As far as I recall, you liked C# when you spent time with it.
Did you ever post why you sidestepped and ended up with C++ as opposed to #?
Title: Re: Anyone want to learn C++ with me?
Post by: Paul Squires on February 17, 2014, 04:17:56 PM
Quote from: Haakon Birkeland on February 17, 2014, 02:41:08 PM
BTW. As far as I recall, you liked C# when you spent time with it.
Did you ever post why you sidestepped and ended up with C++ as opposed to #?
I did enjoy C#, very much. The only problems that I ran into was the various .NET runtimes. On my work computer I can not install the latest and greatest .NET runtime so I am stuck using an older version. Therefore, I couldn't use the latest Sharp Develop IDE. I also got sucked into the belief that there was hope for PowerBASIC so I started to wait for good news there.

Also, C# is Windows only unless i want to pursue Mono.

C++ gives me a tremendous amount of flexibility. It is much easier to use than plain C.
Title: Re: Anyone want to learn C++ with me?
Post by: Haakon Birkeland on February 17, 2014, 05:01:55 PM
QuoteC# is Windows only unless i want to pursue Mono.
I know Xamarin builds on Mono(Develop*) in some way, but to my understanding it's not bothering users with Mono but compiles native applications ― using C#.

*) An alternative to Sharp Develop.