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

Username:   Password: 
 RegisterRegister   
 loading a pic
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kingpin




PostPosted: Wed Jun 09, 2004 10:55 pm   Post subject: loading a pic

basically i dont know exactly what is going on here

i try to load the program and its always saying picutre ID number '0'

picture not successfully created

what do i have to type for the directory in order for turing to load the picture

picID := Pic.FileNew ("C:Project\die1.jpg")
Pic.Draw (picID, 15, 500, picMerge)

if what i have right now...

is there something wrong with my directory or what do i need to change i know its something small but there is
Sponsor
Sponsor
Sponsor
sponsor
Paul




PostPosted: Wed Jun 09, 2004 10:57 pm   Post subject: (No subject)

("C:\\Project\\die1.jpg")
or
("C:/Project/die1.jpg")
kingpin




PostPosted: Wed Jun 09, 2004 11:01 pm   Post subject: (No subject)

Paul Bian wrote:
("C:\\Project\\die1.jpg")
or
("C:/Project/die1.jpg")


still comes back and says picture not successfully created
Paul




PostPosted: Wed Jun 09, 2004 11:07 pm   Post subject: (No subject)

well, either ur picture isn't there, the path is wrong, ur picture is named wrong, or ur using turing 3.11 and u need to restart it.
kingpin




PostPosted: Wed Jun 09, 2004 11:14 pm   Post subject: (No subject)

ah when i saved my pics they had a space in them... thanks
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  [ 5 Posts ]
Jump to:   


Style:  
Search: