Thanks.
Type: Posts; User: lowerlogic
Thanks.
A few days ago I made a function that splits a string into a vector of words, also handles extra spaces nicely:
#include <iostream>
#include <string>
#include <vector>
...
Here's a simple example that shows the error:
#include <list>
using namespace std;
template <class T>
class fastlist {
public:
list<T>::iterator begin();
private:
Thanks for the fast replies.
I'm trying to make two classes that hold a pointer or variable of the other, like this (pseudo-code):
---unit.h---
#ifndef UNIT_H
#define UNIT_H
#include "action.h"
#include <vector>
using...