使用lcc编译器编译文件时出错 [英] Error compiling file using lcc compiler

查看:75
本文介绍了使用lcc编译器编译文件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用win32的lcc编译器。我尝试编译一个程序,但是

有一个错误说明:cpp:无法打开输入文件clrscr()


我收不到 - 我已经收录了< tcconio.h>。 (奇怪的是,为什么他们不能b / b
刚刚离开它< conio.h>?):


#include< tcconio.h>


//代码


----

Albert

Hi
I''m using the lcc compiler for win32. I tried compiling a program but
there''s an error stating: "cpp: Can''t open input file clrscr()"

I don''t get it - I''ve included <tcconio.h>. (strange why they couldn''t
have just left it as <conio.h>?):

#include <tcconio.h>

// code

----
Albert

推荐答案

ohmigod。


你给了一个非标准的头文件。


Jabba聆听。


-

- -

-

Wade Ward

我穿上裤子就像其他任何一个6:四到十几次失败。

{〜._。〜} The Naked来自Down Under的图片海报

`(Y)`

" Albert" < al ***************** @ gmail.comwrote in message

news:11 ************* *********@o80g2000hse.googlegr oups.com ...
ohmigod.

you gave a header file that is non-standard.

Jabba''s listening.

--
-- --
--
Wade Ward
"I put my pants on like any other 6: between four and a dozen failures."
{~._.~} The Naked Picture Poster from Down Under
`( Y )`
"Albert" <al*****************@gmail.comwrote in message
news:11**********************@o80g2000hse.googlegr oups.com...



我正在使用用于win32的lcc编译器。我尝试编译一个程序,但是

有一个错误说明:cpp:无法打开输入文件clrscr()


我收不到 - 我已经收录了< tcconio.h>。 (奇怪的是,为什么他们不能b / b
刚刚离开它< conio.h>?):


#include< tcconio.h>


//代码


----

Albert
Hi
I''m using the lcc compiler for win32. I tried compiling a program but
there''s an error stating: "cpp: Can''t open input file clrscr()"

I don''t get it - I''ve included <tcconio.h>. (strange why they couldn''t
have just left it as <conio.h>?):

#include <tcconio.h>

// code

----
Albert



Albert写道:
Albert wrote:



我正在使用lcc编译器Win32的。我尝试编译一个程序,但是

有一个错误说明:cpp:无法打开输入文件clrscr()


我收不到 - 我已经收录了< tcconio.h>。 (奇怪的是,为什么他们不能b / b
刚刚离开它< conio.h>?):


#include< tcconio.h>


//代码


----

Albert
Hi
I''m using the lcc compiler for win32. I tried compiling a program but
there''s an error stating: "cpp: Can''t open input file clrscr()"

I don''t get it - I''ve included <tcconio.h>. (strange why they couldn''t
have just left it as <conio.h>?):

#include <tcconio.h>

// code

----
Albert



你有一个混音。包含tcconio.h,但如果预处理器

说:


" cpp:无法打开输入文件clrscr()"


这意味着你有某个地方有b
#include" clrscren()"


,显然是预处理器我找不到它。请

发布您的代码,如果可能的话,我会修复它。


jacob

You have a mixup. The tcconio.h is included but if the preprocessor
says:

"cpp: Can''t open input file clrscr()"

it means that you have
#include "clrscren()"

somewhere, and evidently the preprocessor cvan''t find it. Please
post your code and I will fix it, if possible.

jacob


jacob navia写道,在23/09/07 10:42:
jacob navia wrote, On 23/09/07 10:42:

Albert写道:
Albert wrote:

>嗨
我正在使用win32的lcc编译器。我尝试编译一个程序但是
有一个错误说明:cpp:无法打开输入文件clrscr()

我没有得到它 - 我已经包含了< tcconio.h>。 (奇怪的是为什么他们不能把它当作< conio.h>?):

#include< tcconio.h>
>Hi
I''m using the lcc compiler for win32. I tried compiling a program but
there''s an error stating: "cpp: Can''t open input file clrscr()"

I don''t get it - I''ve included <tcconio.h>. (strange why they couldn''t
have just left it as <conio.h>?):

#include <tcconio.h>



< snip>

<snip>


某处,显然预处理器不能找到它。请

发布您的代码,如果可能的话我会修复它。
somewhere, and evidently the preprocessor cvan''t find it. Please
post your code and I will fix it, if possible.



因为你知道它是一个非标准的函数和特定于

的标题你的实现可能没有包含重定向到

正确组,comp.compilers.lcc?


对OP来说,comp.compilers.lcc是讨论事情的正确场所

特定于lcc的版本,例如tcconio.h,据我所知,特定于

lcc-win32。

-

Flash Gordon

Since you know it is a non-standard function and a header specific to
your implementation could you not have included a redirection to the
correct group, comp.compilers.lcc?

To the OP, comp.compilers.lcc is the correct place to discuss things
specific to versions of lcc such as tcconio.h which is specific to
lcc-win32 as far as I know.
--
Flash Gordon


这篇关于使用lcc编译器编译文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆