What code or codes can open and display a picture file such as p.png ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What code or codes can open and display a picture file such as p.png ?

In this lessen it is not clearly mentioned that how you can open and display a picture file which is located in your computer .. the same is true about bin files!

26th Jan 2018, 11:33 AM
irajjs
irajjs - avatar
2 Answers
+ 2
Thank you Martin Taylor I always include fstream header in all my programs to enable them to make needed changes .. I took a look at your provided links .. later i am going to work more on it
27th Jan 2018, 5:31 AM
irajjs
irajjs - avatar
0
The current lessen in which i posted this question is a c++ language lesson I know how to open bin or picture files! There are many tools or applications but if a programmer wants to write a code which can open a picture or bin file .. i mean for example files with exe and or png extensions .. then this lesson which is related to opening files does not help! Briefly speaking a program with code such as: open p.png or open(p.png) or openFile p.png will not be able to open a png file!
26th Jan 2018, 4:49 PM
irajjs
irajjs - avatar