阅读背景:

类函数和非类函数的名称冲突

来源:互联网 

So, in C++ I have a class Vote which has a send function to send the vote over the network. This send function in the class Vote, makes use of the send function from sys/socket.h. When I compile, I get errors that basically say it's using Vote::send rather than sys/socket.h::send within Vote::send. How do I resolve this name conflict?So, in C++ I have a class Vote which has a send




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: