레포트 (56)
문제. 3장(배열)에서의 다항식 프로그램을 Header node가 있는 단순연결리스트 자료구조를 이용하여 다시 작성하라.< 프로그램소스 >class ListNode double coef;int exp;ListNode link;public ListNode() coef = 0;exp = 0;link = null;public ListNode(double coef, int exp) this.coef = coef;this.exp = exp;link = null;// Polynomial은 높은 차
5페이지 | 1,000원 | 2007.01.21
import java.util.*;class Mainpublic static void main(String args)String name;String phone;String address;String newName;int sel;LinkedList n1 = new LinkedList();while(true)System.out.println(1. 추가);System.out.println(2. 검색);System.out.println(3. 삭제);System.out.println(4. 오른쪽에 추가);System.out.println(5. 왼쪽에 추가);System.out.pri
8페이지 | 1,000원 | 2011.10.30
#include #include #include #define ISFULL(ptr) (!(ptr))#define COMPARE(x,y) (((x)
14페이지 | 2,000원 | 2011.10.30
리스트의 마지막 노드로 감node *temp = new node;last->next = temp;temp->input();temp->next = NULL;break;case 2: int answerDel;node *temp=head;for (int indexNode=1; temp->next!=NULL; temp=temp->next, indexNode++); //노드갯수 헤아림cout > answerDel;if (answerDel!=1&&answerDel!=indexNode) node *preNode = hea
5페이지 | 700원 | 2007.06.07
[프로그래밍] [C언어]링크드리스트를 이용한 희소행렬 곱셈 프로그램
리스트의 노드를 생성하는 함수headnode *initsparsearray(int n, int m); // 헤드노드를 생성하는 함수nodeptr MakeSparseMatrix(headnode *s, nodeptr currentnode, int r, int c, float v); // 희소행렬의 원소를 리스트에 삽입하는 함수void DeleteMatrix(headnode *t); // 희소행렬 리스트를 삭제하는 함수int main()int check;printf(array.dat로
5페이지 | 1,000원 | 2007.04.29
[컴푸터공학]자료구조의 링크드 리스트를 이용한 명함관리 프로그램
리스트 동적 매모리 할당if((*sp)!=NULL && (*lp)NULL)*lp=*sp;if(newptr!=NULL)strcpy(newptr->pnum,num);strcpy(newptr->pname,name);strcpy(newptr->ppay,pay);strcpy(newptr->pduty,duty);strcpy(newptr->ppost,post);newptr->next=NULL;newptr->back=NULL;preptr=NULL;curptr=*sp;while(curptr!=NULL && atoi(num)>atoi(curptr->pnum))preptr=curptr;curptr=curptr->next;if(curp
20페이지 | 2,000원 | 2005.03.15
링크드리스트 구현, 화일처리) //// 담당교수 : 소 수 환 교수님 //// /////////////////////////////////////////////////////////////#include #include #include #include #include using namespace std;class Linkprivate:char *name;char *address;char *phone;char *birth;char *memo;Link *next;static Link* head;static int
15페이지 | 2,500원 | 2005.09.28
링크드리스트를 이용한 스택과 큐의 구현 //// 담당교수 : 우 진 운 교수님 ////////////////////////////////////////////////////////////////////////////////////////////// sqlist.cpp///////////////////////////////#include #include #include Queue.h#include Stack.hvoid main()int menu1, menu2;//메뉴변수char buffer10;//메뉴변수Sta
6페이지 | 1,500원 | 2005.09.28
링크드 리스트를 이용한 다항식 덧셈 ** \n);polypointer a, b, d; //a, b, d의 다항식 포인터 생성printf( A node 의);a=creatnode(); //a 다항식 생성printf(\n B 다항식 =);b=creatnode(); //b 다항식 생성d=padd(a,b); //a + b 하여 d 다항식 생성printf(\n\n A 다항식 = );printpoly(a); //다항식들 출력printf(\n B 다항식 =);printpoly
5페이지 | 400원 | 2004.03.24
/**************************//*double linked list program*//**************************/#include struct list int value;struct list *before;struct list *next;;struct list *last,*start;void input();void delete();void display();void wait();main()int get;start = last = NULL;for(;;) clrscr();printf(\n\n Double Linked List \n);printf(\n 1.data insert\n 2.data delete)
3페이지 | 0원 | 2004.05.19
- %EC%82%AC%ED%9A%8C%EB%B3%B5%EC%A7%80%EC%82%AC%EC%9D%98 %EC%9C%A4%EB%A6%AC%EA%B0%95%EB%A0%B9%EA%B3%BC %EB%85%B8%EC%9D%B8%
- ADHD 간호진단 ADHD 간호과정
- Hayt의 전자기학 9판 - 2장 연습문제 솔로션 Engineering electromagnetics 9th - chapter 2
- Hayt의 전자기학 9판 - 3장 연습문제 솔로션 Engineering electromagnetics 9th - chapter 3
- W 緬甸賭場 lcsnc.com media js netsoltrademark.php?d=www.fabtemplatez.com
- 논설문 예시
- 신약성경의 구조를 HEP의 관점
- 최근 5년 내에 직면했던 삶의 어려움이 무엇이었으며 그것을 어떻게 극복하였는지 기술하시오
- 최신통신이론 연습문제
- 해부생리학 기출문제