#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
FileStream fs = new FileStream(ExcelPath, FileMode.Open);
HSSFWorkbook workbook = new HSSFWorkbook(fs);
HSSFSheet currentSheet = (HSSFSheet)workbook.GetSheet("sheet");
HSSFCellStyle style8 = (HSSFCellStyle) workbook.CreateCellStyle();
style8.FillForegroundColor = NPOI.HSSF.Util.HSSFColor.WHITE.index;
style8.FillBackgroundColor = NPOI.HSSF.Util.HSSFColor.RED.index;
HSSFCell cell = new HSSFCell(workbook, currentSheet, 4, (short)(4));
cell.CellStyle = style8;
cell.SetCellValue("123");
fs.close();
阅读全部
|
helen_gqq
贴于 2013年4月3日 13:58
hide
bbsi
# include<stdio.h>
# include<malloc.h>
# include<stdlib.h>
typedef struct SQLIST
{
int * pBase;
int size;
int MAXSIZE;
} L ;
void Init_SqList(L * pList, int maxsize)
......................
阅读全部
|
zxh2013
贴于 2013年4月2日 19:11
hide
bbsi