You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Object-Oriented Programming



절차적 프로그래밍

int main()
{
   printf("Hello, World!");
   printf("Hello, World! Again");
   return 0;
}


구조적 프로그래밍

void hello(string message)
{
	printf(message);
}

void helloAgain(string message)
{
	printf(message + "Again");
}


int main()
{
   hello("Hello, World!");
   helloAgain("Hello, World!");
   return 0;
}








  • No labels