dev/c/malloc_speed_test/vector_add.cpp

18 lines
203 B
C++

#include <vector>
using namespace std;
const unsigned long long MAX_I = 0x0fffffff;
int main()
{
unsigned long long i;
vector<char> v;
for (i = 0; i < MAX_I; i++)
v.push_back(0);
return 0;
}