求各位大佬指教,c代码错误为:*前丢失;
求各位大佬帮忙看一下代码哪里出了问题,小弟不才,请各位大佬指教!
这是错误提示:
error C2143: syntax error : missing';' before '*'
error C2501: 'Engine' : missing storage-class or type specifiers
以下是代码:
#if !defined(AFX_DATAINPUT_H__C6AA8758_3D48_45E[/color]D_9AB0_78242E44C48D__INCLUDED_)
#define AFX_DATAINPUT_H__C6AA8758_3D48_45ED_9AB0_78242E44C48D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Datainput.h : header file
#include "engine.h"
#include "Fdjchdxcsh.h"
/////////////////////////////////////////////////////////////////////////////
// CDatainput dialog
class CDatainput : public CDialog
{
// Construction
public:
CDatainput(CWnd* pParent = NULL); // standard constructor
Engine *eng;
int m_dws;
// Dialog Data
//{{AFX_DATA(CDatainput)
enum { IDD = IDD_DLG_DATA };
double m_f;
double m_Za;
double m_Cd;
double m_chdxl;
double m_fai;
double m_Ga;
double m_midu;
double m_r;
double m_yfmj;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDatainput)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDatainput)
afx_msg void OnBtNext();
afx_msg void OnBtExit();
afx_msg void OnRadio1Ivd();
afx_msg void OnRadio2Vd();
afx_msg void OnRadio3Vid();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DATAINPUT_H__C6AA8758_3D48_45ED_9AB0_78242E44C48D__INCLUDED_)