NN/Training.h:9: error: expected class-name before ̵
Verfasst: 19. September 2006 20:54
Hallo,
kann mir jemand sagen, wa das Problem ist? Ich habe folgende Fehlermeldung: NN/Training.h:9: error: expected class-name before ‘{’ token
und solchen Quelcode in Training.h:
#ifndef TRAINING_H
#define TRAINING_H
#include <qthread.h>
#include <iostream>
#include <string>
class Training : public QThread
{
public:
Training();
virtual void run();
virtual ~Training();
};
#endif // TRAINING_H
Danke im voraus!
MFG
Artem
kann mir jemand sagen, wa das Problem ist? Ich habe folgende Fehlermeldung: NN/Training.h:9: error: expected class-name before ‘{’ token
und solchen Quelcode in Training.h:
#ifndef TRAINING_H
#define TRAINING_H
#include <qthread.h>
#include <iostream>
#include <string>
class Training : public QThread
{
public:
Training();
virtual void run();
virtual ~Training();
};
#endif // TRAINING_H
Danke im voraus!
MFG
Artem