| farhan3d (23) | |||
|
Hi All, I can't seem to understand why I am getting this error for the embedded code: Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int <fileLocation> 18 matrix1 Would really appreciate if anyone could point out the mistake with my Constructor.
| |||
|
Last edited on
|
|||
| AleaIactaEst (99) | |
You have written the name of the constructor function the wrong way. It has to be Element_ldline instead of Element_ldLine (I guess it's the class name that's wrong).So the compiler thinks it's a normal member method and wants a return type, void int double ..., that's why you get this error message. | |
|
|
|