码迷,mamicode.com
首页 >  
搜索关键字:class    ( 183544个结果
linux——4.linux环境
/* * os.cpp: for linux os methods */ #include #include #include #include #include #include #include #include using namespace std; #define UNIT_TEST 1 // os class class OS { p...
分类:系统相关   时间:2015-05-21 00:10:00    阅读次数:130
LeetCode——Reverse Linked List
反转链表,用了一个比较笨的方法。public class Solution { public ListNode reverseList(ListNode head) { if(head == null || head.next == null) retur...
分类:其他好文   时间:2015-05-21 00:00:01    阅读次数:285
Regular Expression Matching [leetcode]
class Solution {public: bool isMatchCore(string s, string p,int indexS,int indexP){ if (s[indexS] == '\0' && p[indexP] == '\0') return true; if (s...
分类:其他好文   时间:2015-05-20 23:54:28    阅读次数:150
SWIFT中获取当前经伟度
很多的APP中都会用到用户的当前位置信息,本文将实现这个小功能import UIKitimport CoreLocation //添加引用class ViewController: UIViewController,CLLocationManagerDelegate { let locati...
分类:编程语言   时间:2015-05-20 23:52:46    阅读次数:177
链表的基本表示操作
//链表:#include using namespace std;//定义结点:struct NODE{ int data;//数据域 NODE *next;//指针域};//链表类:class LIST{ NODE *head;public: //构造函数 LIST...
分类:其他好文   时间:2015-05-20 23:50:03    阅读次数:144
支付宝Block 支付跳转
#import @class Order;typedef void (^ResultBlock)(Order *resultOrder);@interface AlipayService : NSObject+(instancetype)shareService;/** * 支付动作,跳转到支付客....
分类:其他好文   时间:2015-05-20 23:41:01    阅读次数:199
求矩阵的主对角线之和
import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.Scanner;public class Triangle{ public sta.....
分类:其他好文   时间:2015-05-20 23:37:05    阅读次数:232
xml序列化与反序列化
XmlConfig.csnamespace Model{ [ Serializable] public class XmlConfig { [ XmlElement] public List Class1; [ XmlElement] ...
分类:其他好文   时间:2015-05-20 23:36:53    阅读次数:204
Eclipse下的Java反编译插件 查看源代码不再困难
Eclipse下的Java反编译插件:Eclipse Class Decompiler,整合了目前最好的2个Java反编译工具Jad和JD-Core,并且和Eclipse Class Viewer无缝集成,能够很方便的使用本插件查看类库源码,以及采用本插件进行Debug调...
分类:编程语言   时间:2015-05-20 22:33:19    阅读次数:176
js添加样式class
最近在看js,好好打基础才是王道,底层的东西不容忽视。 Js添加样式名,在用jQuery的时候很容易的一个add和remove就能解决的问题,但是用js该怎么样处理呢,刚看了一篇文章,菜鸟级的《JavaScript初学者应注意的七个细节》,原文地址 http://developer.51cto.com/art/201101/242546_2.htm 里面有一段就写了这样一个东西:修改样式名,我稍...
分类:Web程序   时间:2015-05-20 22:25:50    阅读次数:218
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!