#ifndef PATH_H
#define PATH_H
#include <fstream>
#include <iostream>
#include <sstream>
#include <iomanip>
using namespace std;
class Path{
protected:
public:
virtual double getOrientation() const;
};
#ifndef TRANSIT_H
#define TRANSIT_H
#include <iomanip>
#include <fstream>
#include <iostream>
#include <string.h>
#include "path.h"
using namespace std;
class Transit : public Path{
public:
Transit(const char *info);
double getOrientation() const;
};
#endif
#ifndef PATH_H
#define PATH_H
#include <fstream>
#include <iostream>
#include <sstream>
#include <iomanip>
using namespace std;
class Path{
protected:
public:
virtual double getOrientation() const;
};
#ifndef TRANSIT_H
#define TRANSIT_H
#include <iomanip>
#include <fstream>
#include <iostream>
#include <string.h>
#include "path.h"
using namespace std;
class Transit : public Path{
public:
Transit(const char *info);
double getOrientation() const;
};
#endif
To copy to clipboard, switch view to plain text mode
I get this message : undefined reference to "vtable for Path"
Bookmarks