首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看C语言
#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<stdlib.h>
int stunum=0; 
struct student 
 {
    int id;
    char name[30];
    int age;  
    char sex[2];
    char birthday[9];
......................
阅读全部 | 云横皓月 贴于 2014年7月8日 10:43     hide bbsi
struct course
{
int num_A;
char name[100];
char nature[20];
int num_B;
int num_C;
int num_D;
int score;
char term[20];
}a;
struct student
......................
阅读全部 | xidada 贴于 2014年7月7日 13:41     hide bbsi
#include<stdio.h>
int main()
{
 printf("            欢迎进入**学生成绩管理系统**!\n");
 
 printf("      ******************************************\n"); 
 printf("            ****   学生成绩管理系统   ****\n");
 printf("      ******************************************\n");
 printf("              **************************\n");
 printf("              **0、课时总数           **\n");
 printf("              **1、工资合计          **\n");
 printf("              **2、按姓名查询         **\n");
......................
阅读全部 | a568184418 贴于 2014年6月28日 16:21     hide bbsi
#include<stdio.h>
int main()
{
 printf("            欢迎进入**学生成绩管理系统**!\n");
 
 printf("      ******************************************\n"); 
 printf("            ****   学生成绩管理系统   ****\n");
 printf("      ******************************************\n");
 printf("              **************************\n");
 printf("              **0、课时总数           **\n");
 printf("              **1、工资合计          **\n");
 printf("              **2、按姓名查询         **\n");
......................
阅读全部 | a568184418 贴于 2014年6月28日 16:20     hide bbsi
#include<studio.h>
main(){

printf(hahahahh);

}
阅读全部 | like330 贴于 2014年6月24日 16:55     hide bbsi
#include <stdio.h>

int main(void)
{
    int a[]={1,3,6,5,8,4};
    int i=0,j=0;
    int temp=0;

    for(j=0;j<6;j++)
    {


......................
阅读全部 | lsj8924 贴于 2014年6月22日 12:20     hide bbsi
<form action="Payment.asp" method="post" name="Inquire" target="_blank" id="Inquire" >
                                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
 
                                    <tr>
                                      <td width="100%" height="5" colspan="3"></td>
                                    </tr>
                                    <tr>
                                      <td colspan="3" ><% call ShowProduct(32) %>

</td>
                                    </tr>
                                  </table>
......................
阅读全部 | aolangtv 贴于 2014年6月17日 10:52     hide bbsi
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <tchar.h>

//ref_start[http://www.w3.org/TR/PNG/]
/* Table of CRCs of all 8-bit messages. */
unsigned long crc_table[256];

/* Flag: has the table been computed? Initially false. */
int crc_table_computed = 0;

/* Make the table for a fast CRC. */
......................
阅读全部 | 日知己所无 贴于 2014年6月15日 07:27     hide bbsi
去掉最后一位 | (101101->10110) | x shr 1
在最后加一个0 | (101101->1011010) | x shl 1
在最后加一个1 | (101101->1011011) | x shl 1+1
把最后一位变成1 | (101100->101101) | x or 1
把最后一位变成0 | (101101->101100) | x or 1-1
最后一位取反 | (101101->101100) | x xor 1
把右数第k位变成1 | (101001->101101,k=3) | x or (1 shl (k-1))
把右数第k位变成0 | (101101->101001,k=3) | x and not (1 shl (k-1))
右数第k位取反 | (101001->101101,k=3) | x xor (1 shl (k-1))
取末三位 | (1101101->101) | x and 7
取末k位 | (1101101->1101,k=5) | x and (1 shl k-1)
取右数第k位 | (1101101->1,k=4) | x shr (k-1) and 1
......................
阅读全部 | wp231957 贴于 2014年6月9日 13:04     hide bbsi
#include <stdio.h>
#include <string.h>

void add(char a[],char b[],char c[])
{
char bas[]={'A','B','C','D','E','F'};
    int flag=0;
    int tmp,tmp2;
int lena=strlen(a)-1;
int lenb=strlen(b)-1;
int lenc=31;
c[lenc]='\0';
......................
阅读全部 | wp231957 贴于 2014年6月2日 15:17     hide bbsi
上一页 116 117 118 119 120 121 122 123 124 125 下一页