错误:预期不合格的id}

时间:2015-10-08 09:45:24

标签: c++

有人可以帮我解决这个编译错误:

expected unqualified id before } at line3
class CHexApp{public:
 protected:
  void  {{AFX_VIRTUAL(CHexApp)
    virtual BOOL InitInstance();
     }}AFX_VIRTUAL

protected:
   void  {{AFX_MSG(CHexApp)
    }}AFX_MSG

    DECLARE_MESSAGE_MAP();

};

1 个答案:

答案 0 :(得分:1)

不确定您要执行的操作,但根据this教程,您的代码应如下所示:

$serverHost = "myhost"
Invoke-WebRequest http://$serverHost:1234/service -Method Get