I create an project. And when i compiler, it show an error. I will show my project here:
It's PHANSO.PRJ
It has 2 file : MPHANSO.CPP, and PHANSO.H
-------------------
MPHANSO.CPP's contain shows here:
Code:
#include <stdio.h>
#include <conio.h>
#include <phanso.h>
int main()
{
return 1;
}
------------------------
PHANSO.H 's contain shows here:
#ifndef _PHANSO_H
#define _PHANSO_H
class CPhanSo
{
};
#endif
----------
When i attempt to compile (to check error, if there is not any error, i will continue to write), The compiler show me an error like this : Declaration syntax error , and the pointer stands at the end of
CPhanSo
Why the error appear?? Did i write a wrong file?
How to solve this error?