C++: What package should I learn to create real world programs?

This is a discussion on C++: What package should I learn to create real world programs? within the Tech Board forums, part of the Community Boards category; Hi! C++ programmers! I'm wondering about which package should I learn if I want to develop programs for a computer? ...

  1. #1
    Registered User
    Join Date
    Feb 2013
    Location
    Sweden
    Posts
    91

    Smile C++: What package should I learn to create real world programs?

    Hi! C++ programmers! I'm wondering about which package should I learn if I want to develop programs for a computer?

    I do know that it's packages such as SDL, SFML, Allegro but I don't know which of them that you can find great information of them.

    And SDL of course has lazyfoo.net tutorials for. Or at least the old SDL 1.2. They're still working on the 2.0 tutorials.

    However right now I'm working with the book SDL Game Development. The book is great but it's code is actually wrong in the first chapter of making the "Hello World" program.

    So it's hard to figure out if it isn't working because the code isn't written correctly.

    If anyone has read that book and is very kind. He could really help me out.

    But however guys. If you have tips for a package to learn to develop softwares for the computer. Please show me the name of these packages! Thank you!

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,494
    It depends what kind of programs you're interested in writing, and for what platform.
    I guess SDL is OK if you're into the PC gaming scene.

    But if you were say writing business apps for mobile, then SDL is of no use whatsoever.

    > The book is great but it's code is actually wrong in the first chapter of making the "Hello World" program.
    A few mistakes keep you on your toes, and you learn a lot more through fixing it.
    Simply copy/pasting something which always works won't teach you half as much.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Feb 2013
    Location
    Sweden
    Posts
    91
    Quote Originally Posted by Salem View Post

    > The book is great but it's code is actually wrong in the first chapter of making the "Hello World" program.
    A few mistakes keep you on your toes, and you learn a lot more through fixing it.
    Simply copy/pasting something which always works won't teach you half as much.
    Yes, I agree with you but when I had a code that I had written once. And it was function in that class. And we wanted to use them to display an image.
    But the problem was that when I called the constructor for example: "Player.h" constructor. It had no functions in there. That's meaning that the functions
    we wrote in the book is useless if not the constructor is calling them. But I figured out what to do myselft at least.

    But I'm think the book at least could have a bit clearer text explanations. But however. It's a really great book at least.
    It really explains how to create what I wanted to create.

    What I'm really want to do with my C++ basic skills is to apply the skills to develop applications for Android phones? So a package for that would be great!

  4. #4
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,182
    Android apps are written in Java (with their own SDK). That may be a better language to learn if that's your end goal.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. c in real world
    By geek0071 in forum C Programming
    Replies: 10
    Last Post: 02-26-2013, 12:17 AM
  2. How to be a prgrammer in real world?
    By taigaicon in forum C Programming
    Replies: 3
    Last Post: 06-27-2011, 08:59 AM
  3. What do I need to improve on for the real world?
    By vhunterd in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 04-08-2007, 07:49 PM
  4. So what's the real world like when......
    By student in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 02-15-2002, 02:44 AM
  5. Real World
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 01-25-2002, 07:46 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21