대입 연산자는 윈도우에서 뭔지 모를 버그가 있으니 그냥 이렇게 하는걸로.
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
#include "precomp.hpp"
|
||||
|
||||
int main() {
|
||||
struct Chattr::Socket_Init socket;
|
||||
std::cout << "Hello, world!" << socket << std::endl;
|
||||
struct Chattr::Socket_Init sock(AF_INET, SOCK_DGRAM, 0);
|
||||
std::cout << "Hello, world!" << sock << std::endl;
|
||||
}
|
||||
Reference in New Issue
Block a user