问题描述
嗨
我正在使用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
推荐答案
你有一个混音。包含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
< snip>
<snip>
因为你知道它是一个非标准的函数和特定于
的标题你的实现可能没有包含重定向到
正确组,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编译器编译文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!