Initializing a vector of strings
What am I missing here? I'm just trying to initialize a vector of strings. I get this error:
error: expected constructor, destructor, or type conversion before '<' token |
1 2 3 4 5 6
|
#include <iostream>
#include <cstdlib>
using namespace std;
vector<string> cipherText(11);
|
Thanks!
You have to include <vector> and <string>.
Duh! Thanks.
Topic archived. No new replies allowed.