C++ Vectors
Following is sample c++ code with vectors.
int x[101], i, n;
int main ()
{
// "cin" of the vector;
for (i=1; i<=n; i++)
cin>>x[i];
}
Following is sample c++ code with vectors.
int x[101], i, n;
int main ()
{
// "cin" of the vector;
for (i=1; i<=n; i++)
cin>>x[i];
}