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

Username:   Password: 
 RegisterRegister   
 Importing web/other programs
Index -> Programming, Turing -> Turing Help
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
basketball4ever




PostPosted: Thu Jan 27, 2005 12:36 am   Post subject: Importing web/other programs

I just wanted to know if turing can import other programs. Say i want to make a crossword generator... is it possible i find a word bank program, and attach it with turing??? or must i make my own word bank/dictionary?
Sponsor
Sponsor
Sponsor
sponsor
Martin




PostPosted: Thu Jan 27, 2005 6:49 am   Post subject: (No subject)

depends on the program. If it lets you export things, then sure, you can use it, but if not, you're out of luck.
person




PostPosted: Thu Jan 27, 2005 11:06 am   Post subject: (No subject)

u can also import a list of words from a text file
MysticVegeta




PostPosted: Thu Jan 27, 2005 1:44 pm   Post subject: (No subject)

person wrote:
u can also import a list of words from a text file

I agree with person, use file io with arrays and import the lists from a txt file in the same folder
basketball4ever




PostPosted: Thu Jan 27, 2005 4:01 pm   Post subject: (No subject)

MysticVegeta wrote:
person wrote:
u can also import a list of words from a text file

I agree with person, use file io with arrays and import the lists from a txt file in the same folder


sorry i was just trying to use a cross word as an example, but like what if i needed a calculator??? how would i import that without having to make my own
cycro1234




PostPosted: Thu Jan 27, 2005 4:03 pm   Post subject: (No subject)

Why would u want to import a calculator in Turing to use it, when u cud just use the calculator by itself?....
person




PostPosted: Thu Jan 27, 2005 4:13 pm   Post subject: (No subject)

y do u need to import a calculator??? Question Question Question
HelloWorld




PostPosted: Thu Jan 27, 2005 4:28 pm   Post subject: (No subject)

person wrote:
y do u need to import a calculator??? Question Question Question

Yeah, the last person just asked that. Little slow are we?

He just simply wants to know if it is possible to import other programs into turing.

And to answer your question:
If you make a math quiz program, and want the user to use a calculator to find the answer. This way right away when you run the program, the calculator is already their, and you don't have to go and open it yourself. Simple as that.

Even though you can easily make a calculator with Turing. If would be easier to intergrate the Windows calculater with your program. . .

But, basketball4ever, I have no idea, I have never actually thought of doing this, nor have I tried to.
Sponsor
Sponsor
Sponsor
sponsor
Bacchus




PostPosted: Thu Jan 27, 2005 4:44 pm   Post subject: (No subject)

if he just wants it to open up use Sys.Exec to accually have turing then do stuff in the program i have no idea. would be nice to kno cause then i can do some just Smile
cycro1234




PostPosted: Thu Jan 27, 2005 4:59 pm   Post subject: (No subject)

It's like creating Halo 2 in Turing with one line Very Happy
person




PostPosted: Thu Jan 27, 2005 5:14 pm   Post subject: (No subject)

so its just like a copy/paste situation with a program
basketball4ever




PostPosted: Thu Jan 27, 2005 10:01 pm   Post subject: (No subject)

person wrote:
y do u need to import a calculator??? Question Question Question


gah "person"

1. stop flooding with pointless messages on my threads and others.

2. read my posts

3. this is my flame to you personally because you always try to insult me.

And as for the importing thing, yeh it works.

4. I needed to know how to do it to import a code i made with C++ onto turing to see if it works.
person




PostPosted: Fri Jan 28, 2005 11:01 am   Post subject: (No subject)

Quote:
3. this is my flame to you personally because you always try to insult me.


look whos talking
cycro1234




PostPosted: Fri Jan 28, 2005 11:18 am   Post subject: (No subject)

Cut that out!

And u might want to check out what import can do.
Tony




PostPosted: Fri Jan 28, 2005 12:23 pm   Post subject: (No subject)

person: behave yourself.

Turing cannot embed other applications into itself. The closest thing I can think of is ActiveX components in Visual Basic Confused

Turing does not import external code nor binaries - it has been looked into.

One could use Sys.Exec() to execute another program, but the only feedback Turing gets is an error message or lack there of.
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 2  [ 19 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: