有人可以帮我解决这个编译错误:
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();
};
答案 0 :(得分:1)
不确定您要执行的操作,但根据this教程,您的代码应如下所示:
$serverHost = "myhost"
Invoke-WebRequest http://$serverHost:1234/service -Method Get