Where to start...

This is a discussion on Where to start... within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hello, I am very new to C++ programming. I am currently using a book that explains the basics of the ...

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    9

    Where to start...

    Hello, I am very new to C++ programming. I am currently using a book that explains the basics of the C++ language and how to use the language to create basic programs. Though I have heard a lot of positive things about the language I have hundreds of questions about it.

    First, I would like to know where to start if I would eventually want to make complex programs such as games and other applications. I know that essentially all games are made with C++, and many major applications such as Adobe Photoshop are made with the same language as well. I have tried to research this stuff, but I have just gotten more confused.

    I am really confused and if someone could help me, it would be greatly appreciated. Basically what I want to know are any suggestions of where to go to eventually learn how to make games, and other applications, and what are the different types of code of C++ to make these different things (I am not sure if that made sense.)

    Thanks.

  2. #2
    The Richness... Richie T's Avatar
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    469
    as with any language, start with the basics. learn them well and
    then go looking for material on game program. dont start out
    with a view to a goal like games because you'll want to jump
    ahead before you are ready. when you are ready, there's loads
    of stuff available, here's a link from the homepage of the site
    that aims to point out some of the main considerations you need
    when writing a game

    http://www.cprogramming.com/tutorial/game.html

    its clear that this doesnt get into nearly enough detail, but it
    does point out what you need to consider, how big and powerful
    a game do you want to create really? i dont have any links
    i can recommend, but i'm sure that whoever follows this post can,
    and when you do start, try sampling other peoples games,
    use the games section of this forum and get some practice in then

    edit: one thing i can point you to is a thing called openGL, its
    for graphics programming and there's a really detailed site for
    people beginning to try graphics programming.

    http://nehe.gamedev.net/
    Last edited by Richie T; 02-02-2006 at 07:09 PM.
    No No's:
    fflush (stdin); gets (); void main ();


    Goodies:
    Example of fgets (); The FAQ, C/C++ Reference


    My Gear:
    OS - Windows XP
    IDE - MS Visual C++ 2008 Express Edition


    ASCII stupid question, get a stupid ANSI

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    When you finish the book you are currently reading, try Beginning C++ Game Programming:

    http://www.amazon.com/gp/product/159...Fencoding=UTF8

  4. #4
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    don't start out trying to build games until you know the language VERY WELL and also have an in depth knowledge of the operating system you're planning to write them for and the SDKs to program to that operating system.

    If you try to jump right in you'll only be overwhelmed by the massive flood of things you know too little about and get terribly frustrated at which point you'll likely just give up.

    Also learn about software design first, learn to write design documents and use UML. Non trivial games are large complex applications that need carefull analysis and design or you'll get stranded while building them.

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,417
    Oh god, not another "where do I start" thread.
    Try www.where-do-i-start.com
    Or it's more common alias www.google.com

    Moved to GD

  6. #6
    Registered User
    Join Date
    Feb 2006
    Posts
    9
    Thanks to all of the non-sarcastic replies above...

    oh and, thanks for the helpful, on topic, encouraging feedback Salem...

  7. #7
    Registered User
    Join Date
    Feb 2006
    Posts
    9
    Thanks for the book suggestion 7stud, I see it is packaged with another book:

    http://www.amazon.com/gp/product/159...Fencoding=UTF8

    Do you know anything about this one?

    Thanks.

  8. #8
    Madly in anger with you
    Join Date
    Nov 2005
    Posts
    211
    if you have no previous programming experience I suggest you get to know the basics in C first. of course alot of people will tell you this is unnecessary (and it might be), but unless you are good at picking up things quickly you might struggle with some advanced C++ topics (I did). some C++ books also assume some experience with C or another procedural language, and although some don't, those that don't are really C books teaching you a little bit of C++ (C++ is a superset of C).

    if you plan on getting into game programming like someone mentioned above you have to have a great deal of experience in the language you program, and if you plan to get a great deal of experience with C++ most will tell you to get some experience with C first (then C++ will make sense to you, and you will pick it up faster). I too eventually plan on getting into game programming and have chosen the C to C++ path, and can tell you that I do not regret it.
    Last edited by Bleech; 02-04-2006 at 02:19 PM.

    Intel Core 2 Quad Q6600 @ 2.40 GHz
    3072 MB PC2-5300 DDR2
    2 x 320 GB SATA (640 GB)
    NVIDIA GeForce 8400GS 256 MB PCI-E

  9. #9
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,417
    Me
    WHEN to start game programming

    Me too
    were do i start

    Don't forget me
    Looking for some learning advice...

    Sarcasm sold separately.

  10. #10
    Registered User
    Join Date
    Feb 2006
    Posts
    9
    It seems to me as if game programming is the most prominent use of C++ out there, so what other things can one use C++ to create?

  11. #11
    Rabite SirCrono6's Avatar
    Join Date
    Nov 2003
    Location
    California, US
    Posts
    269
    Whatever you wish, except the basic parts of an operating system I suppose.
    For example, applications such as Adobe Photoshop, Sun's Java Virtual Machine, many of Microsofts applications... Check this out.
    From C to shining C++!

    Great graphics, sounds, algorithms, AI, pathfinding, visual effects, cutscenes, etc., etc. do NOT make a good game.
    - Bubba

    IDE and Compiler - Code::Blocks with MinGW
    Operating System - Windows XP Professional x64 Edition

  12. #12
    Registered User
    Join Date
    Feb 2006
    Posts
    9
    Right, I have seen that list. But how does one go about creating that type of interface. With Visual Studio?

  13. #13
    Rabite SirCrono6's Avatar
    Join Date
    Nov 2003
    Location
    California, US
    Posts
    269
    With one of various APIs. Win32, wxWidgets, GTK, Qt...
    From C to shining C++!

    Great graphics, sounds, algorithms, AI, pathfinding, visual effects, cutscenes, etc., etc. do NOT make a good game.
    - Bubba

    IDE and Compiler - Code::Blocks with MinGW
    Operating System - Windows XP Professional x64 Edition

  14. #14
    Registered User
    Join Date
    Feb 2006
    Posts
    9
    Is Win32 only for the C language not the C++ language?

  15. #15
    Rabite SirCrono6's Avatar
    Join Date
    Nov 2003
    Location
    California, US
    Posts
    269
    Win32 is written in C but you can use it in C++ just fine.
    From C to shining C++!

    Great graphics, sounds, algorithms, AI, pathfinding, visual effects, cutscenes, etc., etc. do NOT make a good game.
    - Bubba

    IDE and Compiler - Code::Blocks with MinGW
    Operating System - Windows XP Professional x64 Edition

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 08:35 AM
  2. Adventures in labyrinth generation.
    By guesst in forum Game Programming
    Replies: 8
    Last Post: 10-12-2008, 01:30 PM
  3. C++ gui for windows where to start
    By prixone in forum Windows Programming
    Replies: 2
    Last Post: 12-16-2006, 10:48 PM
  4. GNOME Desktop won't start (Mandriva)
    By psychopath in forum Tech Board
    Replies: 10
    Last Post: 07-19-2006, 01:21 PM
  5. Start bar color in WinXP
    By confuted in forum Tech Board
    Replies: 4
    Last Post: 05-03-2003, 06:18 AM

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