且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在代码块中删除conio文件相关的错误?

更新时间:2023-11-09 16:26:04

Quote:

libconio。 a,libconia_unicode.a

是'可能'* nix'库'(在windows中说的dll),你应该在构建过程中链接它们(你使用'make'文件吗?怎么/什么是你用来建立你的项目吗?)



顺便说一下,提到的'库'

Quote:

libconio.a,libconia_unicode.a

可能有.h头文件,相应的.h / heade r文件是需要在你的代码中包含的东西



conio.chm - 好吧,'。chm'通常是一个Windows平台编译的帮助文件/模块


I include the conio2.h file and after that it gives me lots of error related to conio.h library function.
my project location
:D/pratice/cpr.c and rest of files are inclued here.

like
D:\practice\cpr.o:cpr.c|| undefined reference to `gotoxy'|
D:\practice\cpr.o:cpr.c|| more undefined references to `gotoxy' follow|
D:\practice\cpr.o:cpr.c|| undefined reference to `textbackground'|
D:\practice\cpr.o:cpr.c|| undefined reference to `textcolor'|
D:\practice\cpr.o:cpr.c|| undefined reference to `clrscr'|

As you know that you define all the function in conio2.h in source code that i am using.But the fileAny solution to remove these error compiling the programme.I did not found any solution of this.
One more thing libconio.a,libconia_unicode.a,conio.chm what are use of these files .Is this necessary to inlcude all above files in main files or project directory.

Quote:

libconio.a,libconia_unicode.a

are 'probably' *nix 'libraries' (dlls in windows-speak) that you should link against as part of your build process (are you using a 'make' file ? how/what are you using to build your project in ?)

btw, the 'libraries' mentioned

Quote:

libconio.a,libconia_unicode.a

probably have .h header files, the corresponding .h/header files are the things that need to be 'included' in your code

conio.chm - well, '.chm' is usually a Windows platform compiled help file/module