I have a project on visual C++ and i got some errors in my program
I need your help
my Code is....
// Day10Doc.h : interface of the CDay10Doc class
//
/////////////////////////////////////////////////////////////////////////////
// Generated message map functions
protected:
//{{AFX_MSG(CDay10Doc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
--------------------Configuration: Day10 - Win32 Debug--------------------
Compiling...
Day10.cpp
error C2143: syntax error : missing ';' before '*'
error C2501: 'CLine' : missing storage-class or type specifiers
error C2501: 'AddLine' : missing storage-class or type specifiers
Day10View.cpp
error C2143: syntax error : missing ';' before '*'
error C2501: 'CLine' : missing storage-class or type specifiers
error C2501: 'AddLine' : missing storage-class or type specifiers
error C2065: 'CLine' : undeclared identifier
error C2065: 'lptLine' : undeclared identifier
warning C4552: '*' : operator has no effect; expected operator with side-effect
error C2039: 'GetLine' : is not a member of 'CDay10Doc'
d:\vc++6\msdev98\myprojects\day10\day10doc.h(13) : see declaration of 'CDay10Doc'
error C2227: left of '->Draw' must point to class/struct/union
error C2084: function 'void __thiscall CDay10View::OnLButtonDown(unsigned int,class CPoint)' already has a body
error C2065: 'pLine' : undeclared identifier
error C2440: '=' : cannot convert from 'int *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
error C2227: left of '->Draw' must point to class/struct/union
Generating Code...
Error executing cl.exe.