Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Multi Inheritance
#include<iostream> class Base{ public: int id=0; }; class B : public Base{ public: int fieldB=0; }; class C : public B{ public: int fieldC=0; }; class D : public B{ public: int fieldD=0; }; class E : public C, public D{ }; int main (){ std::cout<<"Base="<<sizeof(Base)<<std::endl; std::cout<<"B="<<sizeof(B)<<std::endl; std::cout<<"C="<<sizeof(C)<<std::endl; std::cout<<"D="<<sizeof(D)<<std::endl; std::cout<<"E="<<sizeof(E)<<std::endl; }
run
|
edit
|
history
|
help
0
problem_solution_1
MSVC bug in __fastcall implementation !!!
multiplie linked list numbers
Project
infix to postfix v 1.0
Progress bar
Workaround for https://github.com/Project-OSRM/osrm-backend/pull/4385
success
vc++ bug?
algorithm_1