i need someone to help me find a compiler that can compile the kind of code like clrscr(); and getch(); and uses the kind of other functions like borland turbo c++. i would really perfer it to be free but unfree ones are still nice!
thaks in advice!![]()
This is a discussion on Ca Ca Ca Ca Code within the C++ Programming forums, part of the General Programming Boards category; i need someone to help me find a compiler that can compile the kind of code like clrscr(); and getch(); ...
i need someone to help me find a compiler that can compile the kind of code like clrscr(); and getch(); and uses the kind of other functions like borland turbo c++. i would really perfer it to be free but unfree ones are still nice!
thaks in advice!![]()
Here's a novel idea! How about Borland Turbo C++? Sounds like you've just answered your own question.Originally posted by loki_cmr
i need someone to help me find a compiler that can compile the kind of code like clrscr(); and getch(); and uses the kind of other functions like borland turbo c++. i would really perfer it to be free but unfree ones are still nice!
thaks in advice!![]()
Quzah.
Hope is the first step on the road to disappointment.
>Microsoft Visual Studio.
VS does not compile DOS apps, which the original poster probably was referring to.
Borland has a free commandline compiler for download.
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.
printf("%c[2J%c[H",27,27);
or
cout<<char(27)<<"[2J"<<char(27)<<"[H";
acts clrscr(), I tested on GNU C/C++(gcc).
getch() or getche() is available with curses.h in gcc(linux), but curses.h has something different from conio.h.
I think you may want Dev-C++, conio.h provided and it is free.
>acts clrscr(), I tested on GNU C/C++(gcc).
And where else did you test it? Just because it works on the one OS and compiler that you tested it with doesn't mean that it will work for everyone else.
>i need someone to help me find a compiler that can compile the kind of code like clrscr(); and getch(); and uses the
>kind of other functions like borland turbo c++.
You're talking about nonstandard extensions. If you want them then you had best stick with a Borland compiler that does what you want or find ways to simulate the functionality in another compiler.
-Prelude
My best code is written with the delete key.