2011년 4월 12일 화요일

cpp] 예제로 바로 알아보는 c와 c++ - 21

#include <iostream.h>
#include <stdlib.h>
void main(void)
{
 char * p = new char[100];
 cout << "string: ";

 cin >> p;
 cout << p << endl;
 delete p;
}


new와 delete

댓글 없음:

댓글 쓰기

국정원의 댓글 공작을 지탄합니다.

UPBIT is a South Korean company, and people died of suicide cause of coin investment.

 UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...