首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
如何从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
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>

void foo( int n )
{
    assert( n>0 && n<80 && n%2==1 );
    for( int i=0; i<n; ++i )
    {
        printf( "%*.*s\n", n-abs(i-n/2), n-2*abs(i-n/2), "*******************************************************************************" );
    }
}
......................
阅读全部 | wp231957 贴于 2012年12月20日 15:25     hide bbsi
// yasuo.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include<stdio.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define LEN 40
int main(int argc, char* argv[])
{
    FILE *in,*out;
......................
阅读全部 | dreamfree 贴于 2012年12月20日 12:41     hide bbsi
#include<stdio.h>
#define N 9
int main()
{
    int row=1,col=0;
    int s;
    char ch='a';
    for(row=1;row<=(2*N-1);row++)
    {
        if(row<N)
        {
            for(s=0;s<2*N-row;s++) printf("%2c",0x20);
......................
阅读全部 | wp231957 贴于 2012年12月19日 23:13     hide bbsi
#include<stdio.h>
#define N 5
int main()
{
    int row=0,col=0;
    int s;
    for(row=0;row<=(2*N-1);row++)
    {
        if(row<=N)
        {
            for(s=0;s<2*N-row;s++) printf(" ");
            for(col=2*(N-row);col<2*N-1;col++)
......................
阅读全部 | wp231957 贴于 2012年12月19日 21:25     hide bbsi
#include "stuHead.h"
#define StudentCount 100
/**********************************************
*Function Name:delete
*Description:删除学生信息
*Date:07/11/28
*parameter:stuArray[MAXSIZE]
*Author:Wen He
***********************************************/
void Delete(Student stuArray[])  /*按姓名查找删除*/
{   
    char number[20];
......................
阅读全部 | LiQiuYuan 贴于 2012年12月19日 16:27     hide bbsi
上一页 271 272 273 274 275 276 277 278 279 280 下一页