namespace std
{
struct __FILE
{
int handle;
/* Whatever you require here. If the only file you are using is */
/* standard output using printf() for debugging, no file handling */
/* is required. */
};
// new和delete运算符
int i;
int n = items.size();
int *arr = new int[n];
for (i = 0; i < n; i++)
arr = items.at(i).length();
for (i = 0; i < n; i++)
cout << arr << " ";
cout << endl;
delete[] arr;
namespace std
{
struct __FILE
{
int handle;
/* Whatever you require here. If the only file you are using is */
/* standard output using printf() for debugging, no file handling */
/* is required. */
};
// new和delete运算符
int i;
int n = items.size();
int *arr = new int[n];
for (i = 0; i < n; i++)
arr = items.at(i).length();
for (i = 0; i < n; i++)
cout << arr << " ";
cout << endl;
delete[] arr;