how would i make a app to run specific files?

i wanted to know how would i make a app that runs specific files(like ROMS)i read the coding tutorials but it seems that it doesn't have what i need.If anyone could give me some code as a bases that would be great.

It depends on the file. Every file type is different (hence they are different file types), there is no one way to handle all of them. You can open any file very easily with something like:

FILE* fp = fopen("example.txt", "r");

but opening the file isn't going to do anything on it's own. You need to have code to handle the content of the file. For ROMs, you need an emulator. This is no small task and requires fairly advanced knowledge of programming as well as of both the system you are trying to emulate and the system your code will run on. I don't want to put you off learning to program or anything, but it sounds like you don't have much experience in doing so, and this is not an ideal first project for a beginner. Learn simpler stuff, get to know more about programming etc., and then try and look at open source projects for the Wii, and try to learn about Wii programming that way (although be careful as there are probably some bad pieces of coding out there full of bad coding habits which you don't want to pick up), then turn your attention to bigger things such as your own Wii projects.

well sifjar i'll delay this project i guess and make a game simlar to it for HBC. i googled a bunch of info on coding emulators and it seem its take some time. I'll just make a game simlar to mvc to keep it simple. But thanks for the tip i appreciate it.

Programming most useful things "takes some time". Games aren't exactly "simple" either, there's a lot more to them than most people think.

(I'm not saying you shouldn't start learning; go ahead and get started, just don't expect to knock out a great game in a weekend or anything like that. A decent game will take time to develop, even when you're an experienced programmer)

You could do, yes. There are a few different graphics libraries for the Wii (GRRLIB, libpng, libwiisprite [which itself uses libpng]), you should try and have a look at examples of each and find the one which suits you best. According to the libwiisprite wiki page, it is designed for "rapid game development", so that sounds like it's probably what you're after. Although the wiki page also says it is under "heavy development" and is only "semi-stable" (I am quite sure it has been abandoned in it's current state though, so it's probably as good as it's going to get), which may mean you could experience some bugs or various problems along the way.