hi everyone! i've got some problems while implementing classes in Code::Blocks.
i'm trying to create a new class, but when the wizard creates the class i always get this error while running the project:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'asd'|
||=== Build finished: 1 errors, 0 warnings ===|
this is the code that the wizard generates:
file asd.h#ifndef ASD_H
#define ASD_H
class asd
{
public:
asd();
virtual ~asd();
protected:
private:
};
#endif // ASD_H
file asd.cpp#include "asd.h"
asd::asd()
{
//ctor
}
asd::~asd()
{
//dtor
}
...and this is the code of the project's main file:
#include "asd.h"
int main(void)
{
return 0;
}
why i'm getting this error!? thank you all in advance!