Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers LCC > Re: My code won...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 983 of 1070
Post > Topic >>

Re: My code won't compile!

by "Antoine Leca" <root@[EMAIL PROTECTED] > Sep 25, 2007 at 04:26 PM

En news:1190623582.959140.105390@[EMAIL PROTECTED]
 va escriure:
> 5. This code is apparently specific to this lcc compiler; use of
> tcconio.h; conio.h isn't standard, tcconio.h definitely isn't

Hmmm...
<tcconio.h> (which is not widely known, indeed) + many function calls for
the stuff usually declared in MS-DOS' <conio.h> + randomize() let me think
this stuff has been written for Turbo C rather than lcc. And the other
just
renamed the file for her standard header to TCCONIO.H in the INCLUDE
directory (MS-DOS is uppercased).

You can download the compiler at Borland Developer Network Museum,
http://bdn.borland.com/museum/.

OTOH, you can use a <conio.h> replacement for your platform; substitute
randomize() with an equivalent based on srand(); and give it a try with a
current platform.
Turbo C is a 16-bit compiler, prepare yourself to problems.

Hope it helps.


Antoine
 




 4 Posts in Topic:
My code won't compile!
Albert <albert.xtheunk  2007-09-24 01:46:22 
Re: My code won't compile!
Friedrich Dominicus <j  2007-09-24 14:14:34 
Re: My code won't compile!
jacob navia <jacob@[EM  2007-09-24 13:05:21 
Re: My code won't compile!
"Antoine Leca"   2007-09-25 16:26:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 23:44:03 CDT 2008.