avatar
c*e
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
avatar
m*e
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{

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。