Answers for "c++ compile error c2027"

C++
0

c++ compile error c2027

// example of cause error c2027 in c++

// just a declartion of class C
class C;

int main() {
  	// use before the definition 
   	C *p_c;
   	p_c->func();   // compile error => C2027

	return 0;
}
Posted by: Guest on October-27-2021

Browse Popular Code Answers by Language