*수*
Bronze개인
팔로워0 팔로우
소개
등록된 소개글이 없습니다.
전문분야 등록된 전문분야가 없습니다.
판매자 정보
학교정보
입력된 정보가 없습니다.
직장정보
입력된 정보가 없습니다.
자격증
  • 입력된 정보가 없습니다.
판매지수
전체자료 11
검색어 입력폼
  • Thomas hardy - Twentieth century British Poetry
    ≪ Twentieth century British Poetry ≫Thomas hardyAt first let's summarize his life by year.Thomas hardy born in a cottage in Higher Bockhampton, Dorset, near the regional market town of Dorchester on 2 June 1840. He begins school in stinsford in 1848. Continues schooling in Dorchester in 1850~1856. Articled to Dorchester architect John Hichs, Hardy later becomes his assistant inkdrm 1856~1860. Meets and begins friendship with Horace Moule, son of Henry Moule, vicar of Fordington . Moule becomes hardy's intellectual mentor, and encourages his study of Latin and Greek in 1857. Moves to London to work for architect Arthur Blomfield in 1862. Hardy's first publication, "How I Built Myself a House", appears in Chambers's Journal. Begins to write poetry in 1865. Returns to Dorset and works of Hicks on church restoration in 1867. Completes his first novel, Thor Poor Man and the Lady, and submits it to Alexander Macmillan. Novel is rejected by Macmillan, who suggests that Hardy try Chapman and Hrialized in Good Words and Dermorest's Monthly Magazine, published in three volumes by Smith, Elder. Hardy becomes seriously ill and dictates serial version of A Laodicean to Emma from his bed in 1880. A Laodicean, previously serialized in Harper's New Monthly Magazine, published in New York by Harper and Brothers. The Hardy's return to Dorset in 1881. Two on a Tower, previously serialized in the Atlantic Monthly, published in three volumes by Sampson Low in 1882. "The Dorsetshire Labourer" published in Longman's Magazine in 1883. The Hardy's move into Max Gate, a house on the outskirts of Dorchester designed by Hardy and built by his brother in 1885. The Mayor of Casterbridge, previously serialized in the Graphic and Harper's Weekly, published in two volumes by Smith, Elder in 1886. The Woodlanders, previously serialized in Macmillan's Magazine and Harper's Bazar, published in three volumes by Macmillan and Company in 1887. Wessex Tales, Hardy's first collection of short stories, publnumber of poems in response to the outbreak of the Boer War in 1899. Poems of the Past and the Present published by Harper and Brothers in 1901. Macmillan becomes Hardy's sole publisher in 1902. Hardy's mother dies in 1904. Hardy meets Florence Emily Dugdale, his future second wife. She becomes his secretary. Hardy receives an honorary degree from the University of Aberdeen in 1905. Time's Laughingstocks, and Other verses in 1909. Hardy is awarded the Order of Merit, having previously a knighthood. Receives the Freedom of the Borough of Dorchester in 1910. Emma Hardy suddenly dies, leading to feelings of intense remorse in Hardy. Macmillan begins publishing the "Wessex Edition", a collected edition of Hardy's novels and poetry revised by him. Hardy receives the Gold Medal of the Royal Society of Literature in 1912. A changed Man and Other Tales. Hardy receives an honourary degree from Cambridge University, and accepts an honourary fellowship of Magdalene College, Cambridge in 1913. Harhis poem. Did logical access through God of the religion of Christ and used archaism. It reflects Stoicism and Pessimism herself. However That overlie as can know, poet than to express badly, blind God of destiny is speaking that give together blessing and pain. Just, it is chance that do, Is blest? or Do you suffer?He seeks subject such as novel in poem. Describe human's loss feeling, sorrow, discouragement, remorse sternly by temperate emotion. He drew human's appearance not merciful, justice necessarily force of God but is dominated force of chance fate.Next poem is "The Convergence of the Twain" - Lines on the loss of the "Titanic. This poem has made of Titanic's sinking that human's vanity make. Poet expressed as "Twins" iceberg that take along by sinking. First, if examine to poem's 5 lines, did not appear in movie but poet imagined and express the back story. "grotesque, slimed, dumb, indifferent, black, blind....."Etc, Own negative emotion is revealed well to face. Let's examint sometime. Therefore, speaker wishes to speak so, "Even if you and my one are trivial and insignificant work, it is important thing all". This poem is delivering that nature visits own street in spite of greate sudden change that human causes. History last present called the first World War is hinted in title. It is three picture that radiate instantaneously like candid that act important role in this poem. That is, farmer who plow by not strong enough action with horse and only thin smoke without flame from the heaps of couch-grass and love image of young lovers of pair that whisper be. Images of labor and love which form background contain genuine history which is not recorded in chronicle is more important and permanent than downfall of king's direct rule or disastrous scene of war that appear on poem's whole surface. Farmer and horse reclaim field's clay dozing half ahead of sowing, and insignificant weeds heap takes and dilute black term without flames. Even if huge empire falls 철수
    인문/어학| 2012.10.15| 5페이지| 2,000원| 조회(144)
    미리보기
  • Design Document For EDMS (EDMS에 관한 이해)
    Design Document For< EDMS >>1. EDMS의 생명주기1.1 생성 : 워드프로세서, 스프레드시트, 웹 문서 편집기 등 전자문서 생성기 및 그룹웨어를 이용한 자료 생성, 스캐너를 이용한 종이 및 도면 등의 이미지 문서 생성, 그리고 레코드 형태의 컴퓨터출력물 등이 모두 포함된다.1.2 등록 : 생성된 문서는 그룹웨어나 Workflow 시스템을 통하여 승인 및 유통 과정을 거치거나, 텍스트, 이미지, 컴퓨터출력물 등의 문서 형태에 따라 직접 EDM, Imaging, COLD 시스템에 등록되어 관리가 이루어진다.1.3 승인 및 유통 : 승인 과정은 그룹웨어의 전자결재나 정형화된 업무 중심의 워크플로우 시스템을 이용하며, 생성 또는 등록된 자료를 그룹웨어 등 협업(Collaboration) 도구와 결합하여, 전자우편, 전자게시판에 의해 유통함으로써 공유될 수 있다.1.4 저장 : 문서의 저장은 문서를 등록하거나, 승인 및 유통 과정에서 결재가 완료된 문서가 EDMS로 이관될 때 이루어진다. 문서의 본문은 EDMS 저장장치에, 문서의 등록정보(속성)는 DBMS에 저장된다. 저장된 문서 중 보관기관이 경과된 문서는 자동적으로 보관매체에 이관된 후, 폐기된다.1.5 검색 : 저장장치에 저장되어 있는 문서는 편리한 방식에 의해 검색되어 문서의 공유가 가능하고, 검색된 문서는 필요에 따라 문서생성 과정에 재활용될 수 있다.1.6 보존 및 폐기 : 문서관리 규정에 의해 보관 단계 이후, CD/MOD/WORM/DVD 등 보관매체로의 영구보존이 가능하다.< 그림 1-1 > EDMS 와 문서 생명주기와의 관계1.7 문서 등록 플로우< 그림 1-2 > 문서 등록 플로우▣문서 생성일 자동 부여▣문서 생성자 자동 부여▣사용권한 지정▣문서에 대한 설명 부여▣문서 보존기간 설정1.8 문서의 승인 및 유통과 그룹웨어와의 연동- 그룹웨어란?구내정보통신망(LAN)등으로 연결된 컴퓨터로 공동의 업무를 수행하는 구성원들이 원할하게 정보를 공유할 수 있도록 하고 신속하고 정확하게 의사 결정을 내릴 수 있도록 지원함으로써 공동으로 수행하는 업무의 생산성을 높이기 위한 소프트웨어. (EX. 전자결재, 전자우편, 전자게시판 등 일반적으로 회사직원들이 회사 홈페이지 같은 사이트 외부인이 사용하지 못하는 사원ID로 접속이 가능한 회사프로그램)- EDMS 와의 연관관계EDMS는 문서와 자료를 생성, 처리하거나 보관중인 조직내의 기존 정보시스템들과 밀접한 연관관계를 가지며 특히, 그룹웨어(Group Ware)와는 상호 보완적인 관계를 가진다. 또한 지식관리시스템을 구축하는 경우 그 핵심 인프라를 담당한다고 할 수 있다. 그룹웨어 시스템은 EDMS에서 문서의 보관, 검색, 활용을 주로 담당한다. 따라서 그룹웨어와 EDMS는 통합적이고 체계적인 문서관리를 위한 상호 보완적인 관계를 가진다. 따라서 EDMS와 그룹웨어는 연동되는 것이 바람직하다.< 그림 1-2 > EDMS와 그룹웨어 및 인터넷 서비스와의 관계1단계 문서유통 시스템이 구축되어 시간이 경과하게 되면, 결재문서의 보관량이늘어나고 시스템의 성능도 저하되며 결재문서에 대한 유실이 우려되기도 하는데, 이런 단계에 이르게 되면 EDMS(전자문서관리시스템)의 도입을 검토하게 된다. 일부 그룹웨어에서 문서관리 기능을 제공하기도 하나, 전문적인 EDMS를 도입하여 문서의 생명주기를 모두 지원할 수 있는 제품을 선정하는 것이 바람직하다.2단계 과정을 통해서 문서관리 시스템을 도입해서 결재문서를 장기간 보관하고 체계적으로 관리하다 보면 EDMS 시스템에 저장된 각종 결재문서나 관련자료를 지식으로 활용하고자 하는 요구사항이 늘어나며, 이와 같이 EDMS에 저장된 문서를 포함한 조직내의 각종 지식과 경험 등을 지식관리시스템으로 발전시키고자 한다.< 그림 1-3 > 전자 문서승인을 위한 간략한 결재 절차2. EDMS 의 핵심기술2.1 EDM (전자 문서 관리: Electronic Document Management)- 목적: 워드프로세서, 스프레드시트, 웹문서 등의 텍스트 기반 문서를 관리하기 위함- 주요기능 eq oac(○,1) 문서 분류: 문서를 효율적으로 등록하고 조회할 수 있도록 체계적인 분류기능 제공◦ 분류 구조 - 문서를 조직의 구조나 문서의 특성에 따라 계층적으로 분류◦ 분류 정보 – 문서가 갖는 속성 정보로써 분류. eq oac(○,2) 반입/반출: 문서의 동시변경에 따른 문서 내용의 무결성을 보장하기 위한 기능 eq oac(○,3) 버전 관리: 시스템에 저장된 문서를 버전별로 관리하여 문서의 변화 과정을 추적하기 위해 사용. 문서전체의 속성뿐만 아니라 독립적인 속성도 같도록 설계되어야 함. eq oac(○,4) 이력 관리: 문서의 사용 내역을 추적 가능하게 하는 기능. eq oac(○,5) 문서 검색: 원하는 문서를 적시에 조회하여 활용하기 위해 여러 가지 방법으로 검색 eq oac(○,6) 보안 관리: 각각의 문서 또는 사용자에 대해 여러 단계의 보안체계를 구축- 기본 모델 eq oac(○,1) 색인 서버: 문서 제목, 작성자, 생성 일자 등 문서를 기술하는 속성정보와 시스템 사용자 보안, 보안 정보 등 시스템을 관리할 목적으로 사용하는 정보들을 저장. 색인 정보는 DBMS 에 저장이 된다. eq oac(○,2) 저장장치서버: 속성 정보는 색인서버에 저장되지만, 문서 그 자체는 저장장치서버에 물리적인 파일로 저장되고 관리. 저장장치서버 모듈을 이용하여, 클라이언트와 서버간의 문서의 작업(문서의 수정 ,삭제 ,이동 ,저장) 이 이루어진다. eq oac(○,3) Web 서버: 웹브라우저를 통해 작업이 가능하도록 해준다. eq oac(○,4) 클라이언트: 윈도우 기반, 웹 기반 클라이언트를 제공.< 그림 1-3 > EDM 시스템 구조도2.2 Imaging (이미지문서 관리)- 목적: 이미지 문서는 종이 문서나 마이크로 필름 등에 저장된 문서를 스캐너 등의 화상입력장치를 통해 디지털화하여 컴퓨터에 저장된 문서인데, 이들을 관리하기 위함.- 기능: EDM 시스템과 기능이 거의 동일하다.- 기본 모델: 이 또한 EDM 시스템과 비슷한 구조를 가진다.2.3 Workflow (워크플로우 기술)(1) 정의: 조직내에서 공통의 업무 목표를 달성하기 위한 구성원들에 의해 순차적으로 혹은 동시적으로 수행되는 업무 프로세스의 흐름을 자동화하여 주는 기술(2) 기능 eq oac(○,1) 자동 작업경로 지정 및 전달 기능- 워크플로우 시스템의 핵심적인 기능으로써 업무 규정에 의해서 작업 경로와 순서를 지정하는 일을 수행한다. 워크플로우 각각의 작업단위가 객체로 정의 되어 있어, 객체를 지정하여 선택함으로써, 연관된 데이터들이 조합되어 올바른 정보가 필요한 때에 필요한 사람이 볼수 있도롣 함 eq oac(○,2) 업무 분배기능- 업무 담당자들간에 처리 작업에 대한 정보와 업무를 신속하게 적절하게 분배시키는 기능 eq oac(○,3) 정보 관리기능- 이 기능은 업무 담당자들에 대한 관리를 위한 것으로서, 작업의 흐름을 파악 할 수 있는 업무 추적 및 감사 이력,통계 기능 등을 제공 eq oac(○,4) 타 시스템 연동 기능- 문서의 교환을 위하여 기존에 사용되고 있는 그룹웨어 및 EDM ,Imaging 시스템등과 연동하여 운용이 가능하도록 함. 기존의 업무처리 절차를 재구축 한다든지, 새로운 처리 절차의 자동화를 위해 시스템을 구현할 때.(3) 기본 모델 eq oac(○,1) Workflow 서버 모듈◦ 프로세스 정의/규칙 DB – 정의된 프로세스를 저장하고 있는 데이터베이스로써 프로세스 정의툴과 엔진간의 인터페이스 담당◦ 워크플로우 처리 엔진 – DB 의 프로세스 정의로부터 프로세스를 실행하고, 활동을 스케쥴링하며, 해당 클라이언트에게 작업 할당◦ 관리/트랜잭션 DB – 클라이언트의 작업결과를 기록 저장하여 향후 작업 통계 및 시스템의 관리를 위한 데이터로서 제공< 그림 1-4 > 워크플로우 시스템 구조도
    공학/기술| 2012.10.15| 8페이지| 1,000원| 조회(133)
    미리보기
  • 한국 호텔(회의,세미나) 소개 (서울,광주,부산) - 영어
    Technical WritingP r o p o s a lContentsIntroduction The body - Conference venue, Accommodation, Transportation, Extra activities 1. Seoul 2. Busan 3. Gwangju RecommendationIntroductionA proposal that you requested us about an international tourism conference A shortlist of 3 cities Information about conference venue, accommodation, transportation and extra activities in Seoul, Busan and GwangjuSeoul1) Conference Venue : 63 City International Conference Venue A place easy of access A symbolic place of economy and various kinds of industries High-tech equipment - 6 languages simultaneous interpretation - 300 inch electromotive screenSeoul2) Accommodation : Lexington Hotel Close to the conference venue Practical room and convenient facilities for businessmen Business services (ex. SOHO meeting room)Seoul3) Transportation 1. 2. 3.Lexington Hotelby limousine bus (about 45 minutes)63 City International Conference VenueKimpho Airport (Seoul)Youinaru StationLexington Hotelby subway (about 30 minutes)by taxi (about 5 minutes)Incheon AirportYouido StationLexington Hotelby limousine bus (about 45minutes)by taxi (about 5 minutes)Seoul4) Extra Activities Youido Park Han River Park A excursion boat in the Han River2. Busan1) Conference Venue : The Nurimaru Located in the Dongbeak island A modern style building The best scenery for the conference room A tourist place for citizens2. Busan2) Accommodation : Western Chosun Hotel The best business hotel Located in the Dongbeak island entrance Move to the Nurimaru easily2. Busan2) Accommodation : Paradise Hotel See the Heaundea beach from every room Beautiful night scene The open spa in Korea for 4 seasons2. Busan Transportationon foot (about 10 minutes)by taxi (about 5 minutes)Kimhae Airport (Busan)by airport limousine (about 50 minutes)Western Chosun HotelWestern Chosun HotelNurimaruKimhae Airport (Busan)by airport limousine (about 40 minutes)Paradise HotelParadise HotelNurimaru2.3.3) Transportation1.4.2. Busan4) Extra Activities BEXCO Aquarium Yonggung Temple Kwanghan Bridge3. Gwangju1) Conference Venue : Kim Dae Jung Convention Center Convenience of movement in the building International image conference institution 8 languages simultaneous interpretation3. Gwangju2) Accommodation : Damyang Tourist Hotel Beautiful nature scenary Broad lawn square Tree garden Banquet hall Seminal hall3. Gwangju3) Transportation 1.Incheon AirportGwangju AirportGimpo Airport (Seoul)Gwangju Airport2.Gwangju AirportDamyang Tourist HotelDamyang Tourist HotelKim Dae Jung Convention Center3.4.by airport limousine(about 1 hour)by domestic airplane (about 50 minutes)by shuttle bus of Hotel (about 30 minutes)by shuttle bus of Hotel (about 30 minutes)3. Gwangju4) Extra Activities 금성산성 Soswaewon The No. 24 State Road Bamboo thicketRecommendationGwangju The most Korean aspects Natural environment which represent Korea Gwangju will be the best suited for your askThank you{nameOfApplication=Show}
    인문/어학| 2011.01.16| 18페이지| 1,000원| 조회(223)
    미리보기
  • [화일처리] C로 짠 2-3-4트리 구현
    Data Structure in C의 교제를 토대로 2-3-4트리를 구현해 보았다insert시 루트에서 내려가면서 4노드가 나올경우 해당하는 split를실행하였고 교재의 내용을 충실히 구현하였다. 트리의 정보는inorder의 순회를 사용하여 구현하였다.#include#include #include #include #include //key 값과 address의 구조체typedef struct element {int key;int address;} e;//링크typedef struct two34 *two34pointer;//2-3-4 노드의 구조체typedef struct two34 {element data_l;element data_m;element data_r;two34pointer left_child;two34pointer left_mid_child;two34pointer right_mid_child;two34pointer right_child;} two34st;//값이 양수임을 두어 초기화하기 위한 값 -1const int initialize= -1;//해당 타입 선언typedef enum { equal,leaf,lchild,lmchild,rmchild,rchild} compare_result;//해당 함수들void new_root ( two34pointer *, element );int node_type ( two34pointer );int compare ( int , two34pointer );int compare_address ( int , two34pointer ,int *);void split_root ( two34pointer *);void split_child_of2 ( two34pointer *, two34pointer *);void split_child_of3 ( two34pointer *, two34pointer *);void put_in ( element , two34pointer *);void insert234 ( two34point(treePointer);printf("Inorder traversal Ended!!!n");}//insert 수행else if(select == 4){printf("Input Key: ");scanf("%d",&value.key);printf("Input Address: ");scanf("%d",&value.address);if(!treePointer){new_root (&treePointer,value);root = treePointer;}elseinsert234(&treePointer,value);printf("Root node is : ( %d %d %d )n",(root->data_l).key,(root->data_m).key,(root->data_r).key);}//트리 정보 출력else if(select ==6){tree_info(treePointer);}//종료else if( select== 7){exit(1);}}}//삽입함수void insert234 ( two34pointer *t, element y ) {two34pointer p,r;//p는 자식 r은 부모노드if ( node_type(*t) == 4 ) { //노드의 갯수가 4개일때 루트 노드 분할split_root(t);}p = *t;r = NULL;//해당 값 대입for (;;) {if ( node_type(p) == 4 ) {//4-노드일때if ( node_type(r) == 2 ) {split_child_of2 ( &p, &r );//2-노드의 자식일때 분할}else {split_child_of3 ( &p, &r );//3-노드의 자식일때 분할}p = r;}r = p ;switch ( compare (y.key,p) ) {case equal : printf("The Key exist!!!n");return;case leaf : put_in(y,&p);return;case lchild : p = p -> left_child;break;case lmchild :p = p -> litialize )return -1;else if ( (node->data_m).key == initialize )return 2;else if ( (node->data_r).key == initialize )return 3;elsereturn 4;}//4-노드일때 루트를 분할한다void split_root ( two34pointer *node ) {two34pointer node1,node2;node1 = (two34pointer) malloc (sizeof(two34));node2 = (two34pointer) malloc (sizeof(two34));node_initialize ( node1 );node_initialize ( node2 );node1->left_child = (*node)->left_child;node1->left_mid_child = (*node)->left_mid_child;node2->left_child = (*node)->right_mid_child;node2->left_mid_child = (*node)->right_child;(*node)->left_child = node1;(*node)->left_mid_child = node2;node1->data_l = (*node)->data_l;node2->data_l = (*node)->data_r;(*node)->data_l = (*node)->data_m;((*node)->data_m).key = initialize;((*node)->data_m).address = initialize;((*node)->data_r).key = initialize;((*node)->data_r).address = initialize;}//4노드가 2노드의 자식일때의 분할//왼쪽자식의 값을 부모로 올리고 새 노드 생성void split_child_of2 ( two34pointer *child , two34pointer *parent ) {two34pointer temp,temp2;temp = (twhild)->data_r;temp->left_child = (*child)->right_mid_child;temp->left_mid_child = (*child)->right_child;(*child)->right_mid_child = NULL;(*child)->right_child = NULL;((*child)->data_m).key = initialize;((*child)->data_m).address = initialize;((*child)->data_r).key = initialize;((*child)->data_r).address = initialize;}//왼쪽 중간 노드가 4노드일때else if ( (*parent)->left_mid_child == *child ) {(*parent)->right_child = (*parent)->right_mid_child;(*parent)->right_mid_child = temp;(*parent)->data_r = (*parent)->data_m;(*parent)->data_m = (*child)->data_m;temp->data_l = (*child)->data_r;temp->left_child = (*child)->right_mid_child;temp->left_mid_child = (*child)->right_child;(*child)->right_mid_child = NULL;(*child)->right_child = NULL;((*child)->data_m).key = initialize;((*child)->data_m).address = initialize;((*child)->data_r).key = initialize;((*child)->data_r).address = initialize;}//오른쪽 중간 노드가 4노드일때else if ( (*parent)->right_mid_child == *child ) {(*parent)->data_r = (*child)->data_m;(*parent)->r || (node->data_m).key==initialize) )return lmchild;else if ( value > (node->data_m).key &&( value < (node->data_r).key || (node->data_r).key==initialize) )return rmchild;else if ( value > (node->data_r).key )return rchild;elsereturn 0;}//서치시 주소값을 포함하여 key값과 함께 반환하기 위한 비교int compare_address ( int value, two34pointer node ,int *address) {//2-3-4트리의 성질을 이용한 비교이다!!if ( value == (node->data_l).key ) {*address = (node->data_l).address;return equal;} else if ( value == (node->data_m).key ) {*address = (node->data_m).address;return equal;} else if ( value == (node->data_r).key ) {*address = (node->data_r).address;return equal;} else if ( node->left_child == NULL )return leaf;else if ( value < (node->data_l).key )return lchild;else if ( value > (node->data_l).key &&( value < (node->data_m).key || (node->data_m).key==initialize) )return lmchild;else if ( value > (node->data_m).key &&( value < (node->data_r).key || (node->data_r).key==initialize) )return rmchild;else if ( value > (node->data_r).}
    프로그램소스| 2004.11.08| 12페이지| 2,000원| 조회(1,348)
    미리보기
  • [화일처리] C를 사용한 Command Interpreter 구현 (명령해석기)
    Command Interpreter구현 6가지의 명령어가 실행되는 인터프리터를 구현해 보았다.각 명령은 more,grep,grep_redirect,cp,cmp,exit로 6가지였으며 파일입출력함수와기본적인 문자열 함수를 통해 구현할 수 있었다.기본방식은 각 라인별로 fgets를 통해입력받아 임시 배열에 저장하는 방법으로 구현하였다. grep의 경우 strstr과 strcmp로쉽게 구현할수 있었고 cp와 grep의 redirect는 overwrite의 여부를 묻게 출력하였다.#include //Standard I/O#include //Use String function#include //Use exit function#include //Use getchar() functionvoid more(char*);//morevoid grep(char*,char*);//grepvoid grep_redirect(char*,char*,char*);//grep and redirectvoid cp(char*,char*);//copyvoid cmp(char*,char*);//comparebool check(char*);//check exist filevoid main(){printf("Command Interpretern");printf("n");printf("Only type a small letter commandnn");char *command,*first,*second,*wrong;//divide by tokenwhile(1){//unlimited loopprintf("> ");char temp[80];//to save width arrarygets(temp);//get width stringcommand=strtok(temp," ");//divide commandif(!command)//if only "enter" inputcontinue;else if(!strcmp(command,"more")){//if more command foundfirst=strtok(NUfirst)//to print input filemore(first);else//if can't found fileprintf("Wrong command !!! [ more filename ]n");}else if(!strcmp(command,"grep")){//if grep command foundfirst=strtok(NULL," ");//divide stringsecond=strtok(NULL," ");//divide input filechar *mark=strtok(NULL," ");//To decide redirectif(!second)printf("Wrong command!!! [ grep string filenamen");else if(!mark){//To execute grepwrong=strtok(NULL," ");if(!wrong)//if many parameters inputedgrep(first,second);else//wrong commandprintf("Wrong command!!! [ grep string filenamen");}else if(!strcmp(mark,">")){//To execute grep_redirectchar *redirect=strtok(NULL," ");wrong=strtok(NULL," ");if(!wrong && redirect)if(check(redirect)){char yn;printf("File exist ! if you want overwrite input (y) : ");scanf("%c",&yn);getchar();//to print correctif(yn=='y')grep_redirect(first,second,redirect);elseprintf("Redirect canceled!!n");}else//wrong commandgrep_redirect(first,second,redirect);}elseprintf("Wrong command!!! [ grep string filenameng command inputedif(!wrong && first && second){if(check(second)){char yn;printf("File exist ! if you want overwrite input (y) : ");scanf("%c",&yn);getchar();//to print correctif(yn=='y')cp(first,second);//copy fuctionelseprintf("Copy canceled!!n");}elsecp(first,second);}elseprintf("Wrong command!!! [ cp file1 file2 ]n");}else if(!strcmp(command,"cmp")){//To execute comparefirst=strtok(NULL," ");//first filesecond=strtok(NULL," ");//second filewrong=strtok(NULL," ");if(!wrong && first && second)cmp(first,second);//compare functionelseprintf("Wrong command!!! [ cmp file1 file2 ]n");}else if(!strcmp(command,"exit")){//To exitfirst=strtok(NULL," ");if(!first)exit(1);elseprintf("Wrong command [ exit ]!!n");}elseprintf("Wrong command!! [ more, grep, cp, cmp, exit ]n");}}void more(char *filename){char temp[80];//Width arraychar space;//to input spaceint count=0;//line countFILE *fp;if(!(fp=fopen(filename,"r"))){//file open read onlyfprintf(stderr,"Error opening file.n");return;}else{//dintf("Press space key to continue...n");while(1)if((space=getch())==' '){//loop to find space inputedcount=0;break;}}}}printf("n");fclose(fp);//close file}void grep(char *input,char *file_1){char temp[80];int line=0;//line numberbool check=false;//check stringFILE *fp_1;if(!(fp_1=fopen(file_1,"r"))){fprintf(stderr,"Error opening file.n");return;}else{while(!feof(fp_1))while((fgets(temp,80,fp_1)!=NULL )){line++;if(strstr(temp,input)){//if string is exist and displaycheck=true;printf("%d line n",line);//displayprintf("%s",temp);continue;}}}if(!check)printf("Can't find string!!!n");fclose(fp_1);}void grep_redirect(char *input,char *file_1,char *file_2){char temp[80];int line=0;//line numberbool check=false;//if nothings are sameFILE *fp_1,*fp_2;if(!(fp_1=fopen(file_1,"r"))){fprintf(stderr,"Error opening file.n");return;}if(!(fp_2=fopen(file_2, "w"))){printf("file copy failedn");return;}else{while(!feof(fp_1))while((fgets(temp,80,fp_1)!=NULL )){//input line to templine++;if(strstr(td string!!!n");printf("Redirect completed!!n");fclose(fp_1);fclose(fp_2);}void cmp(char *file_1,char *file_2){FILE *fp_1,*fp_2;char temp_1[80],temp_2[80];int line=0;bool check=false;if(!(fp_1=fopen(file_1,"r")) || !(fp_2=fopen(file_2,"r"))){//if one of flie dont existfprintf(stderr,"Error opening file.n");//print error messagereturn;}else{while(!feof(fp_1) || !feof(fp_2)){//loop to one of file endfgets(temp_2,80,fp_2);//input linefgets(temp_1,80,fp_1);//input lineline++;if(strcmp(temp_1,temp_2)){//compare each lineprintf("%d line is different!n",line);check=true;}}}if(!check)//if all lines are sameprintf("Each file is same!!!n");fclose(fp_1);fclose(fp_2);}void cp(char *first,char *second){FILE *fin, *fout;char temp[80];if((fin=fopen(first, "r"))==NULL){ //open first file read onlyprintf("file open errorn"); //display errorreturn;}if((fout=fopen(second, "w"))==NULL){ //open second file write availableprintf("file copy failedn");return;}while(fgets(temp,80,fin))fputs(temp, fout); e;}
    프로그램소스| 2004.11.08| 7페이지| 2,000원| 조회(488)
    미리보기
전체보기
받은후기 7
7개 리뷰 평점
  • A+최고예요
    1
  • A좋아요
    2
  • B괜찮아요
    3
  • C아쉬워요
    0
  • D별로예요
    1
전체보기
해캠 AI 챗봇과 대화하기
챗봇으로 간편하게 상담해보세요.
2026년 09월 09일 수요일
AI 챗봇
안녕하세요. 해피캠퍼스 AI 챗봇입니다. 무엇이 궁금하신가요?
3:26 오전
문서 초안을 생성해주는 EasyAI
안녕하세요 해피캠퍼스의 20년의 운영 노하우를 이용하여 당신만의 초안을 만들어주는 EasyAI 입니다.
저는 아래와 같이 작업을 도와드립니다.
- 주제만 입력하면 AI가 방대한 정보를 재가공하여, 최적의 목차와 내용을 자동으로 만들어 드립니다.
- 장문의 콘텐츠를 쉽고 빠르게 작성해 드립니다.
- 스토어에서 무료 이용권를 계정별로 1회 발급 받을 수 있습니다. 지금 바로 체험해 보세요!
이런 주제들을 입력해 보세요.
- 유아에게 적합한 문학작품의 기준과 특성
- 한국인의 가치관 중에서 정신적 가치관을 이루는 것들을 문화적 문법으로 정리하고, 현대한국사회에서 일어나는 사건과 사고를 비교하여 자신의 의견으로 기술하세요
- 작별인사 독후감