weird unterminated conditional directiv and unknown type name
Solved
General and Desktop
-
Hi
i tried running a prog it worked then when i tried rerunning it i got "unknown type name" on a class name that i included her header.#ifndef PLAYERN_H #define PLAYERN_H #include "playernames.h" #include <QDialog> #include "gametable.h" #include <QStringBuilder> namespace Ui { class PLAYERN; } class PLAYERN : public QDialog { /... / private: Ui::PLAYERN *ui; playerNAMES *rtry = new playerNAMES(); gametable *sf = new gametable(); }; #endif // PLAYERN_H
ah and i get "unterminated conditional directiv"
-
Take a look into your other two own includes - maybe you forgot an endif there