首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
#include<stdio.h>
#include<string.h>
#include<windows.h>
char a[1002],b[1002],c[1002];
int s;
void f()
{int t,a1,b1,sum,y=0,i;
 a1=strlen(a);
 b1=strlen(b);
 t=(a1<=b1)?a1:b1;
 for(i=0;i<t;i++)
 {
......................
阅读全部 | a422880476 贴于 2014年12月22日 15:31     hide bbsi
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace 团团圆圆饭店管理系统
{
......................
阅读全部 | 程序袁 贴于 2014年12月22日 11:13     hide bbsi
#include<stdio.h>
#include<string.h>
int main()
{  int i,sum,count,l,j,p=1;
    char a[101];
 while(gets(a))
 {   sum=0;
       p=1;
       count=0;
 l=strlen(a);
      for(i=0;i<l;i++)
  {      if(p)
......................
阅读全部 | 谭林祥 贴于 2014年12月18日 11:57     hide bbsi
#include<iostream.h>
int main()
{
int m=3,n=4,x;
x=-m++;
x=x+8/++n;
cout<<x;
return 0;
}
阅读全部 | 中工小青年 贴于 2014年12月17日 22:37     hide bbsi
#include<stdio.h>
#include<stdlib.h>

typedef int KeyType;

typedef struct{
KeyType key;
}ElemType;

typedef struct{

ElemType *elem;
......................
阅读全部 | 晨煊 贴于 2014年12月16日 17:31     hide bbsi
sing System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
......................
阅读全部 | TONGG 贴于 2014年12月14日 19:12     hide bbsi
求大神改,能用code.blocks运行就行,作业需要,急!!!
#ifndef H_STUDENT_HH 
#define H_STUDENT_HH 

#include "stdio.h" 
#include "string.h" 
#include "malloc.h" 


#define LEN sizeof(struct message_student) /*一个结构体数组元素的长度*/ 
#define numsubs 5 /*学科数目*/ 
typedef struct message_student /*结构体定义*/ 
......................
阅读全部 | 那时明月 贴于 2014年12月13日 23:33     hide bbsi
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content=" initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<title><#$shopinfo[0]['shopname']#></title>
<link rel="stylesheet" type="text/css" href="<#$Theme['P']['root']#>/tmpl/wifiadv/css/css.css"><!--风格-->
<link rel="stylesheet" type="text/css" href="<#$Theme['P']['root']#>/tmpl/wifiadv/css/media.css"><!--自适应-->
......................
阅读全部 | olsl 贴于 2014年12月13日 21:06     hide bbsi
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content=" initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<title><#$shopinfo[0]['shopname']#></title>
<link rel="stylesheet" type="text/css" href="<#$Theme['P']['root']#>/tmpl/wifiadv/css/css.css"><!--风格-->
<link rel="stylesheet" type="text/css" href="<#$Theme['P']['root']#>/tmpl/wifiadv/css/media.css"><!--自适应-->
......................
阅读全部 | olsl 贴于 2014年12月13日 21:05     hide bbsi
#include <stdio.h>//""它的查找路径是先到本地目录下查找该头文件,如果没有,就到系统目录system32下查找
//<>它的查找路径是先到系统目录下查找,如果没有,就到本地目录下查找


#define student_total 30//预编译指令,定义一个常量值
struct Student//定义学生数据类型(结构体)
{
int num;//学生学号
char name[8];//学生姓名
float normal_score;//平时成绩
float final_score;//期末成绩
float ave_score;//总评成绩=normal_score*normal_i+fianl_score*fianl_i
......................
阅读全部 | bisiqi 贴于 2014年12月12日 11:09     hide bbsi
上一页 208 209 210 211 212 213 214 215 216 217 下一页