码迷,mamicode.com
首页 > 2015年07月05日 > 全部分享
java 回归本质 System.out.println()的真正含义
在Java编程中,我们常常用System.out.println()方法来输出字符串,也许我们都已经猜到println()是方法名,但System是什么,out又是什么呢?这里就涉及用到一个static关键字。如下图,其实System是java.lang里面的一个类。而 out就是System里面的...
分类:编程语言   时间:2015-07-05 23:56:38    阅读次数:186
Owin与mvc
学习连接http://www.cnblogs.com/JustRun1983/p/3967757.htmlWeb Form和MVC现在还不能作为一个中间件集成到OWIN管道中,所有要么二选一,要么先后执行。二选一就是根据路由匹配选择执行方式,先后执行就是先执行Owin管道,后执行mvc。第一部分:直...
分类:Windows程序   时间:2015-07-05 23:57:39    阅读次数:1517
学生管理系统,练习增删改等操作
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Data.SqlClient;namespace M...
分类:其他好文   时间:2015-07-05 23:55:56    阅读次数:131
AngularJS自定义表单控件
Somemodel = {{content}}
分类:Web程序   时间:2015-07-05 23:56:49    阅读次数:141
状态模式 -- 学习HeadFirst设计模式记录
状态模式:允许对象在内部状态改变时改变它的行为,对象看起来好像修改了它的类。
分类:其他好文   时间:2015-07-05 23:56:18    阅读次数:163
Python Tkinter 学习笔记(二)Hello_again
#hello_again.pyfrom tkinter import *class App: def __init__(self,master): frame = Frame(master) frame.pack() self.button = But...
分类:编程语言   时间:2015-07-05 23:56:13    阅读次数:174
区分const指针
Read it backwards...int*- pointer to intint const *- pointer to const intint * const- const pointer to intint const * const- const pointer to const in...
分类:其他好文   时间:2015-07-05 23:55:13    阅读次数:97
<12>【掌握】#include指令+【掌握】include文件搜索顺序+
【掌握】#include指令#include 是一个预处理指令 作用是:把要包含的文件的内容拷贝到当前书写 include的地方 1 #include // 引用的说系统文件,“”引用的是自己的文件 2 3 int main(int argc, const char * ar...
分类:其他好文   时间:2015-07-05 23:58:04    阅读次数:237
签到领金币脚本
1 #!/use/bin/env python 2 # -*- coding: utf-8 -* 3 # Author : nick 4 # Desc : v2ex每日签到 5 6 import urllib 7 import urllib2 8 ...
分类:其他好文   时间:2015-07-05 23:57:42    阅读次数:197
CSS:谈谈栅格布局
检验前端的一个基本功就是考查他的布局。很久之前圣杯布局风靡一时,这里就由圣杯布局开始,到最流行的bootstrap栅格布局。 圣杯布局 圣杯布局是一种三列布局,两边定宽,中间自适应: 1 * { 2 box-sizing: border-box; 3 } 4 ...
分类:Web程序   时间:2015-07-05 23:57:53    阅读次数:476
ZooKeeper入门
ZooKeeper简介ZooKeeper是一个构建在Paxos算法上的高可用的分布式数据管理与系统协调框架,提供了一系列原语集,更上层的应用可以用它来实现同步,配置管理,名称服务,Master选举,分布式锁,分布式队列等。ZooKeeper提供如下服务保证顺序一致性: client的updates请...
分类:其他好文   时间:2015-07-05 23:55:14    阅读次数:167
编译原理词法分析
#include#include#include using namespace std;#define N 200;/*关键字结构体定义*/typedef struct keyword{ char name[20];}KeyWord;/*符号表结构体定义*/typedef struct symbo...
分类:其他好文   时间:2015-07-05 23:56:49    阅读次数:127
qq管理系统。。
using System.Text;using System.Threading.Tasks;using System.Data.SqlClient;namespace QQ{ class Program { static void Main(string[] args)/...
分类:其他好文   时间:2015-07-05 23:54:53    阅读次数:129
LeetCode Factorial Trailing Zeroes (阶乘后缀零)
题意:如标题思路:其他文章已经写过,参考其他。1 class Solution {2 public:3 int trailingZeroes(int n) {4 return n/5<5? n/5: n/5+trailingZeroes(n/5);5 }6 };AC代...
分类:其他好文   时间:2015-07-05 23:54:10    阅读次数:170
python print和strip
在使用这两个模块时犯过错误,总结如下:1.printprint在打印时会自动加上换行,例如:>>> for i in xrange(1,5):... print i... 1234如果想屏蔽换行,则在参数后加上逗号,,打印时会用空格分隔,例如:>>> for i in xrange(1,5)...
分类:编程语言   时间:2015-07-05 23:57:06    阅读次数:126
python----format
1/cmd命令下python开发模式退出方式:Ctrl+z2/自然字符串 在字符串前加r,例如r"hello/n",可以保留转义符3/字符串重复 *n4/子字符串:索引,切片5、集合:建立关系(&交集,|并集,-差集),去除重复元素6、pickle腌制 目的:将数据在序列化,存储在内存中,在本地实现...
分类:编程语言   时间:2015-07-05 23:54:46    阅读次数:243
pymongo的常用操作
环境:pymongo3.0.3,python3以下是我整理的一些关于pymongo的操作,网上很多是用pymongo.Connecion()去连接数据库的,但是我这里连接一直提示没有这个包,如果大家有什么解决方案或者其他需要补充的,也欢迎告诉我。一、导入pymongo,使用MongClient连接数...
分类:其他好文   时间:2015-07-05 23:54:42    阅读次数:173
1416条   上一页 1 2 3 4 5 6 ... 84 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!