首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看C语言
#include <stdio.h>
#include <math.h>

int main (void)
{
     int a;
     int b;
     int c;
     float delta;
     float x1,x2;
     scanf ("%d%d%d",&a,&b,&c);

......................
阅读全部 | blza3127672 贴于 2012年7月19日 14:56     hide bbsi
#include "stdafx.h"

#include <conio.h>

int _tmain(int argc, _TCHAR* argv[])
{
    int f,c;
    
    scanf("%d",&f);
        c=(f-32)/1.8;
    printf("摄氏度:%d",c);

......................
阅读全部 | radlorama 贴于 2012年7月18日 16:02     hide bbsi
#include"stdio.h"
#include"math.h"
int main(void)
{
    int n,y;
    double r,s;
    scanf("%d%d%d",&n,&r,&y);
    s=n*pow(1+r,y);
    printf("Y年后的总产值是%f\n",s);
    getchar();
    return 0; 
}
阅读全部 | scott_yun 贴于 2012年7月17日 15:21     hide bbsi
#include <stdio.h>
#include <bios.h>
#include <ctype.h>
#include <conio.h>
#include <dos.h>
#define CROSSRU     0xbf   /*右上角点*/
#define CROSSLU     0xda   /*左上角点*/
#define CROSSLD     0xc0   /*左下角点*/
#define CROSSRD     0xd9   /*右下角点*/
#define CROSSL       0xc3   /*左边*/
#define CROSSR       0xb4   /*右边*/
#define CROSSU       0xc2   /*上边*/
......................
阅读全部 | wzfymm1014 贴于 2012年7月16日 19:30     hide bbsi
求一代码????????
哈希表通讯录
设计基于哈希表的通讯录 1. 实现哈希表从文件中的存取; 2. 提供菜单用户可以根据不同的数据项设定通讯录的键值; 3. 用户数据项包括 姓名,年龄,电话号码,性别,班级      

  注意

;假设文件已知,表长度远远大于数据个数。

键值5个。姓名,年龄,电话号码,性别,班级  ,每个依据不同的建表方法,建立表。

每个键值的表都要用三种方法解决冲突,(意在比较冲突率)

......................
阅读全部 | 杜轩 贴于 2012年7月8日 17:45     hide bbsi
#include "stdafx.h"

#include <conio.h>

int _tmain(int argc, _TCHAR* argv[])
{
    int f,c;
    
    scanf("%d",&f);
        c=(f-32)/1.8;
    printf("摄氏度:%d",c);

......................
阅读全部 | 何以解忧 贴于 2012年7月8日 11:20     hide bbsi
#include <fstream>
#include <iostream>
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<malloc.h>
#include<conio.h>
int id();
void code();
void load();
void enter();
void searchname();
......................
阅读全部 | 兴晴wylen 贴于 2012年7月7日 19:33     hide bbsi
<div id="bottom">
  <div id="bottomContent">
    <script src="http://s4.cnzz.com/stat.php?id=3844991&web_id=3844991&online=1&show=line" language="JavaScript"></script>
<p>技术支持:酒泉在线网络传媒有限公司 电话:0937-2668999</p>
     <div id="bottomMenu">{$=itransfer('new', 'm1', 'topx=10;tnum=30;genre=aboutus;osql= and ab_lng=#' & nlng & '#')}<a href="{$=get_actual_route('support')}/gbook/" target="_self">{$=itake('global.lng_menu.gbook', 'lng')}</a></div>
  </div>
</div>
</body>
</html>
阅读全部 | 夏妍karen 贴于 2012年7月6日 14:46     hide bbsi
/*
 *    video.h
 */

/* current video state/mode information */
extern short Vmode;
extern short Vwidth;
extern short Vpage;

#define MAXVMODE  16

/* video limit tables */
......................
阅读全部 | zhujianlin 贴于 2012年7月3日 15:47     hide bbsi
/*
    exe2com 1.01 - an exe2bin replacement
          by Chris Dunford/The Cove Software Group.
    see exe2com.doc for more info.

    usage: exe2com file [file]
    usage is the same as exe2bin except:
        1. Output defaults to COM rather than BIN
        2. Binary fixup option not supported
        3. Checksum not verified
        4. Provides more useful error messages, and a warning if a
           COM file is being created with initial IP != 0x100.
......................
阅读全部 | zhujianlin 贴于 2012年7月2日 17:17     hide bbsi
上一页 159 160 161 162 163 164 165 166 167 168 下一页