#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
int main()
{
char c[]="1234567";
char tmp[100]={"\0"};
int clen=strlen(c);
int n=3;
int n2=n;
int n3=n;
int index=0;
......................
阅读全部
|
wp231957
贴于 2013年10月18日 12:51
hide
bbsi
//我的可运行源码,一个字符都没有改。
protected void btnOutput_Click(object sender, EventArgs e)
//这是页面上的导出按钮单击入口。
{
string strFileName = HttpContext.Current.Server.MapPath("../Excels/") + "ExcelOutput";
//本行指定一个服务器上的绝对路径和文件名;
try
{
HttpResponse resp;
resp = HttpContext.Current.Response;
resp.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312");
......................
阅读全部
|
Coker_Ye
贴于 2013年10月17日 16:36
hide
bbsi
#include <stdio.h>
main()
{
int t,a,b,c;
scanf("%d\n",&t);
a=/100;
b=/10%10;
c=%10;
t=a+b+c;
printf("%d"t);
getchar();
}
阅读全部
|
zwz145826800
贴于 2013年10月16日 21:54
hide
bbsi
#include<conio.h>
#include<graphics.h>
#include<time.h>
#include<stdlib.h>
main()
{
int i,j;
int color[7]={0xff6633,0x0000ff,0xff3366,0x33cc7f,0x00ff00,0xff0000,0xffffff};
int cnt1,cnt2;
initgraph(600,480);
......................
阅读全部
|
xp0213
贴于 2013年10月13日 14:43
hide
bbsi
#include <stdio.h>
void fun(int n)
{
int i,j;
long int sum=0,temp;
for(i=1;i<n;i++)
{ temp=0;
for(j=1;j<=i;j++)
temp+=j;
sum+=temp;
......................
阅读全部
|
皖西的神
贴于 2013年10月11日 16:59
hide
bbsi
#include<stdio.h>
int main()
{
int c;
c = getchar();
putchar(c);
return 0;
}
阅读全部
|
小布cc
贴于 2013年10月10日 15:55
hide
bbsi
#include<stdio.h>
#include<string.h>
const int maxn = 3000;
int f[maxn];
int main()
{
int i,j,n;
memset(f,sizeof(f),0);
scanf("%d",&n);
f[0] = 1;
......................
阅读全部
|
邓士林
贴于 2013年10月4日 16:20
hide
bbsi
/*
折半查找
*/
class Demo
{
public static void main(String args[])
{
int arr[]={2,4,7,9,15,37};
int index=halfSearch(arr,15);
......................
阅读全部
|
暗黄的小台灯
贴于 2013年9月28日 08:49
hide
bbsi