Thread: Graphics && Tutorial

  1. #1
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669

    Unhappy Graphics && Tutorial

    Hi!

    I was reading a tutorial about graphics that is on this page and then I wrote a sample code for the MCGA video mode and it is not working. Commands "_AX" and "geninterrupt" are not recognizeable. I'm using VC++ 5.0.

    Is there any special library that I should use?

    Please help.
    Last edited by GaPe; 03-03-2002 at 07:37 AM.
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> Commands "_AX" and "geninterrupt"

    Looks very much like a DOS program. You cannot compile a DOS program with VC++, it is a 32bit compiler. You need to find a DOS tutorial and compiler if you want to use DOS, or a 32bit tutorial if you want to use VC++. There should be links to all these things in the FAQ/Directory.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669

    Angry

    Yes you're right. It is for DOS. I wrote this in Borland C++ 3.0 and it is working, BUT if I want to use command "putpixel", then I must use library "graphics.h" which is not good, beacuse then I have to use a BGI graphics. And this tutorial is about graphics which do not use BGI graphics. wth?

    What am I supposed to do now?
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Introductory Graphics in C, Info & Tutorial
    By Adak in forum Game Programming
    Replies: 5
    Last Post: 03-16-2009, 05:57 PM
  2. Graphics tutorial
    By ssjnamek in forum C++ Programming
    Replies: 1
    Last Post: 08-15-2005, 02:13 AM
  3. Tutorial for making better computer graphics?
    By supertoad in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 05-02-2005, 12:19 AM
  4. About the graphics tutorial hosted here..
    By Cobras2 in forum C++ Programming
    Replies: 4
    Last Post: 10-23-2002, 12:40 PM
  5. A Tutorial For Graphics In C!!!
    By SupremeOmnipotence in forum C Programming
    Replies: 4
    Last Post: 01-17-2002, 06:04 PM