Thank you for teaching so patient, we learn a lot from it!
2016-06-17
#include<iostream>
using namespace std;
int main()
{
char *str = new char[100];
strcpy(str, "Hello world.");
cout<<str<<endl;
delete []str;
str = NULL;
return 0;
}
using namespace std;
int main()
{
char *str = new char[100];
strcpy(str, "Hello world.");
cout<<str<<endl;
delete []str;
str = NULL;
return 0;
}