mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0fab880126
commit
351994a6cc
2823 changed files with 619073 additions and 0 deletions
15
uppdev/stltest/stltest.cpp
Normal file
15
uppdev/stltest/stltest.cpp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include "stdio.h"
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
{
|
||||
std::vector<int> x;
|
||||
x.push_back(1);
|
||||
for(int i = 1; i < 20; i++)
|
||||
x.push_back(x[0]);
|
||||
for(int i = 0; i < (int)x.size(); i++)
|
||||
std::cout << x[i] << '\n';
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue