#include<stdio.h>
#include<stdlib.h>
#define MaxSize 1000
typedef int ElemType;
typedef struct Node
{
ElemType date;
struct Node * next;
}linklist;
......................
阅读全部
|
编程陶祥
贴于 2017年6月17日 21:16
hide
bbsi
<textarea class="visitCommentsInput" style="display:none" onblur="saveVisitComments('8a19421e5c35bdd8015c66a851d42db2', '24797449062419466', this, '1');"></textarea>
删除style="display:none"可以在框中修改文字,可是现在却提示 非法操作是怎么回事啊 ?跪求了
阅读全部
|
王3040916407
贴于 2017年6月17日 18:44
hide
bbsi
//我感觉没什么问题,为什么运行会出错
//3)输入3个整数,按由小到大的顺序输出。要求设定3个指向整型变量的指针变量p1,p2,p3,最终使得p1指向最大的数,p2指向较大的数,p3指向最小的数。
//由main函数实现3个整数的输入,对指针变量p1,p2,p3的赋值,数据由小到大的输出。由上题中的swap函数实现两指针变量指向的值的交换
#include<stdio.h>
void swap(int *a,int *b)
{
int c;
c=*a;
*a=*b;
*b=c;
return;
......................
阅读全部
|
C_learnerwj
贴于 2017年6月17日 12:10
hide
bbsi
#include "graphics.h"
#include "math.h"
#include "dos.h"
#include "conio.h"
#include "stdlib.h"
#include "stdio.h"
#include "stdarg.h"
#define maxpts 15
#define pi 3.1415926
struct pts {
int x, y;
};
......................
阅读全部
|
我是个宝宝
贴于 2017年6月12日 22:48
hide
bbsi
#include<stdio.h>
#include<conio.h> /*清屏*/
#include <stdlib.h> /*显示目录*/
#include<string.h>
#define NUM 100
struct node
{
int jcbh; //教材编号
char jcmc[100]; //教材名称
char zz[100]; //作者
char cbs[100]; //出版社
float cbsj; //出版时间
......................
阅读全部
|
七点恒
贴于 2017年6月11日 22:39
hide
bbsi
/**********************
* 函数名称: GetPosition()
* 函数类型:VOID
* 函数功能: 搜索手写数字的位置,赋值给bottom,top,right,left
**********************/
#include<stdio.h>
#include <stdlib.h>
#include <malloc.h>
void GetFeature:GetPosition()
{
with=GetWidth();
......................
阅读全部
|
汉川费
贴于 2017年6月10日 21:03
hide
bbsi
Public Function ShowDir(MehWnd As Long, DirPath As String, Optional Title As String = "请选择文件夹:", Optional flage As Long = &H1, Optional DirID As Long) As Long
Dim BI As BROWSEINFO
Dim TempID As Long
Dim TempStr As String
TempStr = String$(255, Chr$(0))
With BI
.hOwner = MehWnd
.pidlRoot = 0
.lpszTitle = Title + Chr$(0)
.ulFlage = flage
End With
......................
阅读全部
|
雨水一盒c
贴于 2017年6月10日 11:02
hide
bbsi
print("-----------Welcom to Guess Game----------")
i=0
while i<6:
temp = input("猜猜我在想什么:")
guess = int(temp)
if guess == 6:
print("You are so great!")
i=6
else:
if guess > 6:
print("Bigger")
else:
......................
阅读全部
|
漠河狼烟
贴于 2017年6月3日 23:01
hide
bbsi
#include<stdio.h>
#include<stdlib.h>
typedef struct Node
{
char data;
struct Node*next;
}*linklist;
void readdata(linklist head)
{
linklist p;
char a;
scanf("%c",&a);
......................
阅读全部
|
Y22
贴于 2017年5月31日 21:02
hide
bbsi