摘要:
Math.rint() 形参是 double 返回 2.0 返回3.0 _正整数: .5 返回的是 , .51 返回的 是 + 1_
阅读全文
posted @ 2016-12-27 17:56
新猪先生
阅读(1970)
推荐(0)
摘要:
Person.java Student.java testmain.java
阅读全文
posted @ 2016-12-06 00:39
新猪先生
阅读(294)
推荐(0)
摘要:
xml配置 .Properties文件 json 字符串并转义,注意不要 添加双引号 @Value 注入到字段中
阅读全文
posted @ 2016-11-29 18:35
新猪先生
阅读(1044)
推荐(0)
摘要:
使用mysql 命令行,增加 ,删除 字段 并 设置默认值 及 非空 添加 添加,并设置默认值,及非空 删除
阅读全文
posted @ 2016-11-14 11:07
新猪先生
阅读(1634)
推荐(0)
摘要:
#include struct node{ int payload; node* next; node(int payload){this->payload=payload;next=nullptr;} }; void bianli(node* head){ node* iterator = head; while(iterator){ std::co...
阅读全文
posted @ 2016-08-22 12:05
新猪先生
阅读(1536)
推荐(0)
摘要:
#include struct node{ int payload; node* next; node(int payload){this->payload = payload;} }; class joseph_circle{ node* tail; node* eliminate_ptr; public: joseph_circle(){...
阅读全文
posted @ 2016-08-20 00:34
新猪先生
阅读(306)
推荐(0)
摘要:
#include struct node{ int payload; node* next; }; void bianli(node* head){ node* iterator = head; while(iterator){ std::cout payloadnext; } std::coutnext==nullptr) return hea...
阅读全文
posted @ 2016-08-19 02:17
新猪先生
阅读(316)
推荐(0)
摘要:
#include struct node{ int payload; node* next; }; void bianli(node* head){ node* iterator = head; while(iterator){ std::cout payloadnext; } std::coutnext==nullptr) return hea...
阅读全文
posted @ 2016-08-19 00:52
新猪先生
阅读(147)
推荐(0)
摘要:
查看、添加、提交、删除、找回,重置修改文件 git help <command> # 显示command的help git show # 显示某次提交的内容 git show $id git co -- <file> # 抛弃工作区修改 git co . # 抛弃工作区修改 git add <fil
阅读全文
posted @ 2016-08-17 13:51
新猪先生
阅读(177)
推荐(0)
摘要:
不太多描述 msys2 与 vs code ,既然你需要安装 一种语言的编译环境了 ,你肯定对这两个不陌生; 1. 先安装msys2; (下载多少位的msys2就安装多少位的 mingw,本人安装 32位的) 下载连接地址:http://msys2.github.io/ 按照 官网文档,一步一步安装
阅读全文
posted @ 2016-08-16 16:50
新猪先生
阅读(18109)
推荐(3)