首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
#include<stdio.h>
int main()
{ int *p1,*p2,*p,a,b;
  scanf("%d,%d",&a,&b);
  p1=&a;p2=&b;
  if(a<b)
  {p=p1;p1=p2;p2=p;}
  printf("\na=%d,b=%d\n",a,b);
    printf("max=%d,min=%d\n",*p1, *p2);

}
阅读全部 | 上理大好人 贴于 2012年12月23日 16:06     hide bbsi
#include<stdio.h>
#include<math.h>
const int N=40;
int main(void)
{
    int x,y;
    for(x=0;x<N;x++)
    {
        for(y=0;y<N;y++)
        {
            if((x==y)||(x+y==(N-1))||(x==0)||(x==(N-1))||(y==0)||(y==(N-1))) printf("*");
            else printf(" ");
......................
阅读全部 | wp231957 贴于 2012年12月23日 07:42     hide bbsi
Public Class Form1
    Dim t%
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        t = Val(InputBox("输入分钟")) * 60
        ProgressBar1.Minimum = 0
        ProgressBar1.Maximum = t
        ProgressBar1.Value = t
        Timer1.Interval = 1000
        Timer1.Enabled = False

    End Sub

......................
阅读全部 | 奋斗的小石头 贴于 2012年12月22日 19:30     hide bbsi
flnsnr(mark,lnsnr,G15471SE);

    uuoouu(tex);//这个函数没有任何作用  却影响结果
    for(int i=0;i<100;i++)
    {
    
            cout<<mark[i]<<"     ";//这里非常非常的奇怪,,当将这个输出函数注释,结果跟不注释掉是不一样的
    }    

    double cc;
    
    
......................
阅读全部 | zjmidas 贴于 2012年12月21日 19:17     hide bbsi
flnsnr(mark,lnsnr,G15471SE);

    uuoouu(tex);//这个函数没有任何作用  却影响结果
    for(int i=0;i<100;i++)
    {
    
            cout<<mark[i]<<"     ";//这里非常非常的奇怪,,当将这个输出函数注释,结果跟不注释掉是不一样的
    }    

    double cc;
    
    
......................
阅读全部 | zjmidas 贴于 2012年12月21日 19:15     hide bbsi
如何从sql中导出二进制照片
阅读全部 | wc_jcz 贴于 2012年12月21日 14:33     hide bbsi
#include <stdio.h>
#include <string.h>

const int MAX=256;

//应用指针统计一个字符串中有多少个单词
int main()
{
    char* nums[]={ "one" , "two"   , "tree"  , "four" , "five"\
                 , "six" , "seven" , "eight" , "nine" , "ten" };
    char word[MAX]={'\0'};
    char* test="This is a test number of words in the sentences.";
......................
阅读全部 | wp231957 贴于 2012年12月20日 20:48     hide bbsi
#include<stdio.h>

#define MATITL 40
#define MAAUTL 40
#define MABK 3

struct book{
    char title[MATITL];
    char author[MAAUTL];
    float value;
};
void print1(struct book guan[],int n);
......................
阅读全部 | ljx8268771 贴于 2012年12月20日 20:39     hide bbsi
#include<stdio.h>

#define MATITL 40
#define MAAUTL 40
#define MABK 3

struct book{
    char title[MATITL];
    char author[MAAUTL];
    float value;
};
void print1(struct book guan[],int n);
......................
阅读全部 | ljx8268771 贴于 2012年12月20日 20:39     hide bbsi
import java.util.Scanner;


public class MyBank {

    private double money = 0;
    
    
    
    public boolean Savemoney(double savemoney){//存款
        if(savemoney>=0){
            this.money+=savemoney;
......................
阅读全部 | huangzongt 贴于 2012年12月20日 18:33     hide bbsi
上一页 275 276 277 278 279 280 281 282 283 284 下一页