摘要: step 2 向项目中添加库 在这一步中,我们实现自己到sqrt函数,并用CMakeLists.txt添加到我们到项目中.首先,我们在项目目录中增加一个子目录 : MathFunctions,用来放置我们的sqrt的实现. 我们在MathFunctions目录下创建两个文件: mysqrt.c 和 mysqrt.h内容分别为mysqrt.h:1 float mysqrt(float) ;mysqrt.c:1 #include "mysqrt.h"2 float mysqrt(float x) {3 return x*x;4 }然后向在MathFunctions目录下创建 C 阅读全文
posted @ 2013-12-05 00:00 mayer21548 阅读(425) 评论(0) 推荐(0) 编辑
摘要: step 1 开始创建一个最简单到CMakeLists文件 : CMakeLists.txt1 cmake_minimum_required (VERSION 2.6) 2 project (Tutorial)3 add_executable (Tutorail tutorial.c)然后创建源文件: tutorial.c 1 // A simple program that computes the square root of a number 2 #include 3 #include 4 #include 5 int main (int argc, char *argv[]) 6... 阅读全文
posted @ 2013-12-04 23:04 mayer21548 阅读(1567) 评论(0) 推荐(0) 编辑
摘要: phase 1st: in order to do anything in git, you must have a repository which is where git stores the data for the snaphshots you are saving.two common ways to get a git repository: initialize a new one from an existing directory , such as a new project or project new to source control. the second... 阅读全文
posted @ 2013-10-03 16:59 mayer21548 阅读(215) 评论(0) 推荐(0) 编辑
摘要: compliers is a microcosm of computer science . it contains every single problem, including AI , algorithms , theory , systems architecture and so on. 阅读全文
posted @ 2013-09-28 11:52 mayer21548 阅读(126) 评论(0) 推荐(0) 编辑
摘要: this is how the file status change . 阅读全文
posted @ 2013-09-28 11:27 mayer21548 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 很久没有看设计文档了,今天看了以前的详细设计文档。 看完之后感觉只要遵守详细设计文档,好像以后不会再有痛苦这回事了。感觉需要做的事情就是理清自己的思路,清晰出业务逻辑,处理可能的异常而已。结论是: 要对项目或事物进行抽象,然后采用 简单的解决方案 完成任务。实践指导:结合三层架构,重点对业务逻辑进行详细设计,并写出规范化的设计文档。根据文档指导代码实现。严格遵守文档来实现代码。 若出现任何问题,应根据设计文档排查原因,而不是根据代码排查原因。如果文档设计不合理,则修改文档,然后再实现。Key Word: 规范化,文档,思路 阅读全文
posted @ 2013-08-11 15:39 mayer21548 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 糟糕的项目管理能力是一切罪恶的源头。会让大家跟着你没日没夜的加班,工作。而且将会一直恶性循环下去。 阅读全文
posted @ 2013-08-10 00:51 mayer21548 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1. 互联网 改变 传统的商业模式2. 互联网 改变 传统的人与人交流方式3. 互联网 改变 人的传统的娱乐方式4. 互联网 改变 人们传统的工作方式将生活Internet化, 并通过Internet 拓展生活.what's next the internet will change it ? ? ? 阅读全文
posted @ 2013-08-04 23:20 mayer21548 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1.conceptm维列向量: A(m *1) .n维行向量 : A(1*n).方阵 A(m*m)零矩阵: 元素全为 0三角矩阵: 方阵的主对角线上或下方元素全为0 ,称下三角矩阵或上三角矩阵同型矩阵: 指具有相同的列数和行数2.运算矩阵运算两种基本类型:1. 矩阵 与 矩阵 2. 常数与矩阵 同型矩阵可做 加减运算,及两个矩阵的对应元素作加减运算,满足 交换律,结合律,存在零元 和 存在负元 矩阵与常数, 用常数 与 矩阵的每个元素作遍历运算乘法:unfinishedpending... 阅读全文
posted @ 2013-08-04 09:58 mayer21548 阅读(315) 评论(0) 推荐(0) 编辑
摘要: GitHub account = hansenDise dashes 阅读全文
posted @ 2013-05-15 09:40 mayer21548 阅读(126) 评论(0) 推荐(0) 编辑