首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
# include<stdio.h>
# include<math.h>
main (void)
float x,y;
{scanf("%f%f",&x,&y);
if (x<=1)
 y=exp()+1;
 else if (x>1&&5<=x)
 y=-4*x+5;
 else if (x>5&&10<=x)
 y=2*x-1;

......................
阅读全部 | 刘仁绿 贴于 2013年4月6日 18:42     hide bbsi
#include"stdio.h"
void main()
{
int i,ch,a[8];
for(i=0;i<8;i++)
a[i]=0;
while((ch=getchar())!='\n')
if(ch>='0' && ch<='7')
a[ch-'0']++;
for(i=0;i<8;i+=2)
printf("a[%d]=%d\n",i,a[i]);
}
......................
阅读全部 | 独占天下 贴于 2013年4月5日 20:57     hide bbsi
#include <stdio.h>
int main()
{
  int a,b,c,d,e;
  e=(a+b+c+d)/4;
  scanf("%d%d%d%d\n",&a,&b,&c,&d);
  printf("%f\n",e);
  return 0;



}
......................
阅读全部 | guoq416 贴于 2013年4月5日 18:12     hide bbsi
/*我编写了个程序,源代码如下:*/
#include <stdio.h>
#define SIZE 2
struct Student_type
{
   char name[10];
   int num;
   int age;
   char addr[15]; } stud[SIZE];
void save()
{
   FILE *fp;
......................
阅读全部 | guoq416 贴于 2013年4月5日 18:02     hide bbsi
#include <stdio.h>
   main()
  {
int i=2,j=3,k;
k=i+j;
{
   int k=8;
   if(i=3)
       printf(“%d”,k);
   else 
       printf(“%d”,j);
}
......................
阅读全部 | guoq416 贴于 2013年4月5日 17:53     hide bbsi
#include<iostream>
using namespace std;
int f(int x,int y);
int main()
{   
 cout<<f(2,3);
 system("pause");
 return 0;
}
int f(int x,int y)
{
    if(x==1 && y==1) return 1;
......................
阅读全部 | qunxingw 贴于 2013年4月5日 12:01     hide bbsi
#include<stdio.h>
void main()
{
const char * p="ssss";
char * q=0;
q=p;
ptintf(" %s",q);

}
阅读全部 | haoyasen 贴于 2013年4月4日 08:39     hide bbsi
#include <stdio.h>
   main()
  {
int i=2,j=3,k;
k=i+j;
{
   int k=8;
   if(i=3)
       printf(“%d”,k);
   else 
       printf(“%d”,j);
}
......................
阅读全部 | 蛋蛋1991 贴于 2013年4月4日 07:37     hide bbsi
老毛桃一键还原,安全高效 稳定可靠 全面兼容WINDOWS系统。本程序基于Ghost(v11.02)内核,具有良好的安全和稳定性,真正达到快速备份还原;全面支持和兼容32位和64位的Windows等主流操作系统平台,支持最新的Windows7操作系统,Vista、XP、2000、2003等更不在话下;支持备份还原隐藏分区,大大降低被误删除或被破坏的可能性,使您无后顾之忧。
http://www.laomaotao.net/?B2963
阅读全部 | 马柯 贴于 2013年4月3日 19:05     hide bbsi
/*我编写了个程序,源代码如下:*/
#include <stdio.h>
#define SIZE 2
struct Student_type
{
   char name[10];
   int num;
   int age;
   char addr[15]; } stud[SIZE];
void save()
{
   FILE *fp;
......................
阅读全部 | RebelRebel 贴于 2013年4月3日 17:33     hide bbsi
上一页 261 262 263 264 265 266 267 268 269 270 下一页