E D R , A S I H C RSS

후각발달특별세미나

. .

: 5 2 6 ~ 8.
: .


펙토 . 펙토 . 펙토 . . --

1 Page . --

~^^ .

. ? -

. , ?? c ... --
. ' ?' . , . --
. 펙토 통해 , . -

'함 ?' . . --
, , 펙토 . 펙토 팩토 . -

, () () . . 형하 .
. , . 하 휘하 (). ( ) . ( ) .
. . . () . --
rkd49_answer_1.JPG
- . , ? (, ). , . 큭. :(

~cpp 
// foo(), bar()   memory 4K  .
#include <iostream>
using namespace std;

#define ARRSIZE 1024
#define FUNMAX	10;

void foo();
void bar();

int funcCount = 0;

int main()
{
	foo();
	return 0;
}

void foo()
{
	int f[ARRSIZE];
	cout << "addr of f in " << funcCount << "th call : " << f << endl;
	cin.get();
	if( funcCount++<FUNMAX )
		bar();
}

void bar()
{
	int b[ARRSIZE];
	cout << "addr of b in " << funcCount << "th call : " << b << endl;
	cin.get();
	if( funcCount++<FUNMAX )
		foo();
}
   
... . -

??
( .)

. .

. . ?

펙토 . ? . 함 ? ?

. 하 .

--
~ . ^^ . ... 행 하~ ㅋ ~ 한 1 ~ -
행한 ... . ~cpp The One Page Proposal 해. --

; ㅎㅎ . +_+ 팩토 ...;;
~ ㅎㅎ--

팩토 . 팩토 --> 함 --> --> . 팩토 .

, 함 /VM , , 팩토 . ( . DavidParnas )

10% 100% 1000% .

팩토 , .

--JuNe

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:31:35
Processing time 0.0532 sec