예제 #1
0
int main2(int argc, char**argv)
{
   const person ira("Ira Pohl", 38, 1110111UL);
   ira.print();
   ira.bday();
   ira.print();

}
예제 #2
0
파일: copy1.C 프로젝트: Freeaqingme/OpenBSD
void
test(person argp)
{
  person testp;
  
  ;
  argp.print();
  testp = argp;
  argp.print();
  testp.print();
  ;
}