// Singly Linked List #include #include int in; //node 구조체정의 struct node { int data; struct node *next; }; struct node* head = 0; //sLL에 추가하는함수 void addToSLL(int data) { struct node *cur; cur = (struct node*)malloc(sizeof(struct node)); cur->data = data; cur->next = 0; //1.SLL이 empty if (head == 0) { head = cur; return; } //2 else //2.1끝을찾자 //2.2끝에 붙이자 { struct node* lastnode = head; while (last..
// Singly Linked List #include #include int in; //node 구조체정의 struct node { int data; struct node *next; }; struct node* head = 0; //sLL에 추가하는함수 void addToSLL(int data) { struct node *cur; cur = (struct node*)malloc(sizeof(struct node)); cur->data = data; cur->next = 0; //1.SLL이 empty if (head == 0) { head = cur; return; } //2 else //2.1끝을찾자 //2.2끝에 붙이자 { struct node* lastnode = head; while (last..
#include #include int in; //node 구조체정의 struct node { int data; struct node *next; }; struct node* head = 0; //sLL에 추가하는함수 void addToSLL(int data) { struct node *cur; cur = (struct node*)malloc(sizeof(struct node)); cur->data = data; cur->next = 0; //1.SLL이 empty if (head == 0) { head = cur; return; } //2 else //2.1끝을찾자 //2.2끝에 붙이자 { struct node* lastnode = head; while (lastnode->next != 0) { las..
#include #include //node 구조체정의 struct node { int data; struct node *next; }; struct node* head = 0; //sLL에 추가하는함수 void addToSLL(int data) { struct node *cur; cur = (struct node*)malloc(sizeof(struct node)); cur->data = data; cur->next = 0; //1.SLL이 empty if (head == 0) { head = cur; return; } //2 else //2.1끝을찾자 //2.2끝에 붙이자 { struct node* lastnode = head; while (lastnode->next != 0) { lastnode = ..
#include #include struct node { int data; struct node *next; }; struct node *head; void addToSLL(int n) { struct node *cur; cur = (struct node *)malloc(sizeof(struct node)); cur->data = n; cur->next = 0; if (head == 0) { head = cur; return; } else { struct node *temp = head; while (temp->next != 0) { temp = temp->next; } temp->next = cur; return; } } void showSLL() { struct node *cur = head; whi..
sqlplus에서 백스페이스키가 제대로 작동이 되지 않아 난해한 경우가 있었다. 오타가 나올때 어쩔줄 몰라 일단 엔터치고 다시 쿼리를 작성한 경우도 있었다. 간단한 방법은 ctrl키를 누른채 백스페이스키를 누르면 제대로 작동을 한다. 이것이 귀찮다면 환경변수에 적용해주는 방법도 있다. AIX인 경우, .profile에, linux환경인 경우 .bash_profile에 동일하게 아래와 같은 커맨드를 기입하면 된다. stty erase "^H" 환경파일 적용하고 sqlplus를 실행하게 되면 정상적으로 백스페이스가 작동되는것을 확인 할수가 있다. 또다른 방법으로는, 현재 세션에서만 적용하고 싶다면 sqlplus 커맨드 창에서 아래와 같은 커맨드를 입력하면 된다. SQL> host stty erase ^H
1. 사이트 현상 1) 개발기로그엔 SQL_LOG가 보이지만 테스트기에는 SQL_LOG가 보이지 않음. 2) PFM_SVC테이블의 설정 값이 개발기와 테스트기가 다릅니다. 2.테스트기에서도 PFM_SVC테이블의 컬럼 값을 조정하여 각 서비스의 로그레벨을 조절 할 수 있습니다. 3. 서비스 로그레벨 수정 방법 1) PFM_SVC테이블 수정 LOG_TYPE == > EWITD AP_LOG_PROCESS == > 9 TRACE_LOG_LEVEL ==> AL DEBUG_LOG_LEVEL ==> AL 2) tcache 재생성 pfmtcacheadmin -i PFM_SVC