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

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




PostPosted: Sat Dec 13, 2003 11:37 am   Post subject: Adding images

I want to add images just as a logo. How would I do that?
Sponsor
Sponsor
Sponsor
sponsor
drumersrule123




PostPosted: Sat Dec 13, 2003 12:29 pm   Post subject: (No subject)

I don't understand what you are trying to say but if you are trying to import a picture use

code:
Pic.ScreenLoad ("picturename.BMP", x, y, picCopy)
aliveiswell




PostPosted: Sat Dec 13, 2003 1:08 pm   Post subject: (No subject)

thanks, but do i have to have the picture in the same dir as the turing file?
Tony




PostPosted: Sat Dec 13, 2003 3:38 pm   Post subject: (No subject)

no. you can have the picture else where, but you'd have to use the full path. Such as "c:\\folder\\image.jpg" Note that you have to use \\

Edit: thx for the note Mazer
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Mazer




PostPosted: Sat Dec 13, 2003 9:26 pm   Post subject: (No subject)

i think you have it backwards tony. if you're going to use the backslash (\) then you'll need to use two, but if you use the forward slash (/) then you only use one.
recneps




PostPosted: Thu Dec 18, 2003 5:15 pm   Post subject: (No subject)

why the weird slashes?
Dan




PostPosted: Thu Dec 18, 2003 7:29 pm   Post subject: (No subject)

it is b/c some slashes mean things in most langues like \n \t, ect. normaly \\ = \ and \" = " but i guse the poleop who made turing thougth it whould be fun to mess poleop up and use / to be unlike C or it could be there where going for the wbe systel of dir's where it is /. who knows what is going thougth there heads when they made turing, some times it is best left unknow.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
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: