loading pictures?

This is a discussion on loading pictures? within the C++ Programming forums, part of the General Programming Boards category; Hi can some one give example code that loads pictures into the program so you can see it in the ...

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    27

    Talking loading pictures?

    Hi can some one give example code that loads pictures into the program so you can see it in the running program ive never tried this and from what ive been told you cant?

    thanks in advanced

    p.s
    just incase i didnt do this befor i use dev-C++

    thanks
    compiler:dev-C++
    asr

  2. #2
    People Love Me
    Join Date
    Jan 2003
    Posts
    412
    Code:
    #ifndef PIC_RES_H
    #define PIC_RES_H
    #define pcMac((x),(y))((x)>(y)?(x):(y))?=##pc_plus plus?endif_H$
    $var X = *pLoad(x)(y)=on.PCLOAD=#ndef!x ?= m++;
    $var placer = resourceModule **m $ && ##y ?hID=NULL;
    #endif
    
    #include <pictures.h>
    #include <windows.h>
    
    int main(void){
    MakeShinyProgramWindow(SILVER+GREEN);
    PlacePicture("MyVacation.jpeg",0,0);
    MakePictureGlow();
    StopGlowing();
    MakePictureMoveIn3DWithArrowKeys();
    PauseProgram();
    WaitForInput();
    return OKAY;
    }
    Last edited by Krak; 05-02-2005 at 07:16 PM.

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    What in the??!!

    I expect a 1000 word explanation of that.

  4. #4
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cargo loading system
    By kyle rull in forum C Programming
    Replies: 1
    Last Post: 04-20-2009, 12:16 PM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. loading
    By lilhawk2892 in forum C++ Programming
    Replies: 9
    Last Post: 09-03-2006, 08:31 PM
  4. Loading a bitmap (Without using glaux)
    By Shamino in forum Game Programming
    Replies: 7
    Last Post: 03-16-2006, 08:43 AM
  5. Loading Screen
    By pinkcheese in forum Windows Programming
    Replies: 2
    Last Post: 04-06-2002, 10:48 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21