- 博客(9)
- 收藏
- 关注
原创 c++程序设计练习2.1
输入两个整型数,输出这两个整型数相除后的商和余数#include <iostream>int main(){ using namespace std; int a,b; cout << "Enter one integer number: "; cin >> a; cout << "Enter one ...
2018-09-01 16:03:13
523
原创 centos配置g++
安装g++yum install -y gcc-c++ 使用cpp后缀名使用g++编译g++ helloworld.cppcat helloworld.cpp# include <iostream>int main(){using namespace std; cout <<"Hello world\n"; return 0;}g+...
2018-09-01 15:42:44
505
原创 personInfo
JT20111023zhang sanmale168cm54.3kg[root@localhost java]# [root@localhost java]# cat personInfo.java public class personInfo{ public static void main(String[] args){ String number = ...
2018-08-29 23:58:41
1189
原创 printout triangle
java Triangle******************* ***************** *************** ************* *********** ********* ******* ***** *** *------------------public class...
2018-08-29 23:49:56
145
原创 java 连接符
java + php .public class Contation{ public static void main(String[] args){ int i = 10; System.out.println("Hello world " + i); }}
2018-08-29 23:01:09
950
原创 Java define variable
Atttention 1.chararcter type must single quotation marks ”,not double quotation ” 2.double type must end with d 3.float type must end with f public class printSample{ public static void main...
2018-08-29 22:54:29
903
原创 vim使用
删除一个word不要使用x,使用dw,尽量使用x保存文件 语法高亮 :syntax enablevim ~/.vimrcsyntax enable设置颜色 :colorscheme default查看文件编码 vim内部查看 :set fileencoding 转换文件编码 yum install enca.x86_64 -y enconv -L zh_CH -x U...
2018-08-26 12:33:19
146
原创 centos7 设置language参数
查看当前LANG设置1.echo $LANG2.locale|grep LANG检查语言集locale -a设置LANG#立刻生效export LANG="zh_CN.utf8"#保存文件,防止重启变量失效echo LANG="zh_CN.utf8" &gt; /etc/locale.conf...
2018-08-26 11:04:48
2130
原创 golang chat root
golang chatroom For server server.goserver listenFor Clientclient lister
2018-08-26 00:33:23
150
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人