I am trying to load an image via just calling the filename. I searched to find out how to do that but unfortunately I could not. It might be really easy thing to do but I am pretty new in C. Thanks for help in advance...
When you say load an image you must clarify your intentions.
What do you intent to do with the loaded image? Just read it and process it, display it etc?
Basically core C/C++ does not have any support for image manipulation but depending on your needs you can find libraries (which use C/C++) which have support for this.