【问题标题】:Keyboard interrupt on Turbo C++ 3.1Turbo C++ 3.1 上的键盘中断
【发布时间】:2022-12-02 17:48:42
【问题描述】:

My name is Andrea. I\'m using Turbo C++ on an old PII 350 MHz with dos 7. I\'ve written a while cycle which does something. I have to check a which letter of the keyboard has been pressed without checking it in the cycle in order to avoid it to slow down. Is there a way to set an interrupt like in arduino to stop the cycle only when a key is pressed? I\'ve tried with bioskey(0) in the cycle but it slows it down too much....

  • Please don\'t downvote the OP\'s question since he is using Turbo C++, since he stated that he is on an old DOS computer, which presumably also requires the use of a corresponding old compiler.

标签: c++ keyboard interrupt dos turbo-c++


【解决方案1】:
猜你喜欢
  • 2012-01-11
  • 2015-11-30
  • 1970-01-01
  • 1970-01-01
  • 2014-10-04
  • 2021-04-26
  • 2010-11-24
  • 2014-02-05
  • 1970-01-01
相关资源
最近更新 更多