10-12-2012, 11:18
Hi
i use this code to bind F keys ( Bind hotkey) .
guys i have error on compiling this code
pleas help me what is problem?
Error:
error C2143: syntax error : missing ')' before 'constant
Thank you
i use this code to bind F keys ( Bind hotkey) .
guys i have error on compiling this code
pleas help me what is problem?
Code:
void ExecHotkey(int vKey)
{
char connect_cmd[255];
if (vKey == VK_F1)
{
//Console(0, V("connect_ext\n"));
sprintf(connect_cmd, V("connect %s:%d\n"), 192.168.137.2, 27016);
}
}Error:
error C2143: syntax error : missing ')' before 'constant
Thank you


![[Image: compiling.png]](http://imgs.xkcd.com/comics/compiling.png)