码迷,mamicode.com
首页 >  
搜索关键字:void    ( 62627个结果
linq中的分组和排序
一、分组 group 组内成员 by 分组条件 into 组的信息 class Program { static void Main(string[] args) { string[] name = { "张三","张六","刘大","刘晓",...
分类:编程语言   时间:2015-11-20 17:36:01    阅读次数:212
pthread_getspecific()--读线程私有数据|pthread_setspecific()--写线程私有数据
原型:#include void *pthread_getspecific(pthread_key_t key);int pthread_setspecific(pthread_key_t key, const void *value);说明:TSD 的读写都通过上面两个专门的 Posix Thre...
分类:编程语言   时间:2015-11-20 17:23:23    阅读次数:217
DSP:CCS V6 TMS320F2812 使用printf函数
使用Code Composer StudioVersion: 6.1.1.00022,建立TMS320F2812工程。1 /*2 * main.c3 */4 #include 5 6 int main(void) {7 printf("Hello DSP!\r\n");8 ret...
分类:其他好文   时间:2015-11-20 17:10:53    阅读次数:289
算法笔记4
1 #include 2 #include 3 4 /* run this program using the console pauser or add your own getch, system("pause") or input loop */ 5 void graph(int nu...
分类:编程语言   时间:2015-11-20 15:33:20    阅读次数:247
Find Median from Data Stream 295
题目链接:https://leetcode.com/problems/find-median-from-data-stream/题目描述: 设计一个类,包含两种操作void addNum(int num) - Add a integer number from the data stream to ...
分类:其他好文   时间:2015-11-20 15:22:14    阅读次数:155
hihocoder 1049 后序遍历树
#include#include#include#include#include#define L 2000050using namespace std;char pre[30],in[30],post[30];int n = 0;void dfs(char *pre,char *in)//知道前序...
分类:其他好文   时间:2015-11-20 15:21:21    阅读次数:131
linq中first() firstordefault() last() lastOrDefault() single() singleOrDeafult
一、firstordefault() 和 first() class Program { static void Main(string[] args) { List list = new List { new E...
分类:其他好文   时间:2015-11-20 15:19:22    阅读次数:153
freetype应用范例
//------------------------------------------------------------------------------------- void LoadTextBitmap(RGN_HANDLE Handle, BITMAP_S *pstBitmap, int size, unsigned short* incode, int len) { HI_S32...
分类:其他好文   时间:2015-11-20 14:12:53    阅读次数:176
iOS 同一UILabel改变数字的颜色
- (void)setRichNumberWithLabel:(UILabel *)label Color:(UIColor *) color FontSize:(CGFloat)size{//将Label的text转化为NSMutalbeAttributedString NSMutableA...
分类:移动开发   时间:2015-11-20 12:38:03    阅读次数:566
UITextField
一、UITextFielddelegate- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField{ //返回一个BOOL值,指定是否循序文本字段开始编辑 return YES; } - (void)textFieldDidBeginE...
分类:其他好文   时间:2015-11-20 12:36:10    阅读次数:98
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!