DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    emperor Guest

    Need help on Graphics, PLEASE HELP


    Help!
    I am a new programmer in C. Just C! (not C++ or any fancy C junk."
    I learned how to program out of a book that is obviously old (copyright 1990)
    and I need to know how to put little pictures on the screen. If you don't
    know, tell me where I can find out. (I hope you know!)
    emperor

  2. #2
    Danny Kalev Guest

    Re: Need help on Graphics, PLEASE HELP

    standard C knows nothing about pictures (unless you meant text-mode
    graphics) so you'll have to use platform-specific APIs, depending on the
    compiler and OS you're using. Try to look for functions with meaningful
    names in the <graphics.h> header or simialr libraries.

    Danny


    emperor wrote:
    >
    > Help!
    > I am a new programmer in C. Just C! (not C++ or any fancy C junk."
    > I learned how to program out of a book that is obviously old (copyright 1990)
    > and I need to know how to put little pictures on the screen. If you don't
    > know, tell me where I can find out. (I hope you know!)
    > emperor


  3. #3
    jonnin Guest

    Re: Need help on Graphics, PLEASE HELP


    Opengl is an easy to use, fairly powerful tool for graphics. You can get
    it for most platforms/compilers for free. Unreal (a game) was done in gl,
    many others. You may have to draw a rectangle and put the images on that
    as a texture, but its easy enough to do.





    Danny Kalev <dannykk@inter.net.il> wrote:
    >standard C knows nothing about pictures (unless you meant text-mode
    >graphics) so you'll have to use platform-specific APIs, depending on the
    >compiler and OS you're using. Try to look for functions with meaningful
    >names in the <graphics.h> header or simialr libraries.
    >
    >Danny
    >
    >
    >emperor wrote:
    >>
    >> Help!
    >> I am a new programmer in C. Just C! (not C++ or any fancy C junk."
    >> I learned how to program out of a book that is obviously old (copyright

    1990)
    >> and I need to know how to put little pictures on the screen. If you don't
    >> know, tell me where I can find out. (I hope you know!)
    >> emperor



  4. #4
    Song Guest

    Re: Need help on Graphics, PLEASE HELP


    "emperor" <emperorbradford@hotmail.com> wrote:
    >
    >Help!
    > I am a new programmer in C. Just C! (not C++ or any fancy C junk."
    >I learned how to program out of a book that is obviously old (copyright

    1990)
    >and I need to know how to put little pictures on the screen. If you don't
    >know, tell me where I can find out. (I hope you know!)
    > emperor


    First of all, your question is very vague....
    But my suggetion is to take a look at openGL API...
    Straight C interface... Supported by all major platforms...
    More than enough for putting little pictures on the screen....
    www.opengl.org
    Check that site out for start..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links