1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
#include <iostream>
#include <vector>
using namespace std;
int main()
{
vector <char> words = { 's','e','n','d','m','o','r','y' };
vector <int> digits = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
//iterate and give values
for (vector<char>::iterator wordsIterator = words.begin(); wordsIterator != words.end(); ++wordsIterator)
{
}
system("PAUSE");
return 0;
}
|