首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
#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
int su=0;

void resvnum(int k)
{
if(k==0) return ;
int n=k % 10;
k/=10;
su=su*10+n;
resvnum(k);
}
阅读全部 | wp231957 贴于 2015年4月22日 10:03     hide bbsi
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>动漫style</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta charset="utf-8">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="<?php echo site_url('assets/front/http://www.tonytheme.com/buyshop-html/favicon.png');?>">
    <link href="<?php echo site_url('assets/front/css/reset.css');?>" rel="stylesheet">
    <link href="<?php echo site_url('assets/front/css/bootstrap.css');?>" rel="stylesheet">
......................
阅读全部 | 刘笑笑 贴于 2015年4月21日 22:45     hide bbsi
上一页 200 201 202 203 204 205 206 207 208 209 下一页