上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: 1、内存载入过程:(1)程序要进行的操作对应的代码被装载到代码区。(2)全局和静态数据等装载到数据区(3)开辟堆栈,供临变量等使用 可见,内存中的数据是多种多样的,既可以是操作,也可以是数据,都被存储在一个个的内存小格子中,每个小格子存储8个二进制位。变量是对程序中数据存储空间的抽象指针:一个变量的 阅读全文
posted @ 2019-08-04 11:15 Coding_Changes_LIfe 阅读(151) 评论(0) 推荐(1) 编辑
摘要: #include /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// void main1(){ int a[5] = {1,2,3,4,5}; printf("the size of int :%d... 阅读全文
posted @ 2019-08-03 21:47 Coding_Changes_LIfe 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 把一个偶数分解成两个质数的和#include int isPrime(int num){ if(num == 1 || num ==2 ){ return 1; } else{ for(int i =2 ; i int count(int n){ if(n / 10 == 0){ //一位数返回1 return 1; } el... 阅读全文
posted @ 2019-08-03 09:28 Coding_Changes_LIfe 阅读(165) 评论(0) 推荐(0) 编辑
摘要: luoxu@lenovo:~/testGit/.git$ env | grep -i proxy 查看有没有设置代理 ALL_PROXY=socks://127.0.0.1:1080/ no_proxy=localhost,127.0.0.0/8,::1 NO_PROXY=localhost,127.0.0.0/8,::1 luoxu@lenovo:~/testGit/.git$ uns... 阅读全文
posted @ 2019-07-31 18:32 Coding_Changes_LIfe 阅读(1952) 评论(0) 推荐(0) 编辑
摘要: 1、版本控制 1、协同修改 2、数据备份 3、权限控制 4、历史记录 5、分支管理2、版本控制分类 集中式版本控制工具 SVN、CVS、VSS 分布式版本控制工具 避免单点故障 Git3、Git优势 1、大部分操作在本地完成 2、完整性保证 3、尽可能添加数据而不是删除或者修改数据 4、分支操作非常 阅读全文
posted @ 2019-07-31 17:34 Coding_Changes_LIfe 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 十进制转二进制 递归的方法 阅读全文
posted @ 2019-07-28 21:45 Coding_Changes_LIfe 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 1、函数返回值 2、函数的包含 头文件:luoxu.h 源文件有两个:test.c,funtions.c 源文件内部的各个.c源文件中的函数可以相互调用,但需要事先声明函数原型,这就是头文件的作用 luoxu.h funtions.c test.c 函数的入口 3、函数参数的值传递 局部变量是为块语 阅读全文
posted @ 2019-07-28 19:55 Coding_Changes_LIfe 阅读(182) 评论(0) 推荐(0) 编辑
摘要: #include #include void numReverse(int num); void numReverseWithoutArr(int num); void main(){ numReverse(123459); getchar(); } void shuiXian(){ //求水仙花数(一个三位数,其各位数字的立方和等于该数本身) int num, f, s, t;... 阅读全文
posted @ 2019-07-28 12:18 Coding_Changes_LIfe 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 除非跳出多个循环嵌套和远程注入技术,否则尽量少用goto goto会降低程序的可读性,让代码难以调试 利用递归也可以实现循环结构和do while类似 阅读全文
posted @ 2019-07-28 09:22 Coding_Changes_LIfe 阅读(269) 评论(0) 推荐(0) 编辑
摘要: ifselse #include<stdio.h> void main(){ if(0) if(0); else ; else; //等价于 if(0) if(0); else ; else; if(0);else ; //是一个整体 while(1); //while 括号后有分号就说明while 阅读全文
posted @ 2019-07-27 17:29 Coding_Changes_LIfe 阅读(281) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页