dev/c/malloc_speed_test/vector_add.cpp

18 lines
203 B
C++
Raw Normal View History

2011-04-28 14:42:44 +04:00
#include <vector>
using namespace std;
const unsigned long long MAX_I = 0x0fffffff;
2011-04-28 14:42:44 +04:00
int main()
{
unsigned long long i;
vector<char> v;
for (i = 0; i < MAX_I; i++)
v.push_back(0);
return 0;
}