Lost Password?


Go Back   CodeCall Programming Forum > Software Development > C and C++

C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-15-2007, 08:42 PM
CPlusPlus CPlusPlus is offline
Newbie
 
Join Date: Aug 2007
Posts: 29
Rep Power: 5
CPlusPlus is on a distinguished road
Default How to?

How do i load up an image (jpeg) and use it as a background in C++?
and how do i use an image as an icon for a .exe?

thanks, CPP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-15-2007, 09:08 PM
Jordan's Avatar   
Jordan Jordan is online now
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,474
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

What IDE are you using? There are different ways for each one like Borland C++ and Visual C++.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-15-2007, 09:18 PM
CPlusPlus CPlusPlus is offline
Newbie
 
Join Date: Aug 2007
Posts: 29
Rep Power: 5
CPlusPlus is on a distinguished road
Default

Oh sorry, im using the Dev-C++ one.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-15-2007, 11:35 PM
CPlusPlus CPlusPlus is offline
Newbie
 
Join Date: Aug 2007
Posts: 29
Rep Power: 5
CPlusPlus is on a distinguished road
Default

C'mon, i really need this
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-16-2007, 12:48 AM
v0id's Avatar   
v0id v0id is offline
Retired
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,650
Last Blog:
CherryPy(thon)
Rep Power: 29
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default

What are you working with? Some kind of 3D-engine, GDI, or something third? You need to specify for us what you're doing and using.
__________________
05-03-2007 - 11-13-2008
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 08-16-2007, 12:53 AM
CPlusPlus CPlusPlus is offline
Newbie
 
Join Date: Aug 2007
Posts: 29
Rep Power: 5
CPlusPlus is on a distinguished road
Default

im just making a little menu type thing, like you click the .exe then it comes up, you use the arrow keys to scroll the menu, press enter on play and then it goes to a SWF file, which is the game.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-23-2007, 08:44 PM
Victor Victor is offline
Learning Programmer
 
Join Date: May 2007
Posts: 96
Rep Power: 6
Victor is on a distinguished road
Default

Quote:
Originally Posted by CPlusPlus View Post
How do i load up an image (jpeg) and use it as a background in C++?
and how do i use an image as an icon for a .exe?

thanks, CPP
To answer the second part of your question about applying a custom icon to your output file. In Dev-Cpp when you are editing, right click your project and go to "Project Options". (Unless I'm mistaken) On the first page, there will be an option to change the icon. It also has a small library of general icons. When you compile your project, it will apply the icon to your file. Wish I could help you with the background.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -5. The time now is 03:32 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%

Ads