代码// Deadlock_Debug.cpp :
定义控制台应用程序的入口点。//#include "stdafx.h"#include "windows.h"#include // All the
thread must get all of critial_section// Classic ...
分类:
数据库 时间:
2014-06-03 12:08:01
阅读次数:
354
windows client 端口// Def_win_client_socket_test.cpp
: 定义控制台应用程序的入口点。//#include "stdafx.h"#include #pragma
comment(lib,"ws2_32.lib")#define PORT 4000#de...
本文参考《Android系统源代码情景分析》,作者罗升阳。
一、Binder库(libbinder)代码:
~/Android/frameworks/base/libs/binder
----BpBinder.cpp
----Parcel.cpp
----ProcessState.cpp
--...
分类:
其他好文 时间:
2014-06-02 23:59:15
阅读次数:
444
共3个文件GradeBook.h#ifndef GRADEBOOK_H#define
GRADEBOOK_H// GradeBook.h// GradeBook类展示了该类的公共接口。成员函数出现在GradeBook.cpp中#include
// 该程序使用C++标准的string类usin...
分类:
其他好文 时间:
2014-06-02 16:39:16
阅读次数:
163
// SelectCli.cpp : 定义控制台应用程序的入口点。//#include
"stdafx.h"#include #include #pragma comment(lib,"ws2_32")#define
SOCKET_MAXCNT 64#define THREAD_NUM 2 //.....
之前文章的改进版服务器仅仅接受客户端发送的字符串并显示客户端可以调节发送数目 但是不能超过64//
SelectServer.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #pragma
comment(lib,"ws2_32"...
// Copyright 2013 Yangqing Jia
#include
#include
#include
#include
#include
#include "caffe/layer.hpp"
#include "caffe/util/io.hpp"
#include "caffe/vision_layers.hpp"
using std::string;
name...
分类:
其他好文 时间:
2014-06-01 14:39:55
阅读次数:
1072
本文参考《Android系统源代码情景分析》,作者罗升阳。
一、Binder库(libbinder)代码:
~/Android/frameworks/base/libs/binder
----BpBinder.cpp
----Parcel.cpp
----ProcessState.cpp
--...
分类:
其他好文 时间:
2014-06-01 06:39:01
阅读次数:
1479
// demo1.cpp : 定义控制台应用程序的入口点。//通过此例程了解重载#include
"stdafx.h"#include using namespace std;class CMath{public:CMath(float
a):m_a(a){}~CMath(){}double Add...
分类:
编程语言 时间:
2014-05-31 16:48:33
阅读次数:
317
/**************************************************************** Name:
StuManaMain.cpp* Purpose: Code for Application Frame* Author: Zhangaihua (...
分类:
数据库 时间:
2014-05-30 23:19:49
阅读次数:
290