会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
saintdingtheGreat
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
19
20
21
22
23
24
25
26
27
···
38
下一页
2019年2月2日
windows下查看C语言字符数组(俗称:字符串)在内存中地址信息的操作过程
摘要: 在开发平台vs2013下面,选择调试-》窗口-》内存-》内存1 点击第5行即可显示字符数组str在内存中的地址值
阅读全文
posted @ 2019-02-02 11:19 saintdingtheGreat
阅读(938)
评论(0)
推荐(0)
2019年1月30日
c语言数组那些骚事儿
摘要: 数组的逆序 思想是第一个和最后一个,第二个和倒数第二个 字符串逆序, 目前只能应用于中间带空格的英文字符串
阅读全文
posted @ 2019-01-30 16:16 saintdingtheGreat
阅读(184)
评论(0)
推荐(0)
C的随机数用法
摘要: rand() 指定随机数的生成范围例如生成8以内的随机数 只不过....程序每次运行时都是生成这几个货 #include <stdio.h>#include <stdlib.h>#include <time.h>int main(){ srand((unsigned)time(NULL)); for
阅读全文
posted @ 2019-01-30 14:29 saintdingtheGreat
阅读(156)
评论(0)
推荐(0)
2019年1月29日
C语言字符串函数
摘要: puts() 输出字符串并换行 gets() 获取字符串,可以有空格 scanf 获取输入,由于gets()和scanf()无法获知数组的大小,只有遇到结束符或换行符才终止,不可以有空格,因此可能导致数组越界,所以要加上宏 #define _CRT_SECURE_NO_WARNINGS 要么添加在代
阅读全文
posted @ 2019-01-29 02:06 saintdingtheGreat
阅读(2275)
评论(0)
推荐(0)
2019年1月24日
指针锱铢---指针的声明赋值,野指针的灾难性后果
摘要: #include <stdio.h>int main(){ int a = 10; int *p; p = &a; printf("这就是指针p指向的地址里存的值%d ,说起来容易,用起来准糊涂\r\n", *p); //改了指针指向的地址的内容 *p = 8888; printf("这样一来,a的
阅读全文
posted @ 2019-01-24 01:33 saintdingtheGreat
阅读(395)
评论(0)
推荐(0)
2019年1月14日
mysql视图创建
摘要: create or replace view partner_v as select a.id,vendorname,address,nation,contactperson,tel1,tel2,jylx,partnerlx,d.xian,c.city,b. province from partner_mgnt_md as a join province b join city c j...
阅读全文
posted @ 2019-01-14 09:13 saintdingtheGreat
阅读(158)
评论(0)
推荐(0)
2019年1月13日
一些项目中用到的php函数
摘要: #不为空 if (!empty($_POST)) { } #生成随机数 mt_rand(999,9999)产生999-9999范围间的随机数
阅读全文
posted @ 2019-01-13 06:59 saintdingtheGreat
阅读(117)
评论(0)
推荐(0)
2019年1月9日
jquery easyui datagrid 远程加载数据----把主键渲染为值遇到的问题及解决方案
摘要: 起因:数据库中一些字段存的是代表具体值的数字,需要渲染为具体值 monggodb中的字典 mysql中存放的值为:expertin代表教练擅长的搏击技能 jquery easyui中的相关代码如下:用于加载字典中的数据,注意:这一ajax请求必须设置为同步(async:false),否则,异步操作带
阅读全文
posted @ 2019-01-09 00:59 saintdingtheGreat
阅读(537)
评论(0)
推荐(0)
2019年1月8日
jquery easyui datagrid 远程加载数据----javascript法
摘要: jquery easyui有三种办法生成datagrid(数据网格),本篇专门讨论javascript借助jquey easy ui实现的方式 html部分 javascript代码 后台代码:这里使用了thinkphp框架的链式查询,实际上并不像很多教科书上解释的那样,需要返回json编码后的数据
阅读全文
posted @ 2019-01-08 20:45 saintdingtheGreat
阅读(1255)
评论(0)
推荐(0)
2018年12月28日
thinkphp5杂谈--模板
摘要: 一种新型开源模板 http://www.h-ui.net/H-ui.admin.shtml 下载页面代码 除了curl以外还可以借助 仿站小工具V7.0,操作示意图
阅读全文
posted @ 2018-12-28 17:40 saintdingtheGreat
阅读(146)
评论(0)
推荐(0)
上一页
1
···
19
20
21
22
23
24
25
26
27
···
38
下一页
公告