会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
简刀
talking is cheap
博客园
首页
新随笔
联系
管理
订阅
2015年7月5日
git 命令手册
摘要: git init # 初始化本地git仓库(创建新仓库)git config --global user.name "xxx" # 配置用户名git conf...
阅读全文
posted @ 2015-07-05 21:20 简刀
阅读(392)
评论(0)
推荐(0)
2015年6月15日
leetcode #7 revert integer 问题
摘要: 问题描述:Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321输入一个整形数字,然后输出它的反转需要注意的是,int形变量的反转有可能是超过int的限制的,比如123456789...
阅读全文
posted @ 2015-06-15 16:06 简刀
阅读(166)
评论(0)
推荐(0)
2015年6月7日
leetcode #1 twoSum问题:简单实用哈希表
摘要: 因为不是计算机专业的,算法基础有点差,所以最近开始在leetcode上刷刷题补一补。#1 问题链接:twoSum问题描述:Given an array of integers, find two numbers such that they add up to a specific target n...
阅读全文
posted @ 2015-06-07 16:01 简刀
阅读(602)
评论(0)
推荐(0)
2015年6月6日
c++模板函数分离编译的问题
摘要: 因为最近在看caffe的源代码,几乎都是模板,因此想把自己写的几个函数程序也改为模板函数,但发现分离编译的时候make总是报错,找不到对应的模板函数。后来查了查资料发现是模板函数没有特化造成的。下面用简单的代码把这个问题展现一遍。max.cpp:template dtype max(dtype...
阅读全文
posted @ 2015-06-06 19:53 简刀
阅读(2097)
评论(0)
推荐(0)
2014年9月21日
matlab 与c/c++ 混合MEX的编程
摘要: matlab与c混合的mex编程中一些需要注意的地方
阅读全文
posted @ 2014-09-21 17:10 简刀
阅读(32175)
评论(0)
推荐(3)
公告