会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
can丶
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
下一页
2017年12月4日
标题 index_stu_title.jsp为
摘要: <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><%String path = request.getContextPath();String basePath = request.getScheme()+":/
阅读全文
posted @ 2017-12-04 22:59 can丶
阅读(152)
评论(0)
推荐(0)
2017年12月3日
登录后转入系统主页面,布局如下
摘要: <html> <head> </head> <frameset rows="80,*"> <frame src="index_stu_title.jsp" scrolling="no"> <frameset cols="140,*"> <frame src="index_stu_left.jsp"
阅读全文
posted @ 2017-12-03 22:55 can丶
阅读(439)
评论(0)
推荐(0)
2017年11月29日
判断用户注册的帐号能否注册
摘要: <%@ page language="java" import="java.sql.*" contentType="text/html;charset=utf-8"%> <% String path = request.getContextPath(); String basePath = requ
阅读全文
posted @ 2017-11-29 22:51 can丶
阅读(298)
评论(0)
推荐(0)
2017年11月28日
与mysql,判断能否登录帐号密码,能登录则转向index_stu.jsp
摘要: <%@ page language="java" import="java.sql.*" contentType="text/html;charset=utf-8"%> <% String path = request.getContextPath(); String basePath = requ
阅读全文
posted @ 2017-11-28 22:42 can丶
阅读(538)
评论(0)
推荐(0)
2017年11月27日
用户注册界面
摘要: <%@ page language="java" import="java.util.*" contentType="text/html;charset=utf-8"%> <% String path = request.getContextPath(); String basePath = req
阅读全文
posted @ 2017-11-27 22:10 can丶
阅读(335)
评论(0)
推荐(0)
2017年11月26日
从整数10-55之间,查找能被3整除且有一位上的数值是5的数,把这些数放在b所指的数组中,这些数个个数作为函数值返回,规定函数中a1放个位数,a2放十位数
摘要: #include <stdio.h>int fun( int *b ){ int k,a1,a2,i=0; for(k=10; k<=55; k++) {a2=k/10; a1=k-a2*10; if((k%3==0 && a2==5)||(k%3==0 && a1==5)) { b[i]=k; i
阅读全文
posted @ 2017-11-26 22:27 can丶
阅读(916)
评论(0)
推荐(0)
2017年11月24日
用户登录界面
摘要: <%@ page language="java" import="java.util.*" contentType="text/html;charset=utf-8"%> <html> <head> <title> 用户登录 </title> </head> <body bgcolor="#e3e3
阅读全文
posted @ 2017-11-24 22:58 can丶
阅读(324)
评论(0)
推荐(0)
2017年11月23日
统计长整数n的各位上出现数字1、2、3的次数,并有全局变量c1、c2、c3返回主函数
摘要: #include <stdio.h>int c1,c2,c3;void fun(long n){ c1=c2=c3=0; while(n) { switch(n%10) { case 1: c1++;break; case 2: c2++;break; case 3: c3++; } n/=10;
阅读全文
posted @ 2017-11-23 21:12 can丶
阅读(2318)
评论(0)
推荐(0)
2017年11月22日
计算并输出high以内最大的十个素数的和。high的值由主函数传给fun函数
摘要: #include <stdio.h>#include <math.h> int fun( int high ){ int sum = 0, n=0, j, yes;while ((high>=2) && (n<10) { yes = 1; for (j=2; j<=high/2; j++ ) if
阅读全文
posted @ 2017-11-22 22:59 can丶
阅读(3893)
评论(0)
推荐(0)
2017年11月20日
函数FUN功能,计算n的5次方的值(规定N的值大于2且小于8),通过形参指针传回主函数,并计算该值的个位、十位、百位上数字之和作为函数值返回,例如7的5次方是16807后三位和为15
摘要: #include <stdio.h>#include <math.h>int fun(int n,int *value){ int d,s,i;d=1;s=0; for(i=1;i<=5;i++) d=d*n; *value=d; for(i=1;i<=3;i++) { s=s+d%10;d=d/1
阅读全文
posted @ 2017-11-20 22:59 can丶
阅读(1569)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告