码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
nodejs SSL Error: CERT_UNTRUSTED while using npm command 错误
SSH 使用错误,其实我们关掉HTTPS就好了 npm config set strict-ssl false 或者 npm config set registry=”http://registry.npmjs.org/”
分类:Web程序   时间:2016-02-03 15:28:49    阅读次数:151
codevs 1536 海战
所谓灌水法?其实就是一个bfs了。 注意此题要求判断是否合法,只需要记录经过的点数,判断它是否是矩形的面积即可。 #include<iostream>#include<cstdio>#include<cstring>#include<queue>#include<cmath>using namesp
分类:其他好文   时间:2016-02-03 12:42:59    阅读次数:148
stringstream的用法(转)
stringstream的基本用法 stringstream是字符串流。它将流与存储在内存中的string对象绑定起来。 在多种数据类型之间实现自动格式化。 1 stringstream对象的使用 #include<sstream> #include<iostream> using namespac
分类:其他好文   时间:2016-02-03 12:40:26    阅读次数:126
多重继承下的类型转换
主要解释强制类型转换的影响。因为static_cast会在编译期间检测,dynamice_cast会在运行时检测。强制类型检测在编译器没有足够的信息判断类型是否能够转换时只能像reinterpret_cast一样将地址赋值。#include #include using namespace std;...
分类:其他好文   时间:2016-02-03 12:36:24    阅读次数:170
HDU 1018 Big Number 数学题
Problem Description In many applications very large integers numbers are required. Some of these applications are using keys for secure transmission o
分类:其他好文   时间:2016-02-03 11:45:34    阅读次数:124
《Effective C++》学习笔记(一)
1.const成员函数不能更改成员变量 #include <bits/stdc++.h> using namespace std; class CtextBlock { public: size_t length() const; private: char* pText; size_t textL
分类:编程语言   时间:2016-02-03 11:44:37    阅读次数:199
多重继承下的类型转换
主要解释强制类型转换的影响。因为static_cast会在编译期间检测,dynamice_cast会在运行时检测。#include #include using namespace std; class I1 { public: virtual void vf1() { cout m_cache; ...
分类:其他好文   时间:2016-02-03 11:39:53    阅读次数:134
HDU 1020 Encoding 字符统计
Problem Description Given a string containing only 'A' - 'Z', we could encode it using the following method: 1. Each sub-string containing k same char
分类:其他好文   时间:2016-02-03 11:35:47    阅读次数:219
[译] ASP.NET 生命周期 – ASP.NET 请求生命周期(四)
不使用特殊方法来处理请求生命周期事件 HttpApplication 类是全局应用类的基类,定义了可以直接使用的一般 C# 事件。那么使用标准 C# 事件还是特殊方法那就是个人偏好的问题了,如果喜欢,也可以将这两种方式混合起来使用。 1 using System; 2 using System.Co
分类:Web程序   时间:2016-02-03 10:45:24    阅读次数:224
KMP模板
比赛时发现憋不出模板啦这真是伤心 只写2次的东西真心记不住贴个以前的模板 多敲几遍POJ 3461 1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 using namespace std; 5 int T,la,lb; 6 
分类:其他好文   时间:2016-02-03 09:03:16    阅读次数:182
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!