•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 391,946 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,885 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser:
Views: 1431 | Replies: 6
![]() |
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?
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.
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;
}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.
Member of: Beautiful Code Club.
•
•
Join Date: Jul 2005
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
well i didnt realy me to draw it but to simply add a exicting image tot he screen, so i could start makeing the basics of a simple 2d game.
i am useing ,the c++ visual basic compiler, windows xp,and am fairly noobish, btu i cna do all the basicls stuff, but i know how to do this stuff in java, (my school wont teach c++, or any other lauange thats wort anything) , however i dotn want to make a game in java....
also if c++ dosent have this abbilty what launge dose, (perferable the easyest one so i dont have to go learning to much other stuff)
and sorry for my bad spelling.
i am useing ,the c++ visual basic compiler, windows xp,and am fairly noobish, btu i cna do all the basicls stuff, but i know how to do this stuff in java, (my school wont teach c++, or any other lauange thats wort anything) , however i dotn want to make a game in java....
also if c++ dosent have this abbilty what launge dose, (perferable the easyest one so i dont have to go learning to much other stuff)
and sorry for my bad spelling.
>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.
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.
Member of: Beautiful Code Club.
First of all please excuse his spelling, I cannot get him to correctly spell anything and it drives me crazy. As for our practice in programming we have been in high school classes of JAVA for two years now. We've successfully made a game of pong and pacman, but that's not saying much.
Specs-
OS: Windows XP Prof.
Compiler: Microsoft Visual C++ 6.0
Maybe that will clear things up a bit more for you.
Specs-
OS: Windows XP Prof.
Compiler: Microsoft Visual C++ 6.0
Maybe that will clear things up a bit more for you.
>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.
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.
Member of: Beautiful Code Club.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
Similar Threads
- Open Source Image Uploading Script (Website Reviews)
- Images in signatures (Growing an Online Community)
- Need Help with a Logo (Site Layout and Usability)
- The Technologist Community (Website Reviews)
- Loading images in AWT (Java)
Other Threads in the C++ Forum
- Previous Thread: Abstract Class member function problem
- Next Thread: maybe a stupid question?



Linear Mode