|
-
March 8th, 2003, 06:21 AM
#1
how easy is it to add *.jpeg in your program
I also wanted to do this but although i am not there , i still want to try this out
is it possible to code in C++ a small line or so that will display a *.jpeg or even *.bmp file in your program
and can you change the text colour or a output for example
int main()
{
cout<<"**************************"<<endl;
cout<<"** My new program **<<endl;
cout<<"**************************<<endl;
// i want the above to come out as a green text rather then white
// can i do this if so how
return 0;
}
-
March 8th, 2003, 09:50 AM
#2
Umm..., I think the easiest way for you to display image files is to use Win_app in which you can use Loadbitmap, LoadImage,Bitbuilt...and TextOut,TextColor...commands to achieve what you want.
I have never tried programing using the int main() to load or draw bitmaps before, but if it is possible I guess it will not be easy at all .
Best Regards,
-
March 9th, 2003, 10:01 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|