码迷,mamicode.com
首页 >  
搜索关键字:lean    ( 71个结果
winsock2获取网页
#define WIN32_LEAN_AND_MEAN#include #include #include #include #include #define uchar unsigned char#define DEFAULT_PORT 80#define DEFAULT_PROTO SOCK_S...
分类:Windows程序   时间:2015-10-26 20:17:50    阅读次数:216
解决boost::asio的WinSock.h has already been included
在一般的C++ project 中可以通过定义宏?WIN32_LEAN_AND_MEAN 来解决,或者在#include <windows.h>之前加入#include <winsock2.h> 我的解决办法是在stdafx.h中 #define?WIN32_LEAN_AND_MEAN...
分类:Windows程序   时间:2015-10-22 17:43:12    阅读次数:303
软件设计杂谈
\ disclaimer: 本文所讲的设计,非UI/UE的设计,单单指软件代码/功能本身在技术上的设计。UI/UE的主题请出门右转找特赞(Tezign)。 在如今这个Lean/Agile横扫一切的年代,设计似乎有了被边缘化的倾向,做事的周期...
分类:其他好文   时间:2015-09-21 16:02:00    阅读次数:289
Android 实现变色状态栏
首先我们得了解什么是透明状态栏以及什么是沉浸式状态栏,以及其区别,国内习惯称透明状态栏为沉浸式状态栏,但是两者是有本质区别的。先来看看什么是沉浸式模式。 Android 4.4中,沉浸式体验得到了再次强化,提供了一种“全屏模式”(Full-screen Immersive Mode)。全屏模式又分两种,一种叫后撤式 (Lean Back),另一种叫做沉浸式(Immersive)。...
分类:移动开发   时间:2015-09-11 12:42:53    阅读次数:296
获取运行中的TeamViewer的账号和密码--中文版
#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <iostream> #include <string.h> #pragma comment( lib, "kernel32" ) #pragma comment( lib, "user32" ) int status = 0; BOOL CALLBACK E...
分类:其他好文   时间:2015-09-11 09:16:37    阅读次数:166
Java8高中并发
Java8中学并发本文翻译自:http://jaxenter.com/lean-concurrency-in-java-8-49924.html转载请注明出处:http://blog.csdn.net/kingviker/article/details/27057473有人以前说过(非常不幸,我们没...
分类:编程语言   时间:2015-08-13 11:39:45    阅读次数:137
由一个成员函数来启动一个线程
/*shows how to start a thread based on a  class memeber function using a static member function.*/ #define WIN32_LEAN_AND_MEAN #include #include #include #include typedef unsigned(WINAPI *P...
分类:编程语言   时间:2015-07-28 14:34:14    阅读次数:161
THRDTERM-----干净地结束一个线程
THRDTERM产生两个线程,周期性地检查一个event对象,以决定要不要结束自己。 #define WIN32_LEAN_AND_MEAN #include #include #include #include #include "MtVerify.h" DWORD WINAPI ThreadFunc(LPVOID); HANDLE hRequestExitEve...
分类:编程语言   时间:2015-07-24 20:58:55    阅读次数:147
EXITTHRD.C--示范ExitThread()
#define WIN32_LEAN_AND_MEAN #include #include #include DWORD WINAPI ThreadFunc(LPVOID); void AnotherFunc(void); int main() { HANDLE hThrd; DWORD exitCode = 0; DWORD threadId; hThrd ...
分类:其他好文   时间:2015-07-22 16:21:43    阅读次数:117
numbers.c---一个真正运转的多线程程序
启动5个线程,并且分别交给它们参数0~4。每一个线程打印其参数10次。 #define WIN32_LEAN_AND_MEAN #include #include #include DWORD WINAPI ThreadFunc(LPVOID); int main() { HANDLE hThrd; DWORD threadId; int i; for (i = 0;...
分类:编程语言   时间:2015-07-22 13:21:45    阅读次数:155
71条   上一页 1 2 3 4 5 ... 8 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!