- 博客(11)
- 问答 (1)
- 收藏
- 关注
原创 static总结
static: 类变量(对象共享)可以用类名,对象名点取,间接使用。 类方法 1)static方法中不能直接使用非静态成员, 因为非静态成员与实例相关,通过对象点取间接使用 2)static方法中不能用this(与实例相关) 3)非static方法中可以使用static成员 ...
2010-08-22 15:53:08 88
原创 日志程序
头文件#ifndef __xlog_h#define __xlog_h#define DEFAULT_CONFIG "."#define PRIORITY_NUM 5#define P_FATAL 1#define P_ERROR 2#define P_WARN 3#define P_INFO 4#define P_DEBUG 5v...
2010-08-06 00:29:10 147
原创 Sort调试通过的
[code="java"]typedef struct _tagStudentInfo{ int ID; char * name; int tel;}StudentInfo,*stu;typedef struct linknode{ int number; struct linknode *pNext;}linknode,*nodetype;[/...
2010-08-04 00:46:17 99
原创 C语言编程练习之单链表基本操作
1.打印链表(PrintList)2.建立链表(CreateList)3.链表末尾插入节点(InsertList)4.链表中删除指定节点(DeleteNode)5.找链表中第一个出现的最小节点(FindMin) #include "stdio.h"typedef struct node{int data;struct node* ...
2010-08-03 01:28:25 334
原创 create and query and delete
create and query and deletecreate and query and deletecreate and query and delete
2010-08-03 00:35:33 131
原创 sort
经典算法--单链表选择排序第一种:#include#includetypedef struct node{int data;struct node *next;}*Linklist,Node;Linklist creat(int n){Linklist head,r,p;int x,i;head=(Node*)malloc(sizeof(Node));r...
2010-08-03 00:14:31 82
原创 create
struct student * create(void){ struct student * head; struct student * p1,* p2; n=0; p1=p2=(struct student *)malloc(LEN);// scanf("%ld,%f",&p1->num,&p1->score); head = NULL; while(p1->...
2010-08-03 00:11:02 101
空空如也
jeecms-2.3.2-final版本请问如何部署到eclipse中?
2009-09-29
TA创建的收藏夹 TA关注的收藏夹
TA关注的人