Hi People,
I wrote the below given code in "Turbo C" It's Working But When I paste the same code in Dev C++. It's not working.
I am just frustrated.
WHY IT IS NOT WORKING WITH DEV C++
-----------------------------
#include %26lt;conio.h%26gt;
main()
{
textcolor (BLUE) ;
cprintf ( "YourName" ) ;
}
--------------------------------
Long Answers Are Appreciated.
Thanks In Advance.
C, C++ Beginner Help ?
conio.h is not part of the C++ standard. Also, if you are interested in doing console output, C++ uses cout:
http://xoax.net/comp/cpp/console/Lesson2...
Reply:You don't need a long answer. conio.h is turbo c only. You can't convert this program to DEV C++ because conio.h is not a standard c library.
marigold
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment