1. Hi, Guest,

    Currently we have three official hacks running. CSGO, Battlefield Hardline and Audition America. Be sure to check them out!

    CSGO - "50 Shades of Gaben" - CSGO Cheat

    Battlefield Hardline Cheat - FREE

    Audition Redbana Hack [ARH Modz]

    More to Come!
    Dismiss Notice
Dismiss Notice
CSGO VIP Cheats now available!! Click here to get a copy!
Dismiss Notice
Want to Shorten Your Long URL? Check out our sister website Tiniurl to solve your needs!

[GUIDE] Learning the Basics of C/C++

Discussion in 'C/C++' started by BaGGy, Jan 17, 2006.

  1. BaGGy

    BaGGy

    Messages:
    147
    Likes Received:
    10
    Joined:
    Nov 24, 2005
    A lot of people have been asking this question, and thats what this forum is flooded with. I was hoping to come into this forum and see a little bit of knowledge passed around; however, it hasn't been. So, since I have nothing better to do at the moment, I decided to compile a list of very helpful resources. Both from my own personal favorites as well as a few given from gameuser.

    To start with, what do you want to use C/C++ for anyway?
    If you want to start writing games, you're definately a far cry away from that. However, it wouldn't hurt to start now because it will take you time to learn anyway.

    Game design/programming - To begin there have been a lot of suggestions by people, and the ones I consider reliable are real game programmers. From what GameDev.net, as well as a few programmers from Blizzard Entertainment have told me. They say your better off by just learning C++, mainly because that is the primary language for the graphical libs; DirectX, OpenGL, SDL, etc. However, it is true that C++ is a superset of C.

    Also it has been recommended that before you get into DirectX and OpenGL kinda stuff, that you have a good undertanding of the Win32 API first, you don't need to know every little detail but it helps.


    But lets get the party started by sharing a few very good C/C++ sites with extremely useful tutorials:

    --- ALWAYS BEING UPDATED ---

    Will be updated with more information, when information is found, or someone suggests a good link.


    [Books]
    The C Programming Language - Kernighan and Ritchie - Amazon.com - Google - PDF
    Google - CHM
    The C++ Programming Language - Stroustrup - Amazon.com -
    Starting Out With C++: Standard Version - Gaddis - Amazon.com -
    The Geometry Toolbox for Graphics and Modeling - Gerald E. Farin, Dianne Hansford - Amazon.com -
    Programming Windows, Fifth Edition - Charles Petzold - Amazon.com -
    Essential Mathematics for Games and Interactive Applications, First Edition : A Programmer's Guide - James M. Van Verth, Lars M. Bishop - Amazon.com -


    [Newbie/No Programming Experience]
    www.cprogramming.com -- Most commonly posted site for tutorials, decent in my opinion. It gives you a very quick and broad overview of the language.
    www.cplusplus.com -- Decent beginners tutorials. However, like most books they use a lot of computer terms.
    www.cpp-home.com -- Great site with lots of tutorials for all skill levels, when it's up that is...
    www.morrowland.com - Same thing that GameTutorials.com was doing for free until they started charging you for the tutorials. The great part about this is you get them for FREE!
    www.programmersheaven.com - Numerous tutorials that range from good to bad, and skilled to newbie.
    www.programmingtutorials.com - Links to a LOT of other tutorials that are not yet listed here.
    newdata.box.sk/bx/c/ - Site titled "Learn C++ in 21 Days"


    [Intermediate]
    NEHE.gamedev.net/ -- Decently written OpenGL tutorials, lacks a bit of function definition but good overall, and highly linked to. He has bad coding habits, so don't copy and paste the stuff, just use it for learning.
    geosoft.no -- Once you've learned to program, you should start developing a good programming style so other programmers dont have to decode what you're trying to say. I agree with 80% of this document, so just use it as a guideline.
    www.ultimategameprogramming.com - Very well written tutorials, they have a LARGE variety of them as well. Most of them are in the Demos section, they will be adding articles soon!
    www.mevis.de/~uwe/opengl - Good reference for OpenGL Functions, similar setup to manpages.
    www.glprogramming.com/red/ - Great site, full of content, and explains OpenGL VERY well.
    www.glprogramming.com/blue/ - More technical than the red version, and again LOTS of content.
    www.programmershelp.co.uk - Contains a lot of links to informational pages on the selected subject.
    nexe.gamedev.net - NEWLY ADDED - The DirectX version of NeHe's tutorials.
    www.xmission.com/~nate/ - An interesting way to teach OpenGL, havent tried it but I will soon. It's tutoring application that visually teaches you the library.
    www.drunkenhyena.com - Great DirectX tutorials, however he uses a wrapper to teach you how to use them. So it's definately not a good way to learn.
    www.glenmccl.com - NEWLY ADDED
    www.codesampler.com - Decent place to get started on DirectX or OpenGL, coding by example, usually a bad way of learning, but thats why it's in the advanced section.
    www.andypike.com - DirectX 8 Tutorials, however they are decently written. DirectX 8 was the last version to using the old fasion BitBlt() function.
    msdn.microsoft.com - MSDN is ALWAYS a bookmark, and should be for ANY programmer.
    www.opengl.org/resources/tutorials - OpenGL.org has a lot of resources, very helpful for OpenGL ofcourse.
    www.eecs.tulane.edu/www/Terry/OpenGL - OpenGL tutorial that uses Language C.
    www.humus.ca - A LOT OF TUTORIALS!
    www.kegel.com/academy/ - NEWLY ADDED

    [Advanced]
    www.devmaster.net - Good tutorials, and very technical.
    www.codeguru.com - A lot of topics are discussed here, very informational.
    www.flipcode.com/tutorials/ - NEWLY ADDED - This one varies on skill levels, lots of advanced stuff here though.
    http://mindprod.com/jgloss/unmain.html -- Programming as a profession? Want to keep your job? This documentation will help you write unmaintainable code, so if they fire you. They will have one hell of a time trying to figure out your code.

    [Video Tutorials]
    * I don't really think video tutorials teach a beginning user much, but some people might be able to learn from them. So, I decided to add this section to the list. *
    ddrheaven.com/Tutorials - Video tutorial that is split into 16 parts. The guy has a UK Accent, and is not entirely boring to listen to. Submitted by kratos15

    [C/C++ IDE's] - NEWLY ADDED
    Codeblocks.org - Popular free IDE for both *nix and Win32
    Microsoft Visual C++ Express - Another popular free IDE recommended, also if you plan on using this don't forget to download the Platform SDK
    Eclipse - The famous Java IDE can also be a C/C++ IDE with a somewhat simple plug-in installation

    [Graphic Libraries] - NEWLY ADDED
    Game Hacking University - A great large listing of game hacking tutorials. Including tutorials on creating trainers in C/C++ as well as a few other hacks.

    *** There is a variety of Game/Graphic Developement Engines and Libraries, I will just list a few that I have found ***

    A lot more to come!


    [Graphic Libraries]
    LibSDL.org - Simple DirectMedia Layer (SDL) - Quick and easy to learn 2D Library, that also works very well with OpenGL
    Allegro - Allegro - A lot like SDL, but not as "clean" as SDL

    [Game/Graphic Engines]
    Orge3D.org - Object-oriented Graphics Rendering Engine - 3D
    Irrlicht.sourceforge.net - Irrlicht Engine Open Source - 3D
    Alchemist's Game Library - Some what a library and somewhat an engine - 2D
     
    Last edited: Jun 5, 2006
    10 people like this.
  2. gameuser

    gameuser Retired Staff Member

    Messages:
    3,681
    Likes Received:
    25
    Joined:
    Nov 23, 2005
  3. kratos15

    kratos15

    Messages:
    1
    Likes Received:
    0
    Joined:
    Mar 9, 2006
  4. BaGGy

    BaGGy

    Messages:
    147
    Likes Received:
    10
    Joined:
    Nov 24, 2005
    Updated, and added several new sites that I recently came across. They are labelled with the tag "NEWLY ADDED".

    So, enjoy.

    Also if you have any links that you would like added to this list, please PM me or something.
     
  5. Jesus

    Jesus

    Messages:
    8
    Likes Received:
    0
    Joined:
    Nov 24, 2005
    Nice compilation.

    I would suggest adding some links to free, open-sourced game engines, such as Irrlicht and even Ogre3D, since I see you already added links to game tutorials and resources.

    And if you need a reason to add them, most sites will have documenation on how to use the engine, so it's a educational, self-taught learning experience.

    Edit: Here are some links:

    http://irrlicht.sourceforge.net/ - Irrlicht

    http://www.ogre3d.org/ - Ogre3d
     
    Last edited: May 13, 2006
  6. WTFPWNED!

    WTFPWNED!

    Messages:
    1,667
    Likes Received:
    29
    Joined:
    Dec 1, 2005
  7. void

    void

    Messages:
    5,030
    Likes Received:
    93
    Joined:
    Nov 23, 2000
    Very nice sticky thread.
    There should be one like this in the other coding sections such as ASM as well.
    +rep
     
  8. dephreeze

    dephreeze

    Messages:
    1
    Likes Received:
    0
    Joined:
    Aug 19, 2006
    The C++ Programming Language

    Since the only pdf of "The C++ Programming Language" I could find using google was down I decided to upload it here.
     
  9. abhipb

    abhipb

    Messages:
    66
    Likes Received:
    0
    Joined:
    Aug 12, 2006
    nice thread mate 5 stars to you!
     
  10. XTZGZoReX

    XTZGZoReX Retired Staff Member GzP Underground

    Messages:
    6,659
    Likes Received:
    93
    Joined:
    May 27, 2006
    woow gr8 work...maybe this can learn me more about coding
     
  11. noobz101

    noobz101

    Messages:
    1
    Likes Received:
    0
    Joined:
    Sep 15, 2006
    great xD just what i needed.. thx
     
  12. chungyyyyy

    chungyyyyy

    Messages:
    1
    Likes Received:
    0
    Joined:
    Jun 25, 2006
    nice display of sites
     
  13. Draxden

    Draxden

    Messages:
    19
    Likes Received:
    0
    Joined:
    Oct 26, 2006
    Great information, I shall further my studies.
     
  14. ilkay

    ilkay Banned

    Messages:
    6
    Likes Received:
    0
    Joined:
    Aug 31, 2006
    Ok im gonna try to learn C++ but can you please tell my what language i need to learn to be able to hack flyff

    Also could you give me a link to a SPECIFIC site so i can start reading turorials

    Please and thank you.
     
    Last edited: Nov 10, 2006
  15. Bleh32

    Bleh32

    Messages:
    8
    Likes Received:
    0
    Joined:
    Jul 12, 2006
    Oh goodey, time to actually start coding. :D

    By the way, I place my codes on notepad and compile it using a compiler right? Is there an easier way? (Such as QBasic wherein you place the codes and press F5 to run it. Or can QBasic be able to run C++?)
     
  16. chiuenyu

    chiuenyu

    Messages:
    202
    Likes Received:
    1
    Joined:
    Dec 1, 2005
    Err btw,

    Few question

    Learning C++ or C for starter, which is better? If you know the exact answer, please state the tutorial link as well. I will give you a "Thanks" button as appreciation.
     
  17. hackkker

    hackkker

    Messages:
    11
    Likes Received:
    0
    Joined:
    Nov 27, 2006
    woah thats pretty cool.

    imma try the "learn C++ in 21 days"
     
  18. CoePSX

    CoePSX

    Messages:
    4
    Likes Received:
    0
    Joined:
    Jul 10, 2006
    I think Pelles C is the best C IDE and compiler I ever used. It's free, but it's C only, no C++.

    www,smorgasbordet,com/pellesc
     
  19. Admax

    Admax

    Messages:
    2
    Likes Received:
    0
    Joined:
    Dec 21, 2006
    hO to hard for me :eek:
     
  20. jboy184

    jboy184

    Messages:
    1
    Likes Received:
    0
    Joined:
    Dec 23, 2006
    Thanks dude this was really useful
     

Share This Page