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

Username:   Password: 
 RegisterRegister   
 Get command with font.draw and/or textboxes?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Vissar




PostPosted: Mon Nov 27, 2006 10:34 am   Post subject: Get command with font.draw and/or textboxes?

In simple terms... I want to "get" varriables but in font.draw mode so that the variables look nice early because I don't intend to cls (it would be impractical for my program). How can this be done?

Also, just for future referance, I'd like to know how to be able to "get" varriables with boxes. I've seen other people do it but couldn't figure it out. >_<
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Mon Nov 27, 2006 10:43 am   Post subject: (No subject)

please search the forums, this is a very common question.

The answer involves turning on noecho, and using getch() to read variable values one letter at a time.

Boxes involve the GUI module.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Vissar




PostPosted: Mon Nov 27, 2006 2:10 pm   Post subject: (No subject)

Can't search for something I have no clue how to start. That's like searching for "giraffe" when all you know about it is "mammal."

With those key words, I have come accross

http://www.compsci.ca/v2/viewtopic.php?t=13777&highlight=getch

but I don't understand the complex first part...
Tony




PostPosted: Mon Nov 27, 2006 2:42 pm   Post subject: (No subject)

you found exactly what you were lookin for Smile

now you just need to learn enough programmin to understand it. Read the Turing Walkthrough and ask questions.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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  [ 4 Posts ]
Jump to:   


Style:  
Search: