Thread: New to C++ Programming, but is it worth it to learn?

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    9

    New to C++ Programming, but is it worth it to learn?

    I'm 18, from the UK, and going to go to Uni to study Maths next year. Hopefully Warwick, if anyone's interested. I'm currently employed part-time doing PHP for a local website-building firm, and I love it, and am seriously considering programming for a job after Uni.

    So I'm wondering if it's worth learning C++. I mean, are people currently programming in it, and will people (probably) be programming in it in a good few years time, or will I be starting to learn an old language or anything? I'm pretty damn good at PHP, so I'm hopeing for a relatively smooth transition into application programming.

    The main reason I'm learning C++ is to have a heads up for programming out of Uni. I dont want to be stuck making small-time websites for a small-time firm forever, and want to branch out into more profitable (for me, that is) stuff. Is anyone able to advise as to weather C++ is the right language to go about learning, and if not, which one is?

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    169
    C++ is certainly not dying out. It's also wide spread so you shouldn't have trouble getting help when needed.

  3. #3
    Registered User Eye in the Sky's Avatar
    Join Date
    Apr 2007
    Posts
    5
    Also, C++ is the king of OOP, so if you know C++, all other languages are not that hard to learn. It's always a good idea to know multiple languages.

  4. #4
    Registered User
    Join Date
    Apr 2007
    Posts
    9
    Well, that's good to learn. I guess I'll begin the basics then. On a sidenote, I'm running Vista with Visual C++ 2005 Express Edition. Is that a good combination? I mean, Vista's staying, because I like Dx10, but just wondering, in case VCEE is a bad compiler. If it is generally is considered not very good, any recommendations as to a first one, so as not to start off on the wrong foot?

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    9
    Well, good or not, it's too damn complicated for me. I'm going to Dev-C++, I think. Seems much simpler to use.

  6. #6
    Registered User Eye in the Sky's Avatar
    Join Date
    Apr 2007
    Posts
    5
    Yes, large GUI's can be somewhat confusing for new programmers. I have been using Visual Studio 2003, then 2005, but I have decided that it has too many things working without my knowledge, so now I am using Dev C++ as well. It may be harder to create a WinApp without Visual Studio and such, though. Also, programs of the sort check and debug code better. But first, you have to know them.

  7. #7
    Registered User
    Join Date
    Apr 2007
    Posts
    1
    hi im new to this and im doing the tutorials on this site for C++. i if i may add that its harder done then sed soo many combinations of code u can do . and i got some questions if someone could help me answer. neways i just learned the basics of points of pointers, structures and arrays like i kno wut their used for, but could someone tell me whats the best language to learn for like game programming? and for normal application? people at skool sayin c++ but on job listings i see like java script and MSCE or however u spell that and like visual.net wut is the ".net" for because i see that alot and i try to google it and i get all these course listings. and if ne help im using that new visual studio 2005 program from the microsoft website thats for free for c++ thnx in advance.

  8. #8
    Registered User
    Join Date
    Apr 2007
    Posts
    9
    Just a little further questioning. I've been bashing away at C++, just getting used to it and all that, and note immediately that all the programs I've been making are as little black DOS boxes. Is that OK, or (considering the fact that I want to make programs), how do I make programs in Windows Boxes, rather than black DOS windows?

  9. #9
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    >> Is that OK
    Yes. A lot of programs simply provide a console interface (the black box is a console). It is also important to learn the core tenets of the language before learning more advanced things like user interfaces. Many folks would recommend staying away from windows based user interfaces until you've learned the language well.

    Mclaren_LM, consider putting your question in a new thread so people can see it better. Make sure to search this forum and the Game Programming forum as well to see similar questions that have been asked and answered.

  10. #10
    Registered User Eye in the Sky's Avatar
    Join Date
    Apr 2007
    Posts
    5
    To Mclaren_LM

    For getting a usual job in programming, you would take C#/Java/VB and such. For web programmin, JavaScript, HTML, CSS, etc., you may also need a programming language as C# in addition. That is why those langs are on the job listings. .NET is something Microsoft created, it's a bunch of precoded stuff designed to work on Windows, it's still the same languages, C# and such, except you are programming for Windows.

    For game programming, C++ is the best choice. Game mods can only be done in C++ (DooM III and such), and the only game that I have ever seen programmed in Java was Chrome, and the graphics of that game suck. No matter whether or not are you a modder or an actual game programmer, you need C++. C++ is also used in database coding, such as Oracle.

    Quote Originally Posted by bumcheekcity View Post
    how do I make programs in Windows Boxes, rather than black DOS windows?
    Well, either you have a compiler that can create a Windows application for you, either you have to call a form yourself (I have no idea how to do that).

    In C# it's something around "form1 = new Form()", but I used Visual Studio with C#, so I never paid attention to how it was structured. A class in the "Windows.Forms" library. I recommend you to get Visual Studio or a similar program if you intend to make simple Windows Applications without looking into how they work. But this may limit you to the .NET interface.
    Last edited by Eye in the Sky; 04-07-2007 at 03:03 PM.

  11. #11
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    Or you create a windows application to make it appear in the window boxes, Like you are viewing right now ( that is if you are using a windows OS ). This requires a great knowledge of C/C++ in advance. I do not recomend this until you are at least an intermidiate level programmer. I have been coding for three years and still do not consider myself any like an intermidiate yet.
    Double Helix STL

  12. #12
    Registered User
    Join Date
    Apr 2007
    Posts
    9
    No, it's OK. Thanks for the advice, and I want to do this thing properly. I have a friend who programs in VB/C#, which always seemed a little but like painting by numbers to me.

    And, I really want to get into high-level programming when I'm out of Uni, so I'll get myself a good grounding in my little Black-Box-DOS C++ first

  13. #13
    Registered User
    Join Date
    May 2006
    Posts
    903
    High-level programming would be something like VB, not C++.

  14. #14
    Registered User
    Join Date
    Apr 2007
    Posts
    102
    I have learned many languages so far, C++ is by far the more complex to learn, but it has provided the most benefits. There are ways to create Windows in C++, but it is a higher level programming, and you really just create a window without a rendering section. The best thing I suggest is to stick with it. C++ is very beneficial in the fact that so many people program in C++, not to mention the tons of pre-made algorithms, and structures and much more code. (STL, OpenGL, Direct X)

  15. #15
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    [opinion]
    while C++ is certainly not dead, it is losing rapidly losing ground to C#. Just look on any job site and you'll see jobs looking for people to convert C++ apps to C#. and rightly so. C++ is a systems-level programming language. It's designed for writing large-scale systems (banking, etc). writing gui apps is a task better done in java or c#. personally I use C++ less and less professionally, and when I do it's often as a python extension using boost.python.

    Don't get me wrong, C++ is a great language, and I love coding it. But as a junior programmer coming out of college you will be more employable with a good knowledge of .net/j2ee unless you plan to make games programming your career.
    [/opinion]

    One thing I'd be careful with is asking for career advice on programming boards. A lot of posters on this and other boards are hobbyist programmers. They may have great C++ knowledge, but little idea how the industry works. Plus, you have no idea if I'm a senior engineer with 10s of years coding or a 15yr old kid (no offence to the 15yr old kids here). My advice is to talk (face-to-face) with someone who actually works as a C++ professional. They'll tell you what it's like as a day-to-day experience and they'll give you an idea of the job market in your area.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how long to learn c programming
    By cmay in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 05-13-2009, 12:55 AM
  2. What do I learn now?
    By Lorgon Jortle in forum C++ Programming
    Replies: 14
    Last Post: 03-14-2009, 06:44 PM
  3. Am I too late to learn programming?
    By maccat in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 02-17-2009, 08:49 AM
  4. Trying to learn guitar
    By Ben_Robotics in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 07-10-2003, 03:15 AM
  5. Is it worth the time....worth the sacrifice?
    By Leeman_s in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 05-04-2002, 06:33 PM