
文章转载
文章平均质量分 65
beattwo
这个作者很懒,什么都没留下…
展开
-
SetThreadAffinityMask设置使用多核CPU的哪个核心
MSDN上的描述: [code="c++"]SetThreadAffinityMask The SetThreadAffinityMask function sets a processor affinity mask for the specified thread. DWORD_PTR SetThreadAffinityMask( HANDLE hThread, DWOR...2010-04-25 16:10:50 · 550 阅读 · 0 评论 -
带列排序功能的表格
[code="html"] K2046.TableSorter body{font-size:12px;line-height:25px;} tr{height:25px;} td{font-size:12px;text-align:center;} .SortDe sequence name ID position gend...2010-04-27 20:16:55 · 138 阅读 · 0 评论 -
C++和C#进程间通过命名管道来通信
C++和C#进程之间通过命名管道通信(上) “命名管道”是一种简单的进程间通信(IPC)机制。命名管道可在同一台计算机的不同进程之间,或在跨越一个网络的不同计算机的不同进程之间,支持可靠的、单向或双向的数据通信。用命名管道来设计应用程序实际非常简单,并不需要事先深入掌握基层网络传送协议(如TCP/IP或IPX)的知识。因为命名管道利用了微软网络提供者(MSNP)重定向器,通过一个网...原创 2010-05-09 00:31:52 · 287 阅读 · 0 评论 -
Named Pipe Server Using Overlapped I/O
HomeLibraryLearnDownloadsSupportCommunity Sign in |United States - English |Preferences MSDN Library Windows Development System Services Interprocess Communications Pipes Using Pipes Named...原创 2010-05-10 02:42:56 · 207 阅读 · 0 评论 -
函数-map<Key, Data, Compare, Alloc>
[code="c++"] struct ltstr { bool operator()(const char* s1, const char* s2) const { return strcmp(s1, s2) < 0; } }; int main() { map months; months["january"] = 31; m...原创 2010-05-14 16:28:51 · 136 阅读 · 0 评论