Displaying a simple image

How can I get a program to open a paint file or some other simple file like a notepad file? Do I have to use windows.h to do this??
system("application");
how simple was that???? Ha! Ok so how do I go a step further?? How can I open a file in a new window I've created??? (What I mean in case you dont understand is that i've created a new window and in that window i want to open a new paint file for example?)
Or even how can I edit a notepad file after I've used system("application")???
im not sure if that's possible. but try to use multimedia library..(sfml)(www.sfml-dev.org)
You're not being clear what you're trying to do.

Do you want to actually open paint? Or do you just want to open a bitmap file?

What do you want to do after you open it? Draw it? Edit it?

Or are you just asking about basic file I/O?
Last edited on
Right ok to answer Disch questions. Basically before initially posting this post I knew absolutely nothing (yes as in 0) on opening other files with c++, like for example with paint. Is opening a bitmap file any different to opening a paint file?

Also i do want to know how do you edit the file., because i dont know how to. Is editing a paint file different to editing a bitmap/notepad/other file???

Plus, as an answer to your last question, what do you know about basic I/O that you can be arsed to tell me??

I know I am a very beginner but I just want to expand on what I allready know
Topic archived. No new replies allowed.