This topic has been archived. It cannot be replied.
-
工作学习 / IT杂谈 / 我在编程时又遇到一个问题,专家们,请进。我用的是BORLAND C++ 4.0, 编译通过了,但是link时有错:Linking sfnnle~1.exe:
Linker Warning: No module definition file specified: using defaults
Linker Error: Undefined symbol OwlMain(int,char far*far*) in library file C:\BC4\LIB\owlwi.lib in module winmain
请问是什么问题。因为我用的是盗版软件,是不是安装不完全。
还有,是不是用C++时都要现建立一个project?它有什么用处?
谢谢!
-lynx(jane);
2001-7-20
{385}
(#139051@0)
-
没人回答,我抛块砖头吧,虽然不是专家建议你换VC, 用的人多一些,Borland c++我只用过3.1以下的版本,是在DOS下编程的。你的问题我怀疑是project的设置问题。
关于project的作用,简单说,比如你要生成一个exe文件,可能需要几个CPP文件,如果没有project, 你可能要一个一个地compile, 然后再link起来,而且link的时候很麻烦,你要1个1个文件名地输入到参数命令行上。有了project file, 你是把这个项目的所有文件作为一个整体来管理的,省事多了。(其实project不只是这样,说复杂了怕你听不明白)
-000(老九);
2001-7-20
{429}
(#139072@0)
-
谢谢你的砖头!我也搞不清该用VC还是BC,只是觉得应该差不多。我只学过最普通的C,可能属于turbo C吧。只是目前我只有盗版的BC,可能过两天,老师会给我正版的VC。我再试一下。
我现在放弃了,开始用MATLAB重新编程。因为这个程序是老师给的,是别人编的。索性从头做起。
谢谢你,另外,你的表达能力很好,应该当老师。
-lynx(jane);
2001-7-20
{284}
(#139089@0)
-
I cannot trouble shoot for you. But I suggest you gradually adapt the make file.
-jabber(jabber);
2001-7-20
(#139306@0)
-
Anyway, thank you!
-lynx(jane);
2001-7-20
(#139317@0)
-
请问,怎么设置project?谢谢!
-lynx(jane);
2001-7-21
(#139917@0)
-
换VC吧。BC早忘光了。
-scorpio(scorpio);
2001-7-21
(#139929@0)
-
VC still need project.
-lynx(jane);
2001-7-21
(#139931@0)
-
我记得10年前用high C编程不用project, 现在还有人想不用project, 果然少年英雄 ^_^
-miketany(kat);
2001-7-21
(#139932@0)
-
换了你就知道了。
-scorpio(scorpio);
2001-7-21
(#139933@0)
-
VC is much better than BC. Not many companies use BC for application programming. I know VC project setting, but not BC.
-guest:;
2001-7-21
(#139942@0)
-
BC实在很差,用delphi的控件。一个稍微复杂的程序调进内存就占去10兆。 Delphi的控件里面而且bug多多, 适合小公司做短平快的项目,界面确实不错
-miketany(kat);
2001-7-21
(#139989@0)
-
if u don't use db control. delphi app use much less memory then mfc.better compare before talk.
-blaise(blaise);
2001-7-22
(#140294@0)
-
不用DB控件, 那不太现实吧,而且BDE巨滥
-miketany(kat);
2001-7-22
(#140620@0)
-
OK, I will try VC next week. Could you please tell me the project setting in VC?Thank you!
-lynx(jane);
2001-7-21
(#140046@0)
-
Create a new project like this....
-guest:;
2001-7-21
{549}
(#140061@0)
-
Thanks a lot! I have copied this post . And next week, after I install VC, I will try it.
-lynx(jane);
2001-7-21
(#140062@0)
-
that's good ,i will read your next message-
-jeanmen(小土豆);
2001-7-22
(#140743@0)
-
what would you like to know?
-guest:;
2001-7-22
(#140753@0)
-
vc, want to know more.can i ?
--------------A Cai Bird
-jeanmen(小土豆);
2001-7-23
(#141862@0)
-
Don't worry, you can master it soon. But first, you have to know what you want. MFC/GUI programming? COM programming? ATL programming? I can recommend some books to you.
-guest:;
2001-7-23
(#141873@0)
-
I installed VC++6.0 this morning and tried the program. But it still had some problems, please help me!Thank you!
-lynx(jane);
2001-7-23
{1495}
(#142120@0)
-
1, time_t time( time_t *timer ). 2, is ldfnm a matrix?
-scorpio(scorpio);
2001-7-23
(#142375@0)
-
Hi,scorpio, I waited for you last night until 10:00.Where are you? Could you please tell me how to use the time_t time?Thank you very much!
BTW, I have solved the second problem.
-lynx(jane);
2001-7-24
(#142915@0)
-
if u installed VC, u should have MSDN in your computer. you will know the detail after you type "time" at the edit box in "index" page of MSDN.
-scorpio(scorpio);
2001-7-24
(#143121@0)
-
Yes, I have tried it and solved the problem. Thank you!
-lynx(jane);
2001-7-24
(#143158@0)
-
How to get time.....
-guest:;
2001-7-24
{3644}
(#143096@0)
-
Thanks a lot!!
-lynx(jane);
2001-7-24
(#143110@0)
-
I think you can write a makefile, that's much better
-uid(miracle);
2001-7-21
(#140036@0)
-
what means makefile?
-lynx(jane);
2001-7-21
(#140045@0)
-
Makefile is text format .mk file, which is composed of compile and link options, and conditions, and run with nmake.exe
-uid(miracle);
2001-7-22
(#140326@0)