vector of strings

how do i pass in a string as the only parameter to each object’s constructor? new to this thing
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;

template<class gamer>
class game
{
private:

protected:
	int nintendo;
	int sega;
	string fun;
	bool enjoy;
public:

};

template<class gamer>
class game2 : public game<gamer>
{
private:
	string joy;
	string jello;
protected:

public:
	void vjello(string joy_in)
	{
		jello = joy_in;
	}
	string sjoy()
	{
		return jello;
	}
	vector<int>
    vector<int>
	vector<int>
    vector<int>
	vector<int>
};

int main()
{

}
don't start a new topic, this is exactly the same problem from the last topic you made 4 hours ago.
http://www.cplusplus.com/forum/general/235169/
Topic archived. No new replies allowed.