如果程序编译时报

 [C++ Error] winsock2.h(109): E2238 Multiple declaration for 'fd_set'

 

这样的错误,可以尝试在,winsock2.h前面加入vcl.h

 

如下:

 

 

#include <vcl.h>
#include "youheader.h"
#include "winsock2.h"

相关文章:

  • 2021-12-10
  • 2022-12-23
  • 2021-09-08
  • 2021-10-08
  • 2022-12-23
  • 2021-12-15
  • 2021-11-17
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2021-12-30
  • 2022-12-23
相关资源
相似解决方案