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![]()
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 ...
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
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.
What in the??!!![]()
![]()
I expect a 1000 word explanation of that.![]()