码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果
【LeetCode】Merge Intervals
Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[15,18].public class S...
分类:其他好文   时间:2014-05-16 08:44:29    阅读次数:276
LeetCode OJ - Reverse Words in a String
题目: Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the".解题思路: 1、先对字符串进行一次总...
分类:其他好文   时间:2014-05-16 05:44:30    阅读次数:263
emacs quick open and jump file (or buffer) which name is current word
Sometime, we need to open a file or buffer which name began with current word in emacs. Here I give the solution as follows. (provide 'quick-file-jump) (defun ab/quick-buffer-jump () "Quickly jum...
分类:其他好文   时间:2014-05-15 15:02:20    阅读次数:373
LeetCode-003 Longest Substring Without Repeating Characters
【题目】 Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For "bbbbb" the longest substring is "b", with the len...
分类:其他好文   时间:2014-05-15 14:40:14    阅读次数:320
Android多线程——Handler (一) 实现图片下载
在UI线程中创建子线程——》在子线程中获取网络图片--》在线程中通过Message传递二进制图片给Handler,--》Handler在handleMessage()中处理消息packagecom.example.android_handler_message; importjava.io.IOException; importorg...
分类:移动开发   时间:2014-05-14 18:24:57    阅读次数:410
leetcode题目:Palindrome Partitioning 和Palindrome Partitioning II
题目一: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For example, given s = "aab", Return [ ...
分类:其他好文   时间:2014-05-14 15:10:01    阅读次数:293
Hive sql 语法解读
一、 创建表      在官方的wiki里,example是这样的: Sql代码   CREATE [EXTERNAL] TABLE [IF NOT EXISTS] table_name    [(col_name data_type [COMMENT col_comment], ...)]    [COMMENT table_comment]    [PARTITION...
分类:数据库   时间:2014-05-14 14:50:27    阅读次数:463
Qt设置windows系统时间
Qt设置windows系统时间网上的回答很多,但很少有一步到位的,一般会有8小时时差,下面给出直接解决代码: #include "windows.h"void Dialog::setTime() { SYSTEMTIME st; GetLocalTime(&st);//关键在这里 st.wHour....
分类:Windows程序   时间:2014-05-14 10:29:48    阅读次数:308
我的Vimrc
本文出自:http://blog.csdn.net/svitter 自己的vimrc。。功能很少,持续更新。 目前支持缩进4个空格,高亮。 用了gvim的example,和bluedust的部分配置文件,用于C++的编辑。 " An example for a vimrc file. " " Maintainer: Bram Moolenaar " Last change...
分类:其他好文   时间:2014-05-13 16:36:10    阅读次数:510
Android中使用Sqlite数据库 (二) 增删改查
定义接口packagecom.example.android_db.service; importjava.util.List; importjava.util.Map; publicinterfacePersonService{ publicbooleanaddPerson(Object[]params); publicbooleandeletePerson(Object[]params); publicbooleanupdatePerson(Object[]params); publicMa..
分类:移动开发   时间:2014-05-13 13:06:04    阅读次数:454
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!