473,322 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

how to use bioskey()?

the code is following;
#include <bios.h>
#include <stdio.h>

void main()
{
int i;

i = bioskey();
return;
}

but after compiler,the error is:
Call to undefined function 'bioskey' in function main()
*** 1 errors in Compile ***
Borland C++ 5.2 for Win32 Copyright (c) 1993, 1997 Borland
International

why?

In the directory<include>,i found the file named with bios.h.
thx.

Apr 24 '07 #1
3 7416
lzh08 wrote:
the code is following;
#include <bios.h>
Not a standard C or C++ header, try a windows group.

--
Ian Collins.
Apr 24 '07 #2
ok,i have resolved it.
In bc++5.5,select the project used with right mouse,and double click
the target expert,then select the dos

Apr 24 '07 #3
On Apr 24, 8:55 am, lzh08 <cppcpldf...@gmail.comwrote:
ok,i have resolved it.
In bc++5.5,select the project used with right mouse,and double click
the target expert,then select the dos
void main { } is illegal in C++.
Borland, Win32 and DOS are off-topic here.

consult the faq:
http://www.parashift.com/c++-faq-lit...t.html#faq-5.8

Apr 24 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: tycho1546 | last post by:
Years ago I wrote some programs in Borland's Turbo C 2.0 that use a library routine called bioskey(), which tests whether a keystroke is available to be read. The bioskey() routine returns the...
9
by: James McLaughlin | last post by:
Hi, Does anyone know if it's possible to write either a getch() (preferably Borland-style) or getche() function in C without it being platform-dependent or otherwise non-standard? If not, can...
3
by: Stu Lock | last post by:
Hi, I am trying to write a script that sends a code to a COM port to open a till draw. The code at the bottom of the page (written in C) is what the suppliers sent as an example. I have used the...
10
by: MC felon | last post by:
its da felon in da house. i have a doubt..... how do i access CTRL, ALT or SHIFT using the "bioskey( )" function (bios.h) WITHOUT needing to press some other key along with it.. like, i want...
1
by: MC felon | last post by:
got myself Dev c++ and downloaded OpenGL. what are the equivalent functions for 'bioskey()' (in turbo c++) and 'gotoxy()' (in TC++ again)??
2
by: MC felon | last post by:
hi. how do i access keys like F1,ESC,DEL,UP,DOWN etc., in Dev c++ like i used to in TC++ using bioskey()?
3
by: madhumathikv | last post by:
Hi all, How to implement automatic completion i.e, suppose Assume that there are commands like show show version show ip show arp As soon as you press "s" and tab it should display "show...
0
by: DosFreak | last post by:
#define SUBMODEL 1 #include "mydef.h" #include "wscreen.h" #define RIGHTSHIFT 0x0001 #define LEFTSHIFT 0x0002 #define CONTROL 0x0004 #define ALT 0x0008...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.