码迷,mamicode.com
首页 >  
搜索关键字:english words study write from baicizan    ( 77311个结果
Django用户认证系统 authentication system
Django集成了用户登陆/验证/登出的模块,可以直接拿来使用,也可以进行定制,使用起来非常方便. 一,创建Django工程 $ django-admin.py startproject mysite 工程目录结构如下 lyndon@lyndon-ubuntu:~/Study/django$ tree mysite/ mysite/ ├── manage.py └── mysite...
分类:其他好文   时间:2014-05-10 10:36:39    阅读次数:602
读书笔记-APUE第三版-(5)标准IO库
ISO C标准I/O库使用流的概念读写文件。流是对数据传输的抽象,可以把流理解为从起点到终点间的字节序列。 标准I/O库通过维护进程空间内的缓冲区,减少read/write系统调用次数来提高I/O效率。之前介绍的Unbuffered I/O和文件描述符fd打交道,标准I/O则使用FILE指针。 typedef struct{ short level;/*缓冲区满程度*/ uns...
分类:其他好文   时间:2014-05-10 09:37:37    阅读次数:388
HDU 1102 && POJ 2421 Constructing Roads (经典MST~Prim)
链接:http://poj.org/problem?id=2421  或   http://acm.hdu.edu.cn/showproblem.php?pid=1102 Problem Description There are N villages, which are numbered from 1 to N, and you should build some roads ...
分类:其他好文   时间:2014-05-10 09:34:09    阅读次数:389
POJ-1042 Gone Fishing (贪心法求最佳钓鱼方案
John is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes in the area (2 <= n <= 25) all reachable along a single, one-way road. John starts at lake 1, but he can finish at any lake he wants. He can only travel from on...
分类:其他好文   时间:2014-05-07 08:48:52    阅读次数:515
CareerCup之1.3字符串去重
【题目】 原文: 1.3 Design an algorithm and write code to remove the duplicate characters in a string without using any additional buffer. NOTE: One or two additional variables are fine. An extra copy of...
分类:其他好文   时间:2014-05-07 08:48:12    阅读次数:372
sql语句执行顺序
一、逻辑查询处理的各个阶段 (5)SELECT DISTINCT TOP()                        (1)FROM JOIN ON   (2)WHERE (3)GROUP BY (4)HAVING (6)ORDER BY 上边语句是一个普通格式的查询语句,基本包含了所有的查询条件和关键字。你可能会发现前边的序号并不是按顺序来的,被你说对了,这...
分类:数据库   时间:2014-05-07 08:26:11    阅读次数:476
Sql_Server中如何判断表中某列是否存在
/*判断表AA中是否存在AA_ID这一列,如果不存在,则新增*/ IF NOT EXISTS (SELECT 1 FROM syscolumns INNER JOIN sysobjects ON sysobjects.id = syscolumns.id WHERE syscolumns.name = 'AA_ID' AND sysobjects.name = 'AA') ALTER TA...
分类:数据库   时间:2014-05-07 07:33:47    阅读次数:373
数字图像和视频处理的基础-第5周中值滤波PSNR练习题
In this problem you will perform median filtering to enhance the quality of a noise corrupted image. Recall from the video lecture that median filtering is effective for removing "salt-and-pepper" n...
分类:其他好文   时间:2014-05-07 07:20:09    阅读次数:326
codechef Popular Rice Recipe题解
Popular Rice Recipe Did you know that there are over 40,000 varieties of Rice in the world ? There are so many dishes that can be prepared with Rice too. A famous chef from Mumbai, Tid Gusto prep...
分类:其他好文   时间:2014-05-07 04:05:46    阅读次数:428
android 读写文件示例
代码中的两个按钮处理事件,分别进行了文本的读写操作。 1)文件写操作 首先调用Activity的openFileOutPut()方法获得文本文件的输出流,第一个参数为文本文件的名字,第二个为文件的打开方式 接着调用Outputstream对象的write()方法将Textview中获得文本信息写入outputstream对象,最后调用close()方法完成写入操作。 2)文件读操作 首先调用Activity的openFileInPut()方法获得文本文件的输入流, 接着...
分类:移动开发   时间:2014-05-07 03:15:13    阅读次数:464
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!