摘要:
#include<iostream>#include<malloc.h>#include<stdlib.h>#include<stdio.h>using namespace std; typedef struct node{ char data; struct node *prior; struct 阅读全文
摘要:
#include<iostream>#include<malloc.h>#include<string.h>#include<stdio.h>using namespace std;#define maxsize 100typedef struct node{ int data; struct no 阅读全文
摘要:
#include<iostream>#include<malloc.h>#include<string.h>#include<stdio.h>using namespace std;#define maxsize 100typedef struct node{ int data; struct no 阅读全文
摘要:
#include<iostream>#include<malloc.h>#include<string.h>#include<stdio.h>#define max 100using namespace std;typedef struct node{ int data[max]; int len; 阅读全文
摘要:
c盘中program files文件夹中建立一个Java文件夹 设置环境变量在系统变量中JAVA_HOMEC:\Program Files\Java\jdk1.6.0_43 pathC:\Program Files\Java\jdk1.6.0_43\bin主要是找到bin文件地点 classpath 阅读全文
摘要:
import java.util.*;public class c1 { public static void main(String args[]){ cs a=new cs(); //隐式调用 cs b=new cs("hello");//显式调用 c c1=new c("the"); c c2 阅读全文
摘要:
//1.继承时必须先实现父类的函数/*2.一个.java文件中只允许出现一个public class,并且用public修饰的类作为文件的名字,例如A.java中public class A{//do something}class B{//do something}class C{//do som 阅读全文
摘要:
#include<iostream>#include<stdlib.h>#include<malloc.h>#include<stdio.h>#define max 100using namespace std;typedef struct { int stack[max]; int top;}se 阅读全文
摘要:
//尽量多声名几个指针 避免使用到 头节点 还有 /* 第一点 :初始化和建造链表放在一起了 且返回值用linklist类型 第二点:多项式相加是本质是链表的交集 交集需要注意的是(比较指数大小 小的放在新链表上 指针后移 如果那个表空了直接把 剩下的链到新链表) #include<stdio.h> 阅读全文
摘要:
写的非常简单 看看思路就可以 //6 1 2 7 9 3 4 5 10 8#include<stdio.h>int a[100],n;void quick(int l,int r){ int i,j,temp,t; if(l>r) { return; } temp=a[l]; i=l; j=r; w 阅读全文