首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴gougoudan的代码贴全部
#include <stdio.h>
#include <stdlib.h>
struct node
{
    int data;
    struct node *next;
};
int main(int data[], int n)
{
    struct node * tmp;
    struct node * header = 0;
    if (data == 0) { printf("error"); return 0; }
......................
阅读全部 | 2020年5月18日 23:20
#include <stdio.h>
#include <stdlib.h>


/* 节点*/
struct node
{
    int data;
    struct node *next;
};

typedef node* List;
......................
阅读全部 | 2020年5月18日 21:56
#include <stdio.h>

/* 节点*/
struct LNode
{
    int data;
    struct LNode *next;
};

/* 判断两个单链表是否交叉*/
bool JudgeTwoListCrossd(List l1, List l2)
{
......................
阅读全部 | 2020年5月18日 21:48
#include <stdio.h>
#include <stdlib.h>


/* 节点*/
struct LNode
{
    int data;
    struct LNode *next;
};

typedef LNode* List;
......................
阅读全部 | 2020年5月18日 21:45
/* 节点*/
struct LNode
{
    int data;
    struct LNode *next;
};

typedef LNode* List;
int main(int arr[], int n)
{
    /* 初始化头指针*/
    struct LNode * h = NULL;
......................
阅读全部 | 2020年5月18日 21:41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace work2
{
    class Program
    {
        static void Main(string[] args)
        {
......................
阅读全部 | 2020年5月18日 17:35
#include <stdio.h>
//字符串连接函数
void strContact(char *result, const char *str1, const char *str2)
{
    int i, j;
    for (i = 0; str1[i]; i++){
        result[i] = str1[i];
    }
    for (j = 0; str2[j]; j++){
        result[i + j] = str2[j];
    }
    result[i + j] = 0;
......................
阅读全部 | 2020年5月17日 14:38
#include<iostream>
#include<iomanip>
#include<string>
#include<stdlib.h>

using namespace std;
struct student
{
    char xuehao[10];//学号
    char name[10];//姓名
    char sex[5];//性别
    char jiguan[10];//籍贯
......................
阅读全部 | 2020年5月17日 13:39
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

/*** function declare ***/
void showSignal(double *arr, unsigned int count);
double* signal1(unsigned int* count);
double* signal2(unsigned int* count);
double* signal3(unsigned int* count);

double* (*fnTbl[4])(unsigned int*) = { signal1, signal2,signal3, };

......................
阅读全部 | 2020年5月16日 22:44
上一页 3 4 5 6 7 8 9 10 11 12
gougoudan