cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Vector Help.
Vector Help.
May 23, 2015 at 1:34am UTC
Blackhart98
(97)
I need help with this. Why have the begginging of an parameters name as a vector string. Like so
vector <string> here ( string Help, string Me,)
Someone answer my question
May 23, 2015 at 2:03am UTC
BlatantlyX
(56)
vector is a
class template
. you can read about them on this page
http://www.cplusplus.com/doc/tutorial/templates/
The bit inside the <>s names the type that the vector can store. e.g
int
,
double
,
float
,
std::string
,
std::vector
, ect
Last edited on
May 23, 2015 at 2:04am UTC
Topic archived. No new replies allowed.