#include<iostream> using namespace std;class A { int i ; public : A (int x ) { i=x ; } } ; class B { A aa();//这个地方!!这一行这样写运行没有错误 //如果这一行换成A aa(6);运行有错误,为什么呀?? }; int main ( ) { B b; return 0;}或者大家可以教我点类似这个问题的别的知识 谢谢