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

C++ help

Discussion in 'C, C++, C#' started by Lukas007, Mar 20, 2015.

  1. Lukas007

    Lukas007 Newbie

    Joined:
    Jan 14, 2014
    Messages:
    31
    Likes Received:
    2
    Hey guys, i just started learning C++ and i found this tutorial on yt:
    https://www.youtube.com/watch?v=tvC1WCdV1XU&list=PLAE85DE8440AA6B83
    What do you think of the tutorial, is it good or should i change it?
    If it is, when i finish this tutorial, what will be my knowledge on scale 1-10? :)
    And for the end, should i (after finishing tutorial) learn other language (i thought C#) or improve my C++ more?
    Best regards.
     
  2. AutomationSorcerer

    AutomationSorcerer Registered Member

    Joined:
    Apr 25, 2015
    Messages:
    73
    Likes Received:
    66
    Occupation:
    Senior Software Engineer
    Location:
    Ethereal Plane
    Wow, no responses?

    Well if you're still around and care, I have a couple questions for you.

    1. What is your objective, what type of applications are you wanting to develop?

    What languages you learn is highly dependent on what you want to make. I've used C++ maybe 10 times in 15 years. C# is my primary language, and P/Invoke interop awesomeness allows you to call native library functions just fine. The last time I used C++, was when I was attempting to intercept DNS lookups to implement load balancing; only to realize later I could just inject a function delegate back into the CLR and call a C# function to handle the load balancing logic.

    Unless you're doing low level development such as: operating system, hardware drivers, graphics/physics engines, embedded systems or applications with an extreme emphasis on performance.... C++ really isn't all that useful, and it's much faster to develop in a higher level language like C#.

    Safer too.... much harder to develop a .NET application vulnerable to a buffer overflow attack or with a memory leak. Unless you're not using the "using" syntax awesomeness.

    2. Is this as a hobby, or potential career. If career, the answer to question 1 is even MORE important. Choose wisely.

    ====

    As for your original question, after finishing all those videos in the playlist; your skill level will be around a 3 maybe? You'll know the language syntax, but still won't have any familiarity with the variety of frameworks/APIs/libraries that a professional uses on a daily basis. And word of warning, WinForm development in C++ is a pain in the rear.

    Unless you have a specific reason to go C++, go C#. If you're anti-Microsoft, just use Mono. Recently, instead of C# being a Java clone, Java has more often been playing catch-up with the CLI and C# ECMA standards and copying C# instead.

    If you want to do mobile (Android) development, start with Java. Once you know Java or C#, the other is mutually intelligible. Like Spanish and Portuguese; not exactly the same, but close enough that learning one after the other is much simpler.

    If you want to do iOS development.... Objective-C is like the cousin to C++. C evolved into C++, and C evolved into Objective-C. And it's only useful on Apple products. So... yeah, to hell with that.
     
  3. Approachable

    Approachable Junior Member

    Joined:
    Aug 17, 2014
    Messages:
    116
    Likes Received:
    456
    Occupation:
    Student
    Location:
    India
    Home Page:
    Although i partially agree with AutomationSorcerer answer the question why you're learning this language. Also are you free courses only or pay for some paid ones? Any plans of purchasing books the last question is because just however organized the video tutorials claim to be none can come close to a well written book. And generally it is recommended to stick with a language master it then go to the next. Just basics in all languages will get you nowhere..
     
  4. AutomationSorcerer

    AutomationSorcerer Registered Member

    Joined:
    Apr 25, 2015
    Messages:
    73
    Likes Received:
    66
    Occupation:
    Senior Software Engineer
    Location:
    Ethereal Plane
    If you're referring to syntax and language specific frameworks, sure. But the basics/fundamentals of programming are the same regardless of language.

    Understanding propositional logic, object oriented/procedural/functional design, static typing (not all languages support dynamic), etc. Those fundamentals don't change. However it is much easier to learn these, if you're focusing on one language.

    I'd recommend a scripting language, Java or .NET for beginners, so they don't have to deal with the headaches of memory management. And I'd recommend Java or .NET over scripting languages so you become familiar with static typing (most scripting languages are dynamic) and run time debugging (haven't seen a scripting language with this yet).

    If you're heavily focused on mathematics for instance, I'd recommend learning a functional programming language such as F#. I believe a lot of academics use Python for this as well.
     
  5. AutomationSorcerer

    AutomationSorcerer Registered Member

    Joined:
    Apr 25, 2015
    Messages:
    73
    Likes Received:
    66
    Occupation:
    Senior Software Engineer
    Location:
    Ethereal Plane
    Python became popular after I'd heavily invested my time into the .NET framework, and for scripting I always just used PHP.

    However BipolarCookie is correct, and Python is extremely popular and a common choice for beginners. Lot of the younger developers I've worked with all love it.

    I just make fun of it for using whitespace as a part of it's syntax. Just seems wrong to me *grumbles like an old man reflecting on the good ol' days*.
     
  6. nester0

    nester0 Newbie

    Joined:
    Jul 11, 2015
    Messages:
    29
    Likes Received:
    2
    As others have said, you are better off learning a higher level language such as java,python etc.
     
  7. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    12,463
    Likes Received:
    11,167
    Occupation:
    CHEAP
    Location:
    DATASETS
    Home Page:
    This thread was creating using snail mail. Members exchanged letters via regular post and then replied. Thus the average 1 month lapse between replies. Hope this clears things out.
     
  8. bretonel

    bretonel Junior Member

    Joined:
    Jun 27, 2015
    Messages:
    125
    Likes Received:
    15
    Occupation:
    programmer
    Location:
    the inter nets
    Home Page:
    Ay carambo! That's an awesome startup idea, bartosimpsonio!