C++ program to open an image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ravi sharma
    New Member
    • Oct 2011
    • 1

    C++ program to open an image

    hi, as i am a very basic user of C++, as i am learning it now.

    i need a program coding of c++ dos,
    which would access a image file and open it when i run the program.
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    hi ravi,
    I studied in Bangladesh,
    Like all other people in subcontinent you are using turbo c++ 3.0 version.

    I would suggest you, use updated c/c++ compiler. If you use Turbo c++3.0 there is few thing you will learn wrong for sure. as example
    pointer.

    in turbo c, you can use pointer without allocating, which is a example for bad practice of programming c/c++.

    as a beginner, you should target an image type, which type of image you want to read. as example: BMP, jpg/jpeg, PNG, gif or whatever it is.

    and you can search online for file format definition

    Comment

    Working...