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{
|
|