由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - bugs in my program
相关主题
[转载] SGI的JDK哪有?A problem
where can I find books/documents about openglIs there a C++ compiler coming w/ Solaris x86?
急!!!![转载] 主页问题
如何在UNIX下看中文有什么办法可以check所在服务器的硬件配置?
ICQ on SGI UNIXUNIX下的email程序
[转载] 哪个知道有没有UNIX用得中文平台?unix下如何知道一个程序进行了多少浮点运算 (null)
SGI下如何看.avi文件FTP server problem
UNIX下发email的问题Why I can not change my password?
相关话题的讨论汇总
话题: my话题: error话题: errors话题: bugs
进入Unix版参与讨论
1 (共1页)
c**e
发帖数: 3760
1
I'm a ME student, but my current research project is pure programming.
Gan Ya Zi Shang Jia. :(
Please take look at part of my code and help me figure out the strange
error. My code can be compiled in VC (there're link errors though :( )
but I need it run on SGI.
Only paste one error since there're too many errors and help correcting
one error will remove a lot others:
#include
#include "Primitives.h"
class probability{
int num_movable;
__sim_Real peak_vol; /* The volume to be compared w
m*******e
发帖数: 310
2

should be ~probability(), not ~Probaility(). Same thing for your constructor.
Otherwise, the compiler will think it is a member function Probability()
instead of constructor.

【在 c**e 的大作中提到】
: I'm a ME student, but my current research project is pure programming.
: Gan Ya Zi Shang Jia. :(
: Please take look at part of my code and help me figure out the strange
: error. My code can be compiled in VC (there're link errors though :( )
: but I need it run on SGI.
: Only paste one error since there're too many errors and help correcting
: one error will remove a lot others:
: #include
: #include "Primitives.h"
: class probability{

1 (共1页)
进入Unix版参与讨论
相关主题
Why I can not change my password?ICQ on SGI UNIX
安装apache和php时遇到的问题[转载] 哪个知道有没有UNIX用得中文平台?
[转载] 5Dwm, a SGI 4Dwm clone for Linux , BSDSGI下如何看.avi文件
求救!连sgi工作站上internet (in detail)UNIX下发email的问题
[转载] SGI的JDK哪有?A problem
where can I find books/documents about openglIs there a C++ compiler coming w/ Solaris x86?
急!!!![转载] 主页问题
如何在UNIX下看中文有什么办法可以check所在服务器的硬件配置?
相关话题的讨论汇总
话题: my话题: error话题: errors话题: bugs