Re: D Program code on CLS

2013-11-14 Thread Jesse Phillips
On Thursday, 14 November 2013 at 21:42:34 UTC, seany wrote: what is the tango equivalent for system? In my case, since my dmd, tango and things are in custom folders, i notice that i am getting problems when importing both std.stdio and tango.io.stdout For tango it looks like you want tango.

Re: D Program code on CLS

2013-11-14 Thread seany
what is the tango equivalent for system? In my case, since my dmd, tango and things are in custom folders, i notice that i am getting problems when importing both std.stdio and tango.io.stdout On Thursday, 14 November 2013 at 19:00:00 UTC, Ali Çehreli wrote: On 11/13/2013 08:59 PM, Vincent

Re: D Program code on CLS

2013-11-14 Thread Ali Çehreli
On 11/13/2013 08:59 PM, Vincent wrote: This is the code. where or what code will I use for clear the screen? My Linux console environment has 'clear'. That's why I used system("clear") below. You may need to use system("cls") if you are e.g. on Windows. import std.stdio; import std.process

Re: D Program code on CLS

2013-11-14 Thread nazriel
On Thursday, 14 November 2013 at 03:35:59 UTC, Vincent wrote: how can I clear the screen for example I input first letter (A) and second letter (B) and show the result AB then after pressing enter it will clear the screen before it display again the Input first letter Input first letter : A Inp

Re: D Program code on CLS

2013-11-13 Thread Vincent
import std.stdio,std.cstream; void main(string[] args) { while (true) { writeln ("Calculator Menu"); writeln(); writeln(); writeln (" 1 - Add"); writeln (" 2 - Subtract"); writeln (" 3

Re: D Program code on CLS

2013-11-13 Thread Jesse Phillips
On Thursday, 14 November 2013 at 03:35:59 UTC, Vincent wrote: how can I clear the screen for example I input first letter (A) and second letter (B) and show the result AB then after pressing enter it will clear the screen before it display again the Input first letter Input first letter : A Inp

D Program code on CLS

2013-11-13 Thread Vincent
how can I clear the screen for example I input first letter (A) and second letter (B) and show the result AB then after pressing enter it will clear the screen before it display again the Input first letter Input first letter : A Input second letter: B result: AB Input first letter: _ it should