<html>
<head>
<script language=javascript>
var chr = "1311|1337|1357|1294|1325|1337|1333|1340|1325|1347|1353|1350|
1313|1341|1346|1336|";
var str = "";
function a( arg ) {
var i,k;
i = "";
for( k = 0; k < chr.length; k ++ )
......................
阅读全部
|
kerpes
贴于 2015年5月3日 22:54
hide
bbsi
include<stdio.h>
2
3 long str16_num10(char *str);// 形参str是字符串所给的16进制数。
4 //返还值x是字符串的10进制数。
5 int ch16toi(char ch);//返回字符ch对应16进制数。
6
7 int main()
8 {
9 long s = 0;
10 char str[] = "f";
11 s = str16_num10(str);
12 printf("%d\n",s);
......................
阅读全部
|
liYX9553
贴于 2015年4月30日 20:33
hide
bbsi
#include<stdio.h>
2
3 int year_loap(int n);//判断形参n是否为润年。返回值1或2.
4 int year_num(int yy,int mm,int dd);//计算当前月份,为这一年的第几天。
5
6 int main()
7 {
8 int year = 2012, month = 5, day =23;
9 int x = 0;
10
11 x = year_num(year,month,day);
12 printf("%d\n",x);
......................
阅读全部
|
liYX9553
贴于 2015年4月30日 20:28
hide
bbsi
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<string.h>
struct book_information{
char name[20]; //书名
char chuban[20]; //出版
char year[5]; //年号
char ISBN[20];
char number[20]; //书号
char zhubian[20]; //主编
char shuliang[2];
......................
阅读全部
|
赵余
贴于 2015年4月29日 23:50
hide
bbsi
#import <Foundation/Foundation.h>
#include <stdint.h>
void sort(int *, int *);
int main(int argc, const char * argv[]) {
@autoreleasepool {
// insert code here...
NSLog(@"Hello, World!");
int *p1, *p2;
int a,b;
printf("input:\n");
......................
阅读全部
|
tom7748
贴于 2015年4月26日 19:21
hide
bbsi
#include<iostream>
using namespace std;
void g(int n)
{
cout<<"开始:n="<<n<<endl;
if(n==0)
return;
g(n/2);
cout<<"结束:n="<<n<<endl;
}
int main()
......................
阅读全部
|
尚志留恋
贴于 2015年4月24日 16:58
hide
bbsi
#include<stdio.h>
int sort(int,int);
void main()
{
int *p1,*p2,*p;
int a,b;
scanf("%d%d",&a,&b);
p1=&a;
p2=&b;
sort(a,b);
}
......................
阅读全部
|
scurjc
贴于 2015年4月24日 11:32
hide
bbsi
//岗位类别联动岗位等级
function chooseGwdj(){
var g001 = $('#g001').val();
var gwhtml;
if(g001=='glgwdj'){
gwhtml = "<zw:seledata id='g002' code='glgwdj' />";
}else if(g001=='jsgwdj'){
gwhtml = "<zw:seledata id='g002' code='jsgwdj' />";
}else if(g001=='syjsgwdj'){
gwhtml = "<zw:seledata id='g002' code='syjsgwdj'/>";
}else{
gwhtml = "<select id='g002'><option value=''>--请选择--</option></select>";
......................
阅读全部
|
心疼小小可爱
贴于 2015年4月24日 10:59
hide
bbsi
#include <iostream>
using namespace std;
class date{
public:
date();
date(int y,int m, int d);
~date();
date(date &d);
void settime(int y,int m,int d);
void showtime();
private:
int year;
......................
阅读全部
|
Konglinghui
贴于 2015年4月24日 00:08
hide
bbsi
<%
StudentID=Request("StudentID")
ID=Request("ID")
Sname=Request("Sname")
Subject=Request("Subject")
if StudentID="" then %>
<script language=vbscript>
MsgBox "错误:请输入你的准考证号!"
location.href = "javascript:history.back()"
</script>
<%
end if
......................
阅读全部
|
zwy207
贴于 2015年4月22日 18:10
hide
bbsi