问一个vc++的问题[急]
我在vc++里面写了如下一段代码
void CModemoveDlg::OnButton1()
{
// TODO: Add your control notification handler code here
CString appPath = "";
appPath = ::__argc[0];
MessageBox(appPath);
}
可是总是报如下错误,不知道是什么问题,请各位高手帮帮忙!!!
--------------------Configuration: modemove - Win32 Debug--------------------
Compiling...
modemoveDlg.cpp
D:\yjpt\modemove\modemoveDlg.cpp(178) : error C2589: '(' : illegal token on right side of '::'
D:\yjpt\modemove\modemoveDlg.cpp(178) : error C2059: syntax error : '::'
Error executing cl.exe.
modemove.exe - 2 error(s), 0 warning(s)