#include < iostream > using namespace std; int main() { int *p; p = new int; if(!p) { cout << "memory set error\n"; return 1; } *p = 1000; cout << "p point integer is: " << *p << "\n"; delete p; return 0; }
ソフトウェアエンジニアの技術ブログ:Software engineer tech blog
随机应变 ABCD: Always Be Coding and … : хороший