Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

새싹교실/2012/열반/120514: Difference between revisions

From ZeroWiki
imported>joojis
No edit summary
 
imported>joojis
No edit summary
Line 7: Line 7:
== 재귀함수 복습 ==
== 재귀함수 복습 ==
=== 팩토리얼 ===
=== 팩토리얼 ===
int fact(int n)
{
if(n<=1){
return 1;
}else{
return n*fact(n-1);
}
}
=== 하노이탑 ===
=== 하노이탑 ===
== 포인터와 주소 ==
== 포인터와 주소 ==
=== 포인터 ===
=== 포인터 ===



Revision as of 15:18, 14 May 2012

출석 및 진행

  • 권우성
  • 채유빈
  • 약 1시간 30분 진행

수업 내용

재귀함수 복습

팩토리얼

int fact(int n)
{
	if(n<=1){
		return 1;
	}else{
		return n*fact(n-1);
	}
}

하노이탑

포인터와 주소

포인터