Message from C, C++ discussions

January 2020

— Hmm


For the record, try to post a minimal example that reproduces your problem, so we can compile it and figure out what's going on

— I agree. I see too much stuff on the screen to understand what's going on

— Ok wait

— Is pastebin enough or is it better for you if I send entire project

— It's small like 4 source files

— Try to reproduce your error with a minimal project

— Uh ok

— Btw do i have to implement virtuals in c++?

— I was looking for something like abstract in C# but found only virtual modifier

— Do i have to implement it in base class?

— To make a class abstract you need to declare at least one member function as pure virtual:
virtual foo() = 0;

Message permanent page