码迷,mamicode.com
首页 >  
搜索关键字:first    ( 14115个结果
【python】Head First Python(五)
无聊,看看《Head First Python》打发一下时间。感觉这本书很一般,可以无聊的时候翻翻。每一章页数很多,但都没讲什么东西。先看第五章。记录一下知识点:f.readline():读取文件的一行数据split():可以将字符串按给定的分隔符拆分为列表sort():将列表中的数据从小到大排序,...
分类:编程语言   时间:2014-09-13 17:13:25    阅读次数:226
STL algorithm算法generate和generate_n(22)
今后的stl算法部分就不贴cpluplus的原文了,简要的介绍为主。 generate原型: std::generate template void generate (ForwardIterator first, ForwardIterator last, Generator gen); 该函数是使用gen函数产生的值填充范围内元素的值。 其行为类似如...
分类:其他好文   时间:2014-09-13 15:58:05    阅读次数:210
MVC5 Entity Framework学习之读取相关数据
前一篇文章中完成了School 数据模型,接下来你将学习如何读取和显示相关的数据——这里指Entity Framework加载至导航属性中的数据。 延迟、预先和显示加载相关数据 Entity Framework可以通过多种方法向实体的导航属性中加载数据 延迟加载(Lazy loading) 当实体第一次被读取时,相关数据并不会被检索。但是,当你第一次访问导航属性时,该导航属性所需的数据会自动加载。这是向数据库发送多个查询语句的结果——一次是读取实体本身,接着是每次与被检索的实体相关的数据。DbContext...
分类:Web程序   时间:2014-09-13 14:40:35    阅读次数:347
Bootstrap(Web前端CSS框架)
官方定义:Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.即:Bootstrap 是最受欢迎的 HTML、CSS...
分类:Web程序   时间:2014-09-12 23:26:04    阅读次数:284
数论 - 欧拉函数的运用 --- poj 3090 : Visible Lattice Points
Visible Lattice PointsTime Limit:1000MSMemory Limit:65536KTotal Submissions:5636Accepted:3317DescriptionA lattice point (x,y) in the first quadrant (x...
分类:其他好文   时间:2014-09-12 23:24:04    阅读次数:251
Junit
核心断言 assertArrayEquals(expecteds, actuals) 查看两个数组是否相等。 assertEquals(expected, actual) 查看两个对象是否相等。类似于字符串比较使用的equals()方法 assertNotEquals(first, second) ...
分类:其他好文   时间:2014-09-12 22:04:14    阅读次数:339
html 中制造一个表格
ISBN Title Price 3476896 My first HTML $53 Coffee Tea Milk Coffee Tea Milk
分类:Web程序   时间:2014-09-12 20:35:04    阅读次数:174
转载:EntityFramework 6.0< Code First > 连接 Mysql数据库
转载自:http://blog.csdn.net/kmguo/article/details/19650299网上有很多关于用EntityFrame来连接Mysql数据库的教程,可是很多并不靠谱,转载的太多了。找了很久,总算是配置好了,现在分享一下。一,安装: 1、开发环境: VS2013与EF6....
分类:数据库   时间:2014-09-12 19:09:03    阅读次数:288
django admin
自定义标签:verbose nameclass Author(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=40) email ...
分类:其他好文   时间:2014-09-12 16:45:23    阅读次数:181
Leetcode: Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-09-12 13:26:43    阅读次数:145
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!