摘要:
using System;
using System.Data;
using System.Data.SqlClient; /* create procedure sp_Select_All_Employees as select employeeid, firstname, lastname from employees
*/
namespace Chapter6
{ class CallSp1 { static void Main() { SqlConnecti... 阅读全文
阅读排行榜
重要的和成熟的手机跨平台工具
2013-02-18 15:52 by java20130722, 159 阅读, 收藏,
摘要:
As part of the new community-driven research initiative, we are examining the importance and adoption level of a range of cross platform mobile tools that aim to help developers deliver applications on a variety of mobile platforms. The tools we're going to examine are:PhoneGap (Apache Cordova), 阅读全文
云营销是大数据时代的新营销革命
2013-01-23 12:13 by java20130722, 159 阅读, 收藏,
摘要:
营销学领域已经发展了很长的一段时间,它向我们展示了从“以产品为中心”向“以客户为中心”的转变,最受欢迎的营销理论也从“4P”转向了以消费者需求为导向的“4C”理论和以关系营销为导向的“4R”理论。互联网与移动互联网主导下的数字化信息时代可以帮助企业以前所未有的速度收集用户的海量行为数据,在大数据的基础上分析、洞察、和预测消费者的偏好,并据此为消费者提供最能满足他们需求的产品、信息、和服务。然而,即使在大数据时代,每一个企业对他们的用户的了解也只能是片面的或者单个维度的。比如,有三家网站:网站A卖运动装,网站B卖休闲装,网站C卖包,这三家网站都分别了解用户在自己网站内所展示的偏好,比如对颜色的喜 阅读全文
二叉搜索树(BST)demo
2012-09-18 16:30 by java20130722, 159 阅读, 收藏,
摘要:
#include using namespace std; class Node {
public: Node(int key_):left(NULL),right(NULL),key(key_){} Node* left; Node* right; int key;
}; class BST {
public: BST() : root(NULL) {} ~BST() { clear(root); } void clear(Node* node) { if (node == NULL) return; clear(node->left); clea... 阅读全文
javascript给builtin对象添加新方法
2013-01-24 14:33 by java20130722, 158 阅读, 收藏,
摘要:
在Ruby中可以使用Open Class的方法给已有的类添加新的方法,这样可以方便我们扩展新的功能。如rails这样popular的framework都会有core_ext用来添加ruby本身库的功能。虽然可能会出现Monkey Patch的问题,但这样仍然很好的丰富了我们写程序的手法。考虑一个String类,如果我的业务逻辑是经常会取出String对象的第一个字符并且返回大写形式。我就可以打开String类。直接添加一个这样的方法就行。如下:class String def capital self[0].to_s.upcase end
end puts "kiwi".c 阅读全文
浙公网安备 33010602011771号