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<iostream> | |
#include<fstream> | |
#include<string> | |
struct DataStructure_16BitStereo | |
{ | |
short var_left, var_right; | |
}; | |
struct WaveStructure | |
{ | |
char strRIFF[4]; |
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<iostream> | |
#include<sstream> | |
#include<fstream> | |
int main() | |
{ | |
std::fstream f("voice.ff",std::ios::out|std::ios::binary); | |
std::stringstream ss; | |
std::string s; | |
int ar[4],dr[4],sr[4],rr[4],sl[4], | |
tl[4],ks[4],ml[4],dt1[4],dt2[4], |
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
//WinINet HTTP Get | |
//http://blog.csdn.net/wzx19840423/article/details/6536342 | |
//HTTPS: https://support.microsoft.com/zh-cn/kb/168151 | |
#include<iostream> | |
#include<Windows.h> | |
#include<WinInet.h> | |
#pragma comment(lib,"WinInet.lib") | |
int main() | |
{ | |
HINTERNET hOpen = InternetOpen(TEXT("KaikiUpdate"), INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);//打开连接,获得Internet句柄 |
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<iostream> | |
#include<string> | |
#include<xmllite.h> | |
#include<atlmem.h> | |
#include<Shlwapi.h> | |
#pragma comment(lib,"xmllite.lib") | |
#pragma comment(lib,"shlwapi.lib") | |
struct HResultBase | |
{ | |
HResultBase() :result(S_OK) {} |
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<iostream> | |
#include<string> | |
#include<thread> | |
int timer = 0; | |
bool timing = false; | |
std::thread gsub; | |
void SubTimer() | |
{ |
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
//参考:http://blog.csdn.net/friendan/article/details/12222651 | |
//目前只能对自身进程Hook。 | |
#ifndef WIN32 | |
#error 该程序目前只能在 x86 平台中使用。 | |
#endif | |
#include<Windows.h> | |
using FUNCTYPE = decltype(MessageBox); | |
FUNCTYPE *funcOriginal = nullptr; | |
DWORD protectOriginal; | |
bool hookOn = false; |
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
//Lua与C交互示例,参考:http://blog.csdn.net/shun_fzll/article/details/39120965 | |
#include<stdio.h> | |
#include<string.h> | |
#include"lua.h" | |
#include"lualib.h" | |
#include"lauxlib.h" | |
#pragma comment(lib,"lua53.lib") | |
#define C(action,r) if(r=action)return r | |
#define LVAR_NAME "luanum" | |
const char luasource[] = |
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<iostream> | |
#include<fstream> | |
#include<string> | |
#define max(a,b) ((a)>(b)?(a):(b)) | |
#define min(a,b) ((a)<(b)?(a):(b)) | |
#define abs(x) ((x)>0?(x):-(x)) | |
typedef short DataStructure_16BitMono; | |
struct WaveStructure | |
{ | |
char strRIFF[4]; |
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
//参考:http://www.yueshou.net/jiao/shuma/yingjian/200608/14735.html | |
#include<stdio.h> | |
#include<stdlib.h> | |
#include<string.h> | |
#define stricmp _stricmp | |
struct RMIDHeader | |
{ | |
char strRIFF[4]; | |
int chunkSize; | |
char strFormat[4]; |
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
#Pixiv Start | |
210.129.120.44 pixiv.net | |
210.129.120.43 pixiv.net | |
210.129.120.41 pixiv.net | |
210.129.120.44 www.pixiv.net | |
210.129.120.43 www.pixiv.net | |
210.129.120.41 www.pixiv.net | |
210.140.131.144 source.pixiv.net | |
210.140.131.147 source.pixiv.net | |
210.140.131.145 source.pixiv.net |
OlderNewer