The expected type specifier and cannot convert 'int * to initialization

I have big code, so I tried to include only the relevant parts of the code here.

My cpp files compiled without problems when they were included in another cpp file.

I have another file. This compiled fine before, until I tried to include the files above in

I get undefined help errors even though they were defined in the cpp file

What's happening? Is there a communication error? Do I need to make changes to a makefile?

0
source share
1 answer

Using

ASp* asp = new ASp(input);

works for me. Not sure why use

ASp* asp = new ASp::ASp(input);

- a problem. You need to dig further to find out.

Update

(++). - MS Visual Studio. , , new Asp::Asp(input); int*. , OP, g++.

0

All Articles