首先下载glog-0.3.3.tar.gz,解压,直接打开VS工程,我用了动态库,
新建win32 console test
把src\windows包含进来,../Debug/libglog.lib链接进来,这样就ok了。
新建main.cpp:
#define GLOG_NO_ABBREVIATED_SEVERITIES
#include
#include
using...
分类:
其他好文 时间:
2014-07-22 22:59:35
阅读次数:
1075
1、系统预定义异常no_data_foundcase_not_foundcursor_already_openinvalid_number--no_data_found异常set
serveroutput on;--&NO表示从控制台输入参数DECLARE v_ename varchar2(30)....
分类:
数据库 时间:
2014-05-05 23:45:21
阅读次数:
427
// Test.cpp : 定义控制台应用程序的入口点。//#include
"../I_Timer.H"#include void onTimer1(){ std::cout createTimer();#if 1 auto
myTimer1 = /*Timer::createTime...
分类:
其他好文 时间:
2014-05-05 23:28:48
阅读次数:
341
开源存储产品提供商RHEL(gluster,ceph)提供对象、块和文件三种存储;Ceph已成为OpenStack上最通用的存储之一;swift,作为对象存储,稳定性还是没啥问题。sina那边使用,对他的评价很高。淘宝选择了sheepdog通常而言,开源项目的来源有三:一是学校里的大牛作的课题,论文...
分类:
其他好文 时间:
2014-05-02 12:06:23
阅读次数:
293
usingSystem;
usingSystem.Collections.Generic;
usingSystem.IO;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespace读文件案例
{
classProgram
{
staticvoidMain(string[]args)
{
Console.WriteLine("请输入文件名");
stringfileName=Console.Read..
分类:
其他好文 时间:
2014-05-02 04:00:58
阅读次数:
289
Openstack发展很猛,很多朋友都很认同,2013年,会很好的解决OpenStack部署的问题,让安装,配置变得更加简单易用。很多公司都投入人力去做这个,新浪也计划做一个Openstack的iso,集成OS,当你决定去做这个的时候,那么先了解一下目前的现状。说到部
署,肯定和OS有关,对于Ope...
分类:
其他好文 时间:
2014-05-02 02:06:12
阅读次数:
706
在C++控制台应用程序中可以控制控制台输出的字体颜色和 接受任意按键退出#ifndef
CONSOLE_UTILS_H#define CONSOLE_UTILS_H#include #include #include //default text
colors can be found in win...
分类:
编程语言 时间:
2014-05-02 00:23:19
阅读次数:
450
Android C编程技巧运行模拟器 emulator -console *
将文件写入到模拟器的userdata.img文件中 adb push *将一个目录拷贝到模拟器中,包括子目录 adb push * 将一个目录从模拟器中拷出来
adb pull * 使得模拟器可以运行arm...
分类:
移动开发 时间:
2014-05-02 00:22:43
阅读次数:
509
1,按照vmware,导入系统(注意td提供的版本是64位的)
2,linux系统:root/root
3,配置ip:
Enter a cop entry in the linux hosts file (/etc/hosts accessible from the linux command line in the VMware console, ie. c:>vi /etc/host...
分类:
其他好文 时间:
2014-04-30 22:13:39
阅读次数:
503