用Borland C编译器5.5不工作 [英] Borland C 5.5 Compiler not Working

查看:139
本文介绍了用Borland C编译器5.5不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Windows 7-64位。
用Borland C ++ 5.5是行不通的。

测试文件HELLO.C

 #包括LT&;&stdio.h中GT;INT主要(无效)
{
   的printf(世界,你好\\ N!);
   返回0;
}


  

错误E2209 HELLO.C 1:无法打开包含文件'stdio.h中结果
  警告W8065 HELLO.C 5:调用函数'printf的在主函数结果没有原型
  在编译 * 1 *错误


我已经取得了bcc32.cfg&放大器;这些CONFIGS ilink.cfg

bcc32.cfg

  -IC:\\ Borland的\\ BCC55 \\包括
-LC:\\ Borland的\\ BCC55 \\ LIB

ilink32.cfg

  -LC:\\ Borland的\\ BCC55 \\ LIB

:困惑:


解决方案

有关首先看看include和库目录,看看是否是相同的BORLAND C +目录选项

I am using Windows 7-64 bit. Borland C++ 5.5 isn't working.

Test file Hello.c

#include<stdio.h>

int main(void)
{  
   printf("Hello world!\n");
   return 0; 
}

Error E2209 Hello.c 1: Unable to open include file 'stdio.h'
Warning W8065 Hello.c 5: Call to function 'printf' with no prototype in function main
* 1 errors in Compile *

I have already made the bcc32.cfg & ilink.cfg with these configs

bcc32.cfg

-I"c:\Borland\BCC55\include"  
-L"c:\Borland\BCC55\lib"  

ilink32.cfg

-L"c:\Borland\BCC55\lib"  

:confused:

解决方案

First look for your include and library directory and see whether it is the same as in your borland C directories option

这篇关于用Borland C编译器5.5不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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