-2

これらの循環依存スレッドの別のスレッドを開始する前に申し訳ありませんが、私はほとんどすべてを試しましたが、新鮮な目が役立つかもしれません。これを * コンパイルするにはどうすればよいですか?

カード.H

#ifndef CARD_H
#define CARD_H

#include <string>
#include <sstream>
#include <irrKlang.h>
#include "Database.h"

using namespace std;
using namespace irrklang;

class Card: public Database{  // problem expected class-name before '{' token
 public:

データベース.H

#ifndef __DATABASE_H__
#define __DATABASE_H__

#include <string>
#include <vector>
#include <sqlite3.h>
#include <wx/string.h>
#include <irrKlang.h>
#include <wx/file.h>

#include "Card.h"   // even though i include card.h

using namespace std;
using namespace irrklang;

class Card;  // if i take this out, I get: 'Card' was not declared in this scope|

class Database
{
public:
vector<Card> queryC(wstring query);
4

1 に答える 1