void Sales::showSales()
{  
 cout << \"\\nDisplaying Sales structure.\";
 for (int i = 0; i < QUARTERS; i++)       
  cout << \"\\nSales Quarter #\" << i+1 << \": \" << this->sales[i];
 cout << \"\\nMin = \" << this->min;
 cout << \"\\nMax = \" << this->max;  
 cout << \"\\nAverage = \" << this->average;
}

<CODE class=\"cpp spaces\">    </CODE><CODE class=\"cpp keyword bold\">void</CODE> <CODE class=\"cpp plain\">Sales::showSales() </CODE><CODE class=\"cpp keyword bold\">const</CODE>
<CODE class=\"cpp spaces\">    </CODE><CODE class=\"cpp plain\">{ </CODE>
<CODE class=\"cpp spaces\">        </CODE><CODE class=\"cpp plain\">cout << </CODE><CODE class=\"cpp string\">\"\\nDisplaying Sales structure.\"</CODE><CODE class=\"cpp plain\">; </CODE>
<CODE class=\"cpp spaces\">        </CODE><CODE class=\"cpp keyword bold\">for</CODE> <CODE class=\"cpp plain\">(</CODE><CODE class=\"cpp color1 bold\">int</CODE> <CODE class=\"cpp plain\">i = 0; i < QUARTERS; i++) </CODE>
<CODE class=\"cpp spaces\">            </CODE><CODE class=\"cpp plain\">cout << </CODE><CODE class=\"cpp string\">\"\\nSales Quarter #\"</CODE> <CODE class=\"cpp plain\"><< i+1 << </CODE><CODE class=\"cpp string\">\": \"</CODE> <CODE class=\"cpp plain\"><< sales[i]; </CODE>
<CODE class=\"cpp spaces\">        </CODE><CODE class=\"cpp plain\">cout << </CODE><CODE class=\"cpp string\">\"\\nMin = \"</CODE> <CODE class=\"cpp plain\"><< min; </CODE>
<CODE class=\"cpp spaces\">        </CODE><CODE class=\"cpp plain\">cout << </CODE><CODE class=\"cpp string\">\"\\nMax = \"</CODE> <CODE class=\"cpp plain\"><< max; </CODE>
<CODE class=\"cpp spaces\">        </CODE><CODE class=\"cpp plain\">cout << </CODE><CODE class=\"cpp string\">\"\\nAverage = \"</CODE> <CODE class=\"cpp plain\"><< average; </CODE>
<CODE class=\"cpp spaces\">    </CODE><CODE class=\"cpp plain\">}
</CODE>
출력 결과는 같음... 어떤게 나은가요?


class C_Name
{

private:
 struct NAME
{
     Type  name;
}
............
이렇게 선언된 클래스 안에 있는 구조체가 헤더에 있고.

내부 구조를 완성하는 cpp파일에

ex)void Name::Name(Name & n)
{
   n.NAME.name
}

요렇게 하면 접근이 안되는데 왜 인가요?