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

Username:   Password: 
 RegisterRegister   
 Linking two programs
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
D4rkM4g3




PostPosted: Sat Apr 08, 2006 9:52 pm   Post subject: Linking two programs

I'm in a grade 10 programming course using turing, and we had to design a welcome screen to use with each of our programs. I made an awesome welcome screen (in my opinion anyway), but as it is now, my teacher wants us just to copy the source code for the welcome screen into the beginning of each program. My question is this. Is there a line of code that allows me to call the welcome screen file and tell turing to run it first before it continues with the rest of the program?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Apr 08, 2006 10:12 pm   Post subject: (No subject)

include filename.t

that's an equivalent of pasting the code in the file in place of the line
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
D4rkM4g3




PostPosted: Sat Apr 08, 2006 11:44 pm   Post subject: (No subject)

Awesome, that's exactly what I wanted. Thanks Very Happy
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  [ 3 Posts ]
Jump to:   


Style:  
Search: