basic graphics in c. - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

basic graphics in c.

LeebusLeebus Posts: 16Member
some things i will say might be pretty nub to you guys so bear with me.
bout 1 year ago i was into programming but sorta lost interest. now i'm back into it and recapping over everything i learnt before. i can do basic stuff in c (not c++) with variables, functions etc. i'm interested in making basic graphics like setting a resolution and plotting pixel type things. then i wanna move on to more advanced stuff. i looked around and found "allegro", some graphics programming library. i got no idea what a library is btw or how to use one but i read lots of random stuff in all the folders bout drawing rectangles and all kinds of shapes and stuff... if someone could point me in the right direction from here. and also what programs i should be using. i have visual c++ on a cd and since it's microsoft i'm guessing it's probably the best option. thanks for the help.

Comments

  • LundinLundin Posts: 3,711Member
    Allegro is an old DOS graphics library that they have updated to Windows. I haven't used it, so I can't tell whether it is good for your purpose or not.

    All serious graphic (3D) programming today is either done with the OpenGL or DirectX graphic libraries. Most modern compilers support them and there should be plenty of tutorials on the web.

    However, be aware that graphics programming is an advanced topic, and that you need to know the basics of programming properly before attempting any of the above.

    Visual Studio should work well with OpenGL or DirectX, although I don't know if it will work with Allegro. Allegro seems to be mainly asociated with Microsoft's competition Borland.
Sign In or Register to comment.