printf("%c%c\n", 0xffffffc7, 0xffffffd4); // 함 

printf("%c%c\n", 0xffffffbc, 0xfffffff6); // 수

printf("%c%c\n", 0xffffffb8, 0xffffffed); // 명


c strtok

카테고리 없음 2014. 12. 11. 09:15

#include <stdio.h>

 

#include <strings.h>

 

int main(){

 

    char sep[]="|";

 

    char *token;

 

 

    char s[] = "lizard|ant|butterfly";

 

    int i = 0;

 

 

    token = (char *)strtok(s, sep);

 

    while ( token != NULL ){

 

        printf("[%d] TH token:%s\n", i, token);

 

        token = (char *)strtok(NULL, sep);

 

        i ++;  

 

    }

 

}


:e#. 이전 파일 열기




hash of array '\' 를 사용한다


(http://www.perlmonks.org/?node_id=1977)

my @arrayOne = 1..10; my @arrayTwo = 20..30; my %HashOfArrays = ( one => \@arrayOne ); $HashOfArrays{two} = \@arrayTwo;


http://blog.naver.com/PostView.nhn?blogId=dlwlal1004&logNo=90164896523


출처: http://stackoverflow.com/questions/202253/eclipse-tomcat-how-to-specify-which-folder-is-served-from-the-project


1. Project Facet "Dynamic Web Module" 활성화


2. project

   > properties

   > 'Deployment Assembly'

    Add... Folder -> Next

    원하는 폴더 선택

     






localhost-config/server.xml 을 열어서 중복된 행 제거


http://www.javaproject.kr/Document/View/253/[%ED%8C%81]%EC%9D%B4%ED%81%B4%EB%A6%BD%EC%8A%A4(eclipse)%EC%97%90%EC%84%9C-%ED%86%B0%EC%BC%93(tomcat)-%EC%BD%98%EC%86%94(console)-%EB%A1%9C%EA%B7%B8(log)-%ED%8C%8C%EC%9D%BC-%EC%A7%80%EC%A0%95


localgist-config/server.xml

---------------------

        <Valve className="org.apache.catalina.valves.AccessLogValve"

                 directory="E:\tmp\log"  prefix="localhost_access_log." suffix=".txt"

                 pattern="common" resolveHosts="false"/>



File > Import > General > Import Existing Project