Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as text by Tener ( 17 years ago )
#include <vector>

using namespace std;

int main()
{
  vector< int > vint(10, 123); // wektor 10-ciu liczb 123
  int i,j,v;
  i = 10;
  j = 10;
  v = 4;
  vector< vector< int > > vvint(i, vector< int >(j,v)) );
// macierz 10x10 o wartosciach 4

}

 

Revise this Paste

Children: 6265
Your Name: Code Language: