Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Importing Pics
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
siegs




PostPosted: Wed Jun 04, 2003 6:49 pm   Post subject: Importing Pics

How do i import .bmp files into a program?
Sponsor
Sponsor
Sponsor
sponsor
AsianSensation




PostPosted: Wed Jun 04, 2003 6:55 pm   Post subject: (No subject)

I think there is a tutorial on this in the tutorial section, go look it up.

btw, the function is Pic.FileNew and Pic.Draw
siegs




PostPosted: Wed Jun 04, 2003 7:05 pm   Post subject: (No subject)

thanx
siegs




PostPosted: Wed Jun 04, 2003 7:17 pm   Post subject: (No subject)

i tried that, but it says "general protection (segmentation) fault" and wont run
Andy




PostPosted: Wed Jun 04, 2003 7:26 pm   Post subject: (No subject)

open up a turing editor, type Pic.FileNew and press F9, the turing help menue will show up and there'll be examples
krishon




PostPosted: Wed Jun 04, 2003 7:41 pm   Post subject: (No subject)

u could just use pic.copy...i've tried it, its the easiest way
Mephi




PostPosted: Wed Jun 04, 2003 8:17 pm   Post subject: (No subject)

its like this:
code:

var pic : int := Pic.FileNew ("blah.bmp")
Pic.Draw (pic, xcoord, ycoord, picCopy)


theres also other stuff to put in place of the 'picCopy', its in a tutorial
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: