Declare an empty vector that can hold char objects. - C++ STL

C++ examples for STL:vector

Description

Declare an empty vector that can hold char objects.

Demo Code

#include <iostream>
#include <vector>
using namespace std;
void show(const char *msg, vector<char> vect);
int main() {//from   w  w  w.j a  v a  2  s  .com
   // Declare an empty vector that can hold char objects.
   vector<char> v;
   return 0;
}

Related Tutorials