码迷,mamicode.com
首页 >  
搜索关键字:static library    ( 54235个结果
转换时间为 “XX分钟之前”
public static string getTimeAgo(string strDate) { string strTime = string.Empty; if (clsCommon.IsDate(strDate)) { T...
分类:其他好文   时间:2014-05-23 11:40:40    阅读次数:309
AsyncEnumerableExtensions.cs z
public static class Extensions{public static async Task ForEachAsync(this IEnumerable collection, Func> body, IObserver observer = null){foreach (var ...
分类:其他好文   时间:2014-05-23 10:55:36    阅读次数:213
C#中窗体间参数传递实现增删改的例子
此例子中传递的变量有string type,string text,储存在结构数组中;static int i储存在Sta类中(如果在外面声明,调用它老出错),里面有geti和seti函数来操纵它。各个窗体实现功能及截图:各窗体代码如下:using System;using System.Colle...
分类:Windows程序   时间:2014-05-23 10:41:47    阅读次数:550
C++ 静态存储周期(static storage duration)
本文根据C++ 2003标准讨论了拥有静态存储周期(static storage duration)对象的声明,构造和销毁。...
分类:编程语言   时间:2014-05-22 11:12:17    阅读次数:372
读取光驱序列号、型号、分位
获取光驱序列号、分位、型号代码 {CSDN:CODE:353256} 头文件如下(有些部分没有用到): #include #include #include #include #include // TODO: reference additional headers your program requires here //static void dump_buffer(c...
分类:其他好文   时间:2014-05-22 09:56:04    阅读次数:376
备忘之类中的static成员的访问方式
类中的static成员在类定义完毕之后就存在在静态数据区,即使没有定义任何该类的对象。 {CSDN:CODE:353596} 上述代码执行结果为:...
分类:其他好文   时间:2014-05-22 08:56:00    阅读次数:370
s1考试 图书管理系统 结构体版
#include #include #include #include #include using namespace std; struct Library { long number;//编号 string bookname;//书名 string author;//作者 string press;//出版社 int price;//价格 }...
分类:其他好文   时间:2014-05-22 07:17:38    阅读次数:206
iOS开发中单例对象的标准创建方法
//标准的单例写法//以创建歌曲的管理者为例进行创建。+(instancetype) sharedQYSongManager{ static QYSongsManager *songManager =nil; //采用GDC标准单例实现方法 static dispatch...
分类:移动开发   时间:2014-05-20 13:29:56    阅读次数:364
冒泡排序及其优化
public class Paixu { public static void main(String[] args) { paixu(); } public static void paixu(){ int [] a = {23,12,15,2,4,10}; ...
分类:其他好文   时间:2014-05-20 12:47:59    阅读次数:193
Python的多线程实现
参考:1. 使用Python进行线程编程:http://www.ibm.com/developerworks/cn/aix/library/au-threadingpython/2. Python:使用threading模块实现多线程编程:http://blog.csdn.net/bravezhe/...
分类:编程语言   时间:2014-05-20 08:13:57    阅读次数:445
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!