工具
zzugsh
这个作者很懒,什么都没留下…
展开
-
GIT工具(四)
远程仓库远程主机上的仓库远程仓库是连接别人的主机 然后才是代码的获取或者推送实际上git是分布式的,每一台主机的git结构都相似,只是把其他主机git仓库叫做远程而已创建共享仓库创建文件夹 mkdir gitrepo设置文件夹属主 chown tarena:tarena gitrepo将文件夹设置为可共享的git仓库 cd gitrepo git init --bare设...原创 2020-03-26 10:06:22 · 218 阅读 · 0 评论 -
GIT工具学习(三)
分支操作什么是分支操作:分支就是方便多人同时协作工作。分支就是每个人获取原有代码,在此基础之上创建自己的工作环境。 单独开发,不会影响其他分支的操作,开发完成后再同意合并到主线分支中。创建分支的好处: 安全,不影响其他人工作,可以自己控制进度。查看当前分支: git branchguosihan@guosihandeMacBook-Pro project % git branch...原创 2020-03-25 16:46:50 · 149 阅读 · 0 评论 -
GIT工具(二)
guosihan@guosihandeMacBook-Pro gitTUT % git config user.nameGuo Sihanguosihan@guosihandeMacBook-Pro gitTUT % cat ./gitconfigcat: ./gitconfig: No such file or directoryguosihan@guosihandeMacBook-Pr...原创 2020-03-25 14:31:07 · 368 阅读 · 0 评论 -
GIT工具学习(一)
GIT工具学习它是一种代码的协同管理工具有两种代码管理工具:SVNGIT管理工具的功能:防止代码丢失 做备份代码版本的管理,可以进行多个节点进行备份可以方便的将代码在多人之间进行共享传输多人开发时有各种模式可以方便代码管理git是当前比较流行的代码管理工具git是一个开源的分布式版本控制系统 可以用于高效的管理大小项目 本身是开源的svn就是典型的集中式的版本分布工...原创 2020-03-24 21:04:16 · 103 阅读 · 0 评论 -
python学习 [1]
python学习第一课python在数据科学中很重要python在设计哲学上: 优雅明确简单可读性强优点:功能强大,开发效率高,应用广泛,易上手,语法简单用途:网页开发可视化(GUI)界面系统编程数据分析机器学习网络爬虫科学计算例: yahoo youtube语言特别简单:print ("Hello World")安装python和配置环境可以将python的环境...原创 2019-09-25 16:22:17 · 82 阅读 · 0 评论 -
数据结构_数组
数组package day_1;//封装数组public class MyArray { private long[] arr; //表示有效数据 private int elements; public MyArray() { arr = new long[50]; } public MyArray(int maxsize) { arr = new long[...原创 2019-08-18 14:16:22 · 66 阅读 · 0 评论 -
C语言指针之多维数组
#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { //一.回顾二维数...原创 2019-07-06 22:49:49 · 243 阅读 · 0 评论 -
C语言指针之数组指针作为参数
#include <stdio.h>#include <stdlib.h>void changevalue(int ba[]){ ba[3] = 27; //这是把内存赋值 所以这个值会被带回到调用者 ba[4] = 45; return; }void changevalue2(int *p){ //一定得知道a的范围是a[0]-a[...原创 2019-07-06 16:52:35 · 5739 阅读 · 0 评论 -
C语言指针数组
#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { //上次讲的指针变...原创 2019-07-06 15:48:10 · 121 阅读 · 0 评论 -
C语言指针的一个例子
#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */void swap(int *a,int *b){//2个指针作为形参 a->a b-&...原创 2019-07-06 11:11:31 · 903 阅读 · 0 评论 -
C语言第九章指针
#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char *argv[]) { // //回顾 ...翻译 2019-07-05 23:20:54 · 150 阅读 · 0 评论 -
C语言之跨文件使用函数和变量
跨文件使用函数和变量这是主函数的代码:#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */extern int g_a;//对外部全局变量作说...原创 2019-07-01 10:10:50 · 4315 阅读 · 0 评论 -
C语言第七章 静态和动态储存
#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop *///void funcTest(){// static int c = 4; //将C的值保...原创 2019-06-30 22:41:22 · 263 阅读 · 0 评论 -
C语言第七章函数声明
函数声明#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop *///函数声明代码放在最前面,这样保证所有函数可以顺利调用其他函数//函数只要被声明...原创 2019-06-28 20:40:27 · 1542 阅读 · 0 评论 -
C语言第九章 指针开篇
C语言之指针初步#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char *argv[]) { ...原创 2019-07-03 21:00:13 · 113 阅读 · 0 评论 -
C语言第八章编译预处理
编译预处理-条件编译//#include命令:预编译命令,作用就是将某些文件包含到用户的源文件中来,也就相当于把某个文件中的内容原封不动的贴到#include这个位置//标准的I/O库:stdio.h叫头文件 #include <stdio.h>//<>就是去系统目录中找头文件 所以像标准的收stdio.h头文件就用<> #include <std...翻译 2019-07-02 22:31:52 · 187 阅读 · 0 评论 -
C语言第八章之宏定义
宏定义基础#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop *///不带参的宏定义 //#define 标识符/宏名 字符串 //这个意思...原创 2019-07-02 09:05:45 · 460 阅读 · 0 评论