This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <lua.h> | |
#include <lualib.h> | |
#include <lauxlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <io.h> | |
#include "loadcfg.h" | |
#include "pathstring.h" | |
#pragma comment(lib, "lua51.lib") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <lua.h> | |
#include <lualib.h> | |
#include <lauxlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <io.h> | |
#include "loadcfg.h" | |
#include "pathstring.h" | |
#pragma comment(lib, "lua51.lib") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//random_name.cpp | |
#include <iostream> | |
#include <cstdlib> | |
#include <ctime> | |
#include <vector> | |
#include <set> | |
#include <string> | |
#include <fstream> | |
#include <stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <windows.h> | |
#define getpid() GetCurrentProcessId() | |
#ifndef _ | |
/* This is for other GNU distributions with internationalized messages. | |
When compiling libc, the _ macro is predefined. */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//文件:tcp_c.c | |
//描述:tcp客户端源程序 | |
#include <stdio.h> | |
#include <winsock2.h> | |
#pragma comment(lib, "WS2_32.lib") | |
#define BUF_SIZE 1024 | |
int main(int argc, char* argv) { | |
WSADATA wsaData; |