in linux c  we can do using functions like tcgetattr,tcsetattr
How can I stop characters from being echoed on the screen as they're typed using turbo c?
Use getch() like this
#include %26lt;iostream%26gt;
#include %26lt;conio.h%26gt;
void main()
{
     char blah[15];
     int j;
     for(j=0; j%26lt;sizeof(blah); j++)
     {
              blah[j] = getch();
              if(blah[j] == '\r')
              {
                         cin.ignore(1);
                         break;
              }
     }
              
}
Reply:If your computer is not working properly while you are working on it, it could be a problem with device drivers, hardware or software. 
Detailed instructions at http://tinyurl.com/yk5zpr
Reply:Go to help menu
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment