I am getting an unqualified ID error on lines 89 and 96 which,in the code are:
Actor.info = attribute;
and
Actor.entity info -> name = attribute -> name;
Can someone help me figure out why?
#include<iostream>
#include<fstream>
#include<cstdlib>
#include<string>
#include<map>
#include<vector>
void tokenize(const std::string& str,
std::vector<std::string>& tokens,
const std::string& delimiters = ” “) {
// Skip delimiters atbeginning.
std::string::size_type lastPos =str.find_first_not_of(delimiters, 0);
// Find first”non-delimiter”.
std::string::size_type pos =str.find_first_of(delimiters, lastPos);
while (std::string::npos != pos|| std::string::npos != lastPos)
{
// Found atoken, add it to the vector.
tokens.push_back(str.substr(lastPos, pos – lastPos));
// Skipdelimiters. Note the “not_of”
lastPos =str.find_first_not_of(delimiters, pos);
PayPal Gateway not configured
PayPal Gateway not configured