⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 14-04.cpp

📁 more efftive 代码
💻 CPP
字号:
#include <iostream>#include <iterator>#include <algorithm>#include <functional>#include <memory>#include <cstdlib>using namespace std;class Int {public:  Int(int x) : val(x) {}	// Int ぃㄣΤ default constructor  int get() { return val; }private:  int val;};int main(){  int A1[] = {1, 2, 3, 4, 5, 6, 7};  const int N = sizeof(A1) / sizeof(int);    Int* A2 = (Int*) malloc(N * sizeof(Int));  transform(A1, A1 + N,            raw_storage_iterator<Int*, int>(A2),            negate<int>());}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -