[Solved] Please solve these errors. I’m using dev++ compiler [closed]
The first error is a typo you wrote pememory. The second error appears because you didn’t code any transformation between Float and ptrFloat. You should add a copy constructor to Float: Float(const Float& a) : Float(*a.fmem_top) {} And then a conversion constructor to ptrFloat: ptrFloat(Float a) : Float(a) { pmem_top=pmemory; *pmem_top=abc; pmem_top++; } PS: your … Read more