View Single Post
Old 10-20-2004, 05:53 AM   #1 (permalink)
john_tran
Registered User
 
Join Date: Oct 2004
Posts: 22
john_tran is on a distinguished road
What is this error?

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?

Last edited by Valmont; 10-20-2004 at 10:19 AM.
john_tran is offline   Reply With Quote