救命 [英] help

查看:70
本文介绍了救命的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



初学者尝试使用bcc32编译器在Vide中编译这个简单的程序。

我在尝试构建时得到这个。


!错误:未解析的外部''WinMain''引用

C:\ BORLAND \ BCC55 \ LIB \C0W32.OBJ

问题可能是什么?


#include< stdio.h>

void main()

{

char name [20];

char color [20];

printf(你叫什么名字?);

}


beginner trying to compile this simple program in Vide with bcc32 compiler.
I get this when I try to build.

! Error: Unresolved external ''WinMain'' referenced from
C:\BORLAND\BCC55\LIB\C0W32.OBJ
what could the problem be ??


#include <stdio.h>
void main()
{
char name[20];
char color[20];
printf("what is your name?");
}

推荐答案

帕特里克在新闻中写道:Q2 **************** @ news.indigo .ie:
patrick wrote in news:Q2****************@news.indigo.ie:

初学者尝试使用bcc32
编译器在Vide中编译这个简单程序。


你应该在VIDE或者borland论坛/新闻组中真的问这个问题,使用你的特定编译器怎么用
不是这里的主题。

当我尝试构建时,我得到了这个。

!错误:未解析的外部''WinMain''引自
C:\ BORLAND \ BCC55 \ LIB \C0W32.OBJ

可能出现什么问题?

beginner trying to compile this simple program in Vide with bcc32
compiler.

You should really ask this in a VIDE or borland forum/newsgroup, how
to use your particular compiler isn''t the topic here.

I get this when I try to build.

! Error: Unresolved external ''WinMain'' referenced from
C:\BORLAND\BCC55\LIB\C0W32.OBJ
what could the problem be ??



[snip]


应该有一些选项来构建一个非Windows应用程序,可能是一个叫做控制台应用程序的
a, IIRC bcc有一个comandline选项-tWC

来执行此操作。


如果VIDE允许您通过命令行选项,请在命令中键入bcc32 -h

提示找出有哪些选项。


我把borland newsgroups进入 http://www.google.co.uk 并获得此信息:
http://info.borland.com/newsgroups/


HTH。


Rob。

-
http://www.victim-prime.dsl.pipex.com/


[snip]

There should be some option to build a non-windows application, possibly
a called a console application, IIRC bcc has an comandline option -tWC
to do this.

If VIDE lets you pass command line options type bcc32 -h at a command
prompt to find out what options there are.

I put "borland newsgroups" into http://www.google.co.uk and got this:
http://info.borland.com/newsgroups/

HTH.

Rob.
--
http://www.victim-prime.dsl.pipex.com/


这篇关于救命的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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