虽然学的慢,不过也需要一步一步地学。
学习笔记:
1. SQL语句大小写 不敏感
2. MySQL 需要分号;
3.
用过的命令:
show databases; //显示有多少个数据库
create database first_lesson; //创建一个数据库
use first_lesson; //使用这个数据库
show tabl...
分类:
数据库 时间:
2014-11-25 14:34:21
阅读次数:
198
这个非常简单的题目,题目如下: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two...
分类:
其他好文 时间:
2014-11-25 00:02:41
阅读次数:
211
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/41346969
Implement strStr().
Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
Update (2014-11-02):
The signature of the function...
分类:
其他好文 时间:
2014-11-24 22:37:49
阅读次数:
224
写video 需要用到 VideoWriter 视频文件可看作一个容器 视频的类型由视频文件的后缀名来指定 Due to this OpenCV for video containers supports only the avi extension, its first version. A di...
分类:
其他好文 时间:
2014-11-24 22:25:43
阅读次数:
383
问题描述:
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 maximum jump length at that position.
Your...
分类:
其他好文 时间:
2014-11-24 20:51:50
阅读次数:
171
EF Code First:数据更新最佳实践最近在整理EntityFramework数据更新的代码,颇有体会,觉得有分享的价值,于是记录下来,让需要的人少走些弯路也是好的。为方便起见,先创建一个控制台工程,使用using(var db = new DataContext)的形式来一步一步讲解EF数据...
分类:
其他好文 时间:
2014-11-24 18:51:42
阅读次数:
267
问题:使用Entity Framework迁移完数据库后,每次修改代码(非模型代码)后都报错:支持“XXXDbContext”上下文的模型已在数据库创建后发生更改。请考虑使用 Code First 迁移更新数据库(http://go.microsoft.com/fwlink/?LinkId=2382...
分类:
数据库 时间:
2014-11-24 16:44:25
阅读次数:
168
//点击root,也就是红色的任何处,页面会像翻书一样翻转。翻转到first,也就是蓝色的界面。当点击顶部root页面部分的时候,页面会重新翻到root,也就是红色的界面。 FirstViewController *firstView=[[FirstViewController alloc]in.....
分类:
其他好文 时间:
2014-11-24 16:39:28
阅读次数:
115
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first
two lists.
#include
#include
typedef struct ListNode {
...
分类:
其他好文 时间:
2014-11-24 15:24:26
阅读次数:
183