码迷,mamicode.com
首页 >  
搜索关键字:tchar    ( 2435个结果
luogu P1451 求细胞数量
P1451 求细胞数量 P1451 求细胞数量 P1451 求细胞数量 题目描述 一矩形阵列由数字0到9组成,数字1到9代表细胞,细胞的定义为沿细胞数字上下左右若还是细胞数字则为同一细胞,求给定矩形阵列的细胞个数。(1<=m,n<=100)? 输入输出格式 输入格式: 输入:整数m,n(m行,n列) ...
分类:其他好文   时间:2017-06-27 20:51:25    阅读次数:136
定义结构体时的初始化默认值
结构体变量定义时的初始化问题: 默认值同变量一样。int型的为0,指针型的为“NULL” 并非整个结构体为NULL。当中的int型还是有值0的,仅仅是指针型的为NULL 验证一下: #include "stdafx.h" struct stu { int data; char *name; }boy ...
分类:其他好文   时间:2017-06-27 14:53:01    阅读次数:274
通过自动回复机器人学Mybatis(代码重构)
imooc视频学习笔记 > URL:http://www.imooc.com/learn/154 ListServlet.java MessageDao.java ListService.java ...
分类:其他好文   时间:2017-06-26 21:13:52    阅读次数:196
JavaScript浏览器兼容方法
var EventUtil = { addHandler: function(element, type, handler){ if (element.addEventListener){ element.addEventListener(type, handler, false); } else ...
分类:编程语言   时间:2017-06-26 21:09:42    阅读次数:152
[luoguP2626] 斐波那契数列(升级版)(模拟)
传送门 模拟 代码 ...
分类:其他好文   时间:2017-06-26 10:17:39    阅读次数:131
Windows Unicode相关
头文件前后顺序影响TCHAR定义 windows.h winnt.htchar.h 定义_UNICODE宏常量控制 //字符typedef char TCHAR;typedef wchar_t TCHAR; 字符串typedef __T(x) L##xtypedef __T(x) x //C库函数# ...
分类:Windows程序   时间:2017-06-26 10:09:09    阅读次数:195
回调函数的使用方法(类之间的通信)
// ConsoleApplication3.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <iostream> #include <functional> using namespace std; //1 "方向盘" 类接收外部的操作, ...
分类:其他好文   时间:2017-06-25 19:32:38    阅读次数:214
[luoguP1373] 小a和uim之大逃离(DP)
传送门 题解 代码 ...
分类:其他好文   时间:2017-06-25 17:50:39    阅读次数:170
CodeM初赛B轮
做什么啊,我这么菜,应该弃赛的 [编程|1500分] 子串 时间限制:3秒空间限制:32768K 题目描述 给出一个正整数n,我们把1..n在k进制下的表示连起来记为s(n,k),例如s(16,16)=123456789ABCDEF10, s(5,2)=11011100101。现在对于给定的n和字符 ...
分类:其他好文   时间:2017-06-25 17:44:57    阅读次数:194
ZOJ3195 Design the city [2017年6月计划 树上问题04]
Cerror is the mayor of city HangZhou. As you may know, the traffic system of this city is so terrible, that there are traffic jams everywhere. Now, Ce ...
分类:其他好文   时间:2017-06-25 11:05:01    阅读次数:168
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!