0

Note: vector < vector < string > > addresses;

I am having a problem with this line of code:

addresses.push_back(addy.c_str);

I am trying to push back an email address in the i location
of the 2-d vector.

I have tried:

addresses.push_back[(addy.c_str)];

and

addresses.push_back[(addy.c_str)];

but nothing is working >:/ I appreciate the help!

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by sdr001
0

Ya I fixed it..brain fart.

Note: vector < vector < string > > addresses;

I am having a problem with this line of code:

addresses.push_back(addy.c_str);

I am trying to push back an email address in the i location
of the 2-d vector.

I have tried:

addresses.push_back[(addy.c_str)];

and

addresses.push_back[(addy.c_str)];

but nothing is working >:/ I appreciate the help!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.