User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Jul 2005
Posts: 3
Reputation: ph34rgh057 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ph34rgh057 ph34rgh057 is offline Offline
Newbie Poster

Help simple image

  #1  
Jul 29th, 2005
i was woundeirng if anyone could help me with drawing a simple image perferably a .gif

thank you.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2004
Posts: 6,019
Reputation: Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of 
Rep Power: 26
Solved Threads: 414
Super Moderator
Narue's Avatar
Narue Narue is online now Online
Expert Meanie

Re: simple image

  #2  
Jul 29th, 2005
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.
Member of: Beautiful Code Club.
Reply With Quote  
Join Date: Jul 2005
Posts: 3
Reputation: ph34rgh057 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ph34rgh057 ph34rgh057 is offline Offline
Newbie Poster

Re: simple image

  #3  
Jul 29th, 2005
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.
Reply With Quote  
Join Date: Sep 2004
Posts: 6,019
Reputation: Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of 
Rep Power: 26
Solved Threads: 414
Super Moderator
Narue's Avatar
Narue Narue is online now Online
Expert Meanie

Re: simple image

  #4  
Jul 29th, 2005
>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.
Member of: Beautiful Code Club.
Reply With Quote  
Join Date: Jul 2005
Posts: 1
Reputation: Munk is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Munk's Avatar
Munk Munk is offline Offline
Newbie Poster

Re: simple image

  #5  
Jul 29th, 2005
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.
Reply With Quote  
Join Date: Jul 2005
Posts: 3
Reputation: ph34rgh057 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ph34rgh057 ph34rgh057 is offline Offline
Newbie Poster

Re: simple image

  #6  
Jul 29th, 2005
[edit] found out you can....

and i would also like to add that when i take my time , i can type quite good.
Reply With Quote  
Join Date: Sep 2004
Posts: 6,019
Reputation: Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of 
Rep Power: 26
Solved Threads: 414
Super Moderator
Narue's Avatar
Narue Narue is online now Online
Expert Meanie

Re: simple image

  #7  
Jul 29th, 2005
>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.
Member of: Beautiful Code Club.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb C++ Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 8:57 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC