1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

An easy way to learn C++?

Discussion in 'C, C++, C#' started by Migisv2, Jul 18, 2009.

  1. Migisv2

    Migisv2 Registered Member

    Joined:
    Jun 4, 2009
    Messages:
    87
    Likes Received:
    4
    Occupation:
    Student
    Location:
    Boston
    ive always been interested in learning it, is there like a site or area to get a quick lowdown of C++ without being too complicated?
     
  2. ipodtouchhackerisher

    ipodtouchhackerisher Senior Member

    Joined:
    May 6, 2009
    Messages:
    812
    Likes Received:
    657
    i want to do this also
     
  3. Slasher

    Slasher Junior Member

    Joined:
    Apr 11, 2009
    Messages:
    184
    Likes Received:
    64
    I also want to learn C++. Would like a helpful link.
     
  4. jazz99

    jazz99 Regular Member

    Joined:
    Mar 24, 2008
    Messages:
    220
    Likes Received:
    50
    Location:
    USA
    Google is your best friend for over 2 million links on learning C+. Also some decent vids on YouTube.
     
  5. oxonbeef

    oxonbeef BANNED BANNED

    Joined:
    Jan 4, 2009
    Messages:
    2,242
    Likes Received:
    7,872
    Try this. it's what i used.
     
  6. oxonbeef

    oxonbeef BANNED BANNED

    Joined:
    Jan 4, 2009
    Messages:
    2,242
    Likes Received:
    7,872
    Code:
    http://rapidshare.com/files/123342695/C___Interactive_Course-_Fast_Mastery_of_C__.rar
    sorry about the live link:(
     
  7. dadgad

    dadgad Newbie

    Joined:
    Jun 21, 2009
    Messages:
    11
    Likes Received:
    21
    codeguru.com/forums can be useful if you already know about object-oriented programming else I suggest you to buy a book for beginners. C++ isn't a thing you can master in few months.

    Good luck, once you know C++ you know everything about programming.
     
  8. destroyerofworlds

    destroyerofworlds Newbie

    Joined:
    Apr 26, 2009
    Messages:
    3
    Likes Received:
    2
    It all depends on you level of prior knowledge.
    If you're entirely green on the matter, then I'd suggest trying out the tutorial at cplusplus.com.
    If you already know the concepts of programming from another language, then the same site can be used to quickly learn the c++ syntax.
    Once you've learned the basic stuff, and want to learn "how to program stuff" rather than just "how to program", I personally have found the challenges at cprogramming.com to be rather fun. They are rather time consuming, but really, the best way to learn how to program is to actually program, and the hardest thing most often is to figure out what to program. And those challenges are really good at giving you certain tasks to complete.

    Once you've covered all that, and know the basics as well as how to structure your code, it simply becomes a matter of figuring out which libraries to use for the task at hand, and how to use them.
     
    • Thanks Thanks x 1
  9. Bacanze

    Bacanze Junior Member

    Joined:
    Nov 12, 2008
    Messages:
    150
    Likes Received:
    49
    Occupation:
    Uni student
    Location:
    UK
    Code:
    http://www.youtube.com/edu
     
  10. n3xus

    n3xus Junior Member

    Joined:
    Apr 19, 2009
    Messages:
    121
    Likes Received:
    31
    cplusplusprogramming.com is what i used. its really basic and it'll teach you c/c++
     
  11. sddk

    sddk Junior Member

    Joined:
    Dec 1, 2008
    Messages:
    192
    Likes Received:
    63
    Occupation:
    IMer
    Location:
    WWW
    That's right!

    But why C++ , it's difficult something if you're a newbie in the programming field ... for example you can start by VB ... easy than C++ ..
    After you understand the programming "rules and games" you'll be able to learn C and C++ and C# ... :)

    Any advices from other members?
     
  12. Migisv2

    Migisv2 Registered Member

    Joined:
    Jun 4, 2009
    Messages:
    87
    Likes Received:
    4
    Occupation:
    Student
    Location:
    Boston
    yea, i learned VB in a school class i took and i understand the basics of it, i will check out some of the sites that you guys have mentioned, thanks
     
  13. Razorbl

    Razorbl Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 25, 2008
    Messages:
    441
    Likes Received:
    121
    there is no easy way to learn programming .
     
  14. Grizzy

    Grizzy Senior Member

    Joined:
    Nov 11, 2008
    Messages:
    919
    Likes Received:
    999
    Learning to code in c# is actually not that hard. If you can wrap your head around basic fundamentals like variables, operators, expressions, statements, functions and arrays, you're off to a good start (in any language). More advanced concepts like object orientated programming and data access can be a little trickier, but still not that difficult if you are dedicated and willing to do the reading.

    The hard part, is putting it all together to develop complex (but still user-friendly) applications and doing it in a efficient manner that won't lead to costly mistakes.

    Honestly, I wouldn't bother starting off with c/c++. You will just find yourself un-leaning a lot of stuff when you make the move to c#.

    I found this ebook to be very helpful (and free) when I started with c#:
    Code:
    http://www.programmersheaven.com/ebooks/csharp_ebook.pdf
    Just don't get lazy and skip sections because they seem boring. Take your time, and if you don't understand something, make sure you get it figured out fully before you move on to the next section (this is crucial, and you will save yourself massive, skull-splitting future headaches).
     
  15. Pharoah

    Pharoah Registered Member

    Joined:
    Apr 7, 2009
    Messages:
    64
    Likes Received:
    46
    Occupation:
    Self Employed
    Location:
    San Diego, CA
    There are some good youtube clips, but I recommend that you start using this book, "Beginning Programming for Dummies", by Wallace Wang.

    Its a real good book and comes with a "basic" cd that you can use to start creating small scripts, like 2D games and such.
     
  16. charles123

    charles123 Newbie

    Joined:
    Mar 27, 2008
    Messages:
    22
    Likes Received:
    4
    You can actually learn c++ in few days, its just a bit more complex than simpler languages like PHP , but nothing like assembly. But.. It probably took me months to actually get good at it, and I already toyed with other languages for years .

    C# is not as good as C++, imo for cross-platform reasons. C++ still #1 for serious tasks., C was used decades ago, still the #1

    the local library is the best place to start.

    Imo, best language learn order would be: html -> js/php/db -> C++

    VB is easy but will only distract you when trying to learn C++ because of the differences.
     
    Last edited: Aug 4, 2009
  17. migrashin

    migrashin Registered Member

    Joined:
    Dec 19, 2008
    Messages:
    52
    Likes Received:
    3
  18. xbada

    xbada Junior Member

    Joined:
    Jul 31, 2009
    Messages:
    102
    Likes Received:
    118
    Occupation:
    full time im
    Location:
    usa
    I have been coding my software in c++ virtually exclusively for about 7 months now. It's incredibly robust and powerful if you are willing to invest time in learning about it. If you are familiar with other languages I would highly recommend Bjarne Stroustrup's (he was one of the developers of c++ back at maBell) book: The C++ Programming Language. The writing is terse but it is likely one of the best programming books I have ever read.

    There is alot of sample code in this book and as much explanation of each element of c++ as you could hope for. I would recommend skimming at least the introduction and the section of this book that covers the STL in order to get a firm understanding of what c++ is actually all about.

    The cplusplus.com and cppreference.com sites are pretty useful as well.
     
  19. Xooor

    Xooor Newbie

    Joined:
    Aug 14, 2011
    Messages:
    18
    Likes Received:
    17
    Hi,

    This may seem like a RTFM answer but it isn't.

    Programming isn't indeed something that you can become good at without any efforts of some sort, so I won't be giving you a magic recipe ...

    I started off learning C, and the learnt i386 assembly, and once I "mastered" assembly I went back to C and the moved on to C++.

    But to get to the point you don't actually need to learn C++, you need to learn how to program first, so pick up a good book on data structures and algorithmics, read it, learn it, love it.

    Most newbie programmers think that the problem is with the syntax, but the syntax isn't the hard part, it's the easy part. What you really need to understand is how everything operates (thus learning data structures and algorithmics is a good place to start), how are basic but very simple things work (pointers, ...).

    So I would suggest that you get familiar with programming first rather than a language, in our case C++.

    And once you are familiar, practice and practice again.

    Hoping that my remarks are in some way useful to you. I wish you the best of luck, Xooor.
     
  20. kool121

    kool121 Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 9, 2009
    Messages:
    353
    Likes Received:
    173
    Gender:
    Male
    This ebook is password protected, do you have it?