I'd be happy to, first you'll need to start up your favorite image editing software...
Seriously, did you honestly think that C or C++ had a built in capability to do this?
#include <image.h>
int main ( void )
{
draw_image ( ".gif" );
return 0;
}
Sorry, you're dealing with low level languages that use libraries for any extra functionality. You need a library that lets you work with images, which means you need to tell us what operating system you're using, what compiler you're using, and a rough estimate of how newbish you are so that we can tailor the answer to your capabilities.
Graphics in general are a complicated area, but if you want to know how to avoid the library entirely, you can surf over to www.wotsit.org and read up on the GIF file format.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>well i didnt realy me to draw it but to simply add a exicting image tot he screen
What do you think drawing is? You want to draw an exciting image to the screen. I recommend you start here . Graphics in C++ are not trivial, and you don't strike me as a seasoned programmer.
>btu i cna do all the basicls stuff
Apparently proofreading is not one of your strong suits. I can't imagine how long it takes you to debug your syntax errors.
>also if c++ dosent have this abbilty
*sigh* C++ can do anything your little mind might dream up. However, it doesn't do everything natively, so you have to find a library that does what you want, or write a library that does what you want.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>Maybe that will clear things up a bit more for you.
What's there to clear up? I've answered the question, but neither you nor your friend seem capable of understanding it. In C++ you need a library, I've given you a simple library to start with because you seem to lack the skills necessary to use a more powerful library at this time.
>i can type quite good.
quite well.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401