Thread: How to get started with basic graphics?

  1. #1
    Registered User
    Join Date
    Jul 2016

    How to get started with basic graphics?

    I am a beginner in the language of C++ that has no idea of how to do graphics of any sort, can you help me with a tutorial of how to get started on graphics for a 2d game?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Well you need to say which OS and compiler you're using to begin with.
    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.

  3. #3
    Join Date
    Oct 2007
    Inside my computer
    Sorry, there's no 2D Graphics API in the standard library. Yet. So you're going to have to use a platform-specific API. Direct2D or OpenGL might do the trick? I'm sure there are others too...
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help me in c graphics basic!!
    By dhruvkaushal11 in forum Game Programming
    Replies: 4
    Last Post: 11-03-2013, 02:50 AM
  2. Basic PC graphics
    By A34Chris in forum Game Programming
    Replies: 18
    Last Post: 11-09-2011, 02:25 PM
  3. Graphics.h How to get started....
    By meadhikari in forum C Programming
    Replies: 5
    Last Post: 03-27-2010, 12:55 PM
  4. Just started c++ need help...(those who know basic matrices)
    By Bloodasp92 in forum C++ Programming
    Replies: 4
    Last Post: 12-04-2007, 04:44 AM
  5. Getting started with 2d graphics.
    By NickB in forum Windows Programming
    Replies: 3
    Last Post: 08-22-2001, 11:40 AM

Tags for this Thread