//// YCViewController.h// 分组查询一//// Created by 余超
on 14-5-19.// Copyright (c) 2014年 余超. All rights reserved.//#import @interface
YCViewController ...
分类:
移动开发 时间:
2014-05-24 01:55:24
阅读次数:
312
编译警告:This project was created using a version of
compiler that is not currently installed: 6.0.3 [C2000]. Another version of the
compiler will be used...
分类:
其他好文 时间:
2014-05-23 12:16:21
阅读次数:
3014
以前写的一些老代码留着没事可以看看 1 // 2 // main.c 3 // cTest 4
// 5 // Created by on 13-10-8. 6 // Copyright (c) 2013年. All rights reserved. 7
// 8 9 #include ...
分类:
编程语言 时间:
2014-05-23 10:53:27
阅读次数:
251
1 . 建立一个 single view class
2 . 在view controller上建立3个控件 text view,button, webview
3 . 将 text view , webview风别命名为 url,web
//// ViewController.h// webview1//// Created by HeJiasheng on 13-11-12...
分类:
移动开发 时间:
2014-05-22 12:22:35
阅读次数:
352
//编写一个程序,让用户可以一次性输入任意多行文本
/*
* OutPutTest.cpp
*
* Created on: 2014年5月19日
* Author: John
*/
#include
#include
#include
#define COL_WIDTH 80
using namespace std;
int main(){
ofstrea...
分类:
编程语言 时间:
2014-05-22 10:42:34
阅读次数:
350
1).pro文件#-------------------------------------------------
#
# Project created by QtCreator 2014-05-18T12:56:52
#
#-------------------------------------------------
QT += core gui
greaterThan(...
分类:
其他好文 时间:
2014-05-22 09:43:53
阅读次数:
405
一、算法思想描述 归并排序:先递归分解序列,然后在合并有序序列。其过程描述如下:每次输出A、B这两个有序序列中的最小的一个。 二、算法分析 时间复杂度:最差、平均、最好的时间复杂度都是O(nlgn); 空间复杂度:O(n) 稳定性: 稳定三、算法实现 /*
* mergesort.cpp
*
* Created on: 2014年5月18日...
分类:
其他好文 时间:
2014-05-22 07:29:44
阅读次数:
250
// mainViewController.m// 雪花//// Created by pg on
14-5-20.// Copyright (c) 2014年 mqd. All rights reserved.//#import
"mainViewController.h"@interface m...
分类:
其他好文 时间:
2014-05-21 19:40:03
阅读次数:
312
测试源码:
//测试派生类的构造函数的调用顺序何时调用
//Fedora20 gcc version=4.8.2
#include
using namespace std;
class base
{
public:
base()
{
cout<<"base created!"<<endl;
}
~base()
{
cout<<"base destroyed!"<<en...
分类:
编程语言 时间:
2014-05-20 14:12:21
阅读次数:
322
1、算法思想描述: 1)将相邻的两个数进行比较,如果前面的一个大于后面的一个,则将他们交换。每次循环能使一个数达到有序状态。2、时间复杂度: 平均O(n^2)3、实现及优化。以下给出三种实现方式/*
* bubblesort.cpp
*
* Created on: 2014年5月17日
* Author: pc
*/
#include
#include
#inc...
分类:
其他好文 时间:
2014-05-18 15:34:55
阅读次数:
198