码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果)
[leetcode]Add Binary
Add BinaryGiven two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".算法思路:模拟二进制加法,跟十进制木有区别,将a,b转置(不转置的话,倒着...
分类:其他好文   时间:2014-07-24 22:57:23    阅读次数:216
使用jsonp实现ajax跨域请求
Jsonp(JSON with Padding)是资料格式 json 的一种“使用模式”,可以让网页从别的网域获取资料。由于同源策略,一般来说位于 server1.example.com 的网页无法与不是 server1.example.com的服务器沟通,而 HTML 的 ...
分类:Web程序   时间:2014-07-24 22:37:33    阅读次数:220
QT常用资料
QTableView介绍Qt 自定义 滚动条 样式QTableWidget控件总结QTableWidget的使用和美工总结QT__stylesheet__操作
分类:其他好文   时间:2014-07-24 22:06:12    阅读次数:212
protobuf example make backup
# See README.txt..PHONY: all cpp java python cleanall: cpp #java pythoncpp: add_person_cpp list_people_cpp temp_cppjava: add_person_java lis...
分类:其他好文   时间:2014-07-24 22:01:12    阅读次数:290
linux service等命令不能使用的解决办法
主要是路径没添加进来:在shell里面输入这条命令:export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2...
分类:系统相关   时间:2014-07-24 22:00:32    阅读次数:230
[leetcode笔记] Longest Consecutive Sequence
随机挑选一题试试手气。 问题描述: Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example, Given [100, 4, 200, ...
分类:其他好文   时间:2014-07-24 21:55:32    阅读次数:232
Qt_DX
#ifndef MY_FRAME__HH__#define MY_FRAME__HH__#include struct IDirect3D9; struct IDirect3DDevice9; class QD3DWidget : public QWidget { Q_OBJECT pub...
分类:其他好文   时间:2014-07-24 21:53:12    阅读次数:228
Linux下如何将数据库脚本文件从sh格式变为sql格式
在从事软件开发的过程中,经常会涉及到在Linux下将数据库脚本文件从sh格式变为sql格式的问题。本文以一个实际的脚本文件为例,说明格式转换的过程。       1. sh文件内容       本文中的文件名为example.sh,其内容如下:#!/bin/bash function Init(){    if [ -f"example.sql" ]    then        echo"exa...
分类:数据库   时间:2014-07-24 17:42:56    阅读次数:251
【LeetCode】【Python题解】Unique Binary Search Trees
Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example, Given n = 3, there are a total of 5 unique BST's. 1 3 3 2 1 \...
分类:编程语言   时间:2014-07-24 11:35:42    阅读次数:245
[LeetCode] Pascal's Triangle
Given numRows, generate the first numRows of Pascal's triangle.For example, given numRows = 5, Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,...
分类:其他好文   时间:2014-07-24 11:28:32    阅读次数:228
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!