Message-ID: <19990409042529.2583.qmail@nw178.netaddress.usa.net> Date: 9 Apr 99 09:55:29 IST From: Anindya Kumar Biswas To: djgpp AT delorie DOT com Subject: Help on my project X-Mailer: USANET web-mailer (M3.0.0.45) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id AAA16091 Reply-To: djgpp AT delorie DOT com problem 1: My code is as follows #include #include struct datafeed { char name[80]; int *integer; float *floating; char *string; long int *longint; }tray; struct token { char *name; char type; void *data; token *next; }; int main() { printf("yo hoo hoo"); return 0; } this program is not running the error is as follows: c:/chotu/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or directory (ENOENT) Problem 2: #include #include #include int main() { //FILE *anindya=fopen("keydef.h","o"); int key; char keys[13]; do { key=bioskey(1); if(key!=0) { printf("yo main"); bioskey(0); } }while(strcmp(keys,"exit")!=0); return 0; } in this code every time i press a key I should get yo main on the screen but it does not work I want this because I want a way to trap keys without stopping the program execution I made a texteditor few days back for my class XII project. in it I put all the int code of all the keys on the keyboard then with bioskey compair the code and then generate the actual key value for the code. It worked in Borland C++ It is not working here. You know the funny thing is 'yo main' is displayed on screen after I have ^c the program. PS. There are better ways of key trap if you know one please tell me how? Some one please help me because I am making a interprater programming language using Djgpp & it is my only ticket for getting admited in a university for undergraduate studies because academically I am Screwing up big time. ____________________________________________________________________ Get free e-mail and a permanent address at http://www.netaddress.com/?N=1