Keyword Macro

Full text search for "File"


Case-sensitive searching
Display context of search results
  • 학부/4학년 . . . . 50 matches
         #include <QFile>
         const char *DiceWidget::linphone_qt_get_config_file(){
          /*try accessing a local file first if exists*/
          if (access(CONFIG_FILE,F_OK)==0){
          snprintf(_config_file,sizeof(_config_file),"%s",CONFIG_FILE);
          snprintf(_config_file,sizeof(_config_file),"%s\\%s",appdata,LINPHONE_CONFIG_DIR);
          CreateDirectory(_config_file,NULL);
          snprintf(_config_file,sizeof(_config_file),"%s\\%s",appdata,LINPHONE_CONFIG_DIR "\\" CONFIG_FILE);
          snprintf(_config_file,sizeof(_config_file),"%s/%s",home,CONFIG_FILE);
          return _config_file;
         #define FACTORY_CONFIG_FILE "dicephonerc.factory"
         const char *DiceWidget::linphone_qt_get_factory_config_file(){
          /*try accessing a local file first if exists*/
          if (access(FACTORY_CONFIG_FILE,F_OK)==0){
          snprintf(_factory_config_file,sizeof(_factory_config_file),
          "%s",FACTORY_CONFIG_FILE);
          snprintf(_factory_config_file, sizeof(_factory_config_file),
          "%s\\..\\%s", progdir, FACTORY_CONFIG_FILE);
          snprintf(_factory_config_file, sizeof(_factory_config_file),
          "%s\\%s", workingdir, FACTORY_CONFIG_FILE);
  • C++/(Windows)파일 처리 . . . . 26 matches
         #keywords C++,File,Windows
         lpszPath는 MAX_PATH크기(또는 그 이상)이라야 하며, lpszPath에 '\'를 더 붙일 수 없다면 NULL이 반환된다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathAddExtension( LPTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</i>, LPCTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszExtension </i>);</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Adds a file extension to a path string.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">파일 경로(pszPath)의 맨 뒤에 지정된 확장자를 붙여준다.
         pszExtension이 NULL이라면 기본적으로 ".exe"가 붙는다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathAppend( LPTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</i>, LPCTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszMore </i>);</font></strong></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Appends one path to the end of another.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">두개의 경로 문자열 결합. pszPath에 pszMore를 붙여준다. 필요하다면 '\' 문자를 사용해 결합한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathBuildRoot( LPTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">szRoot</i>, int <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">iDrive </i>);</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Creates a root path from a given drive number.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">드라이브 식별 번호(iDrive)를 문자열 형(szRoot)으로 변환해 준다. 0 = a:\ 뭐 이런식이다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathCanonicalize( LPTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszDst</i>, LPCTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszSrc </i>);</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Canonicalizes a path.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로에 상대경로 지정문자 ( "./", "../")가 포함되어 있다면 이를 적절하게 처리해준다. lpszsrc="c:\\a\\b\\..\\c" temp_src="c:\\a\\b\\..\\c"라면 lpszDst = "c:\\a\\c"가 된다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathCombine( LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszDest</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszDir</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszFile</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Concatenates two strings that represent properly formed paths into one path; also concatenates any relative path elements.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">폴더 경로 + 파일경로로 구성해준다. lpszDest = lpszDir + lpszFile.
         적절한 함수로군-ㅅ-ㅋㅋ</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">int PathCommonPrefix( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszFile1</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszFile2</em>, LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Compares two paths to determine if they share a common prefix. A prefix is one of these types: "C:\\", ".", "..", "..\\".</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">두 경로 pszFile1과 pszFile2에서 어디까지가 공통된 경로인지 조사하고, pszPath에 공통된 부분을 담아준다.
         공통된 부분이 없다면 pszPath는 NULL로 설정된다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathCompactPath( HDC <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">hDC</em>, LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszPath</em>, UINT <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">dx</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Truncates a file path to fit within a given pixel width by replacing path components with ellipses.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">lpszPath에 포함된 경로 문자열을 dx pixel 크기에 출력하기 적절하게 잘라준다.
         C:\p...\sample.txt</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathCompactPathEx( LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszOut</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszSrc</em>, UINT <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">cchMax</em>, DWORD <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">dwFlags </em>);</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Truncates a path to fit within a certain number of characters by replacing path components with ellipses.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">PathCompactPath와 유사하다. 다만, pixel단위가 아니라 최대 cchMax만큼 잘라낸다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">HRESULT PathCreateFromUrl( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszUrl</em>, LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em>, LPDWORD <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pcchPath</em>, DWORD dwReserved );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Converts a file URL to a Microsoft MS-DOS path.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">URL형태로 구성된 경로를 Windows 경로 형식으로 변환해 준다. file:///c:/test.txt = c:\test.txt.
         또, 실제 URL(Web)이 아니라 Local File Url이라야 한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathFileExists( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines whether a path to a file system object such as a file or directory is valid.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 경로의 파일/폴더가 실제로 <font id="altools-findtxt" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3; background-color: rgb(255, 255, 0); font-size: 14px; font-weight: bold;">존재</font>하는지 검사한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathFindExtension( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pPath</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path for an extension.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">파일 경로에서 확장자를 찾아준다. (pPath에서 확장자가 시작되는 위치를 반환).</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathFindFileName( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pPath</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path for a file name.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">파일 경로에서 파일 이름을 찾아준다. (pPath에서 이름이 시작되는 위치를 반환).</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathFindNextComponent( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Parses a path for the next path component.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">다음 위치의 경로를 찾아준다. 어떤 경로에 대해 순자접근이 필요하다면 사용해볼 법 하다.
         PathFindNextComponent( "windows\system32") = system32</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathFindOnPath( LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszFile</em>, LPCTSTR *<em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">ppszOtherDirs</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches for a file.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">파일을 검색한다. 만약 검색에 성공하면 pszFile에는 해당 파일의 전체 경로가 담겨져서 반환된다.
         <span id="callbacknestfunnismcom381187" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3; width: 1px; height: 1px; float: right;"></span>주의: 여러개의 파일이 존재 하더라도, 첫번째로 검색된 파일의 경로만 반환한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPCTSTR PathFindSuffixArray( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em>, const LPCTSTR *<em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">apszSuffix</em>, int <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">iArraySize</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines whether a given file name has one of a list of suffixes.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">PathFindOnPath와 유사하다. 다만, apszSuffix를 통해 검색할 경로를 여러개 지정할 수 있다. (기본경로 검색은 하지 않는다.)
         이 함수를 이용해서 경로에 사용할 수 있는 문자열인지를 검사할 수 있다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">int PathGetDriveNumber( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpsz</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path for a drive letter within the range of 'A' to 'Z' and returns the corresponding drive number.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 경로에 포함된 드라이브 문자(c:\) 의 식별 번호를 반환한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsContentType( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszContentType</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines if a file's registered content type matches the specified content type. This function obtains the content type for the specified file type and compares that string with the pszContentType. The comparison is not case-sensitive.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 파일경로가(확장자만 넘겨줘도 된다;) 등록된 contents type과 일치하는지 검사한다.
         PathIsContentType( "c:\temp.txt", "text/plain" ) = TRUE</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsDirectory( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Verifies that a path is a valid directory.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">실제로 존재하는 폴더인지 확인한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsDirectoryEmpty( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines whether a specified path is an empty directory.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">비어있는(안에 파일이나 서브 폴더가 없는) 폴더인지 확인한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsFileSpec( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path for any path-delimiting characters (for example, ':' or '\' ). If there are no path-delimiting characters present, the path is considered to be a File Spec path.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 경로가 파일명만으로 구성되어 있는지 조사한다. 
         주의: 파일명으로 사용할 수 없는 문자(/, :, * 등)가 들어있는가? 를 검사하는 함수가 아니다!!</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsHTMLFile( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszFile</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines if a file is an HTML file. The determination is made based on the content type that is registered for the file's extension.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 경로의 확장자가 HTML 유형인가를 검사한다.
         한마디로, 레지스트리에 등록된 content type이 text/html이라면 TRUE. (.htm, .html, .xhtml ...)</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsLFNFileSpec( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszName</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines whether a file name is in long format.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 경로가 Long File Name spec에 적합한지 검사한다. (아마 쓸 일은 거의 없을듯 싶다 -_-;)</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsNetworkPath( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines whether a path string represents a network resource.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로가 네트워크 경로라면 TRUE. 단, 실제로 존재하는 네트워크 경로인가는 다른 얘기다!</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsPrefix( IN LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPrefix</em>, IN LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path to determine if it contains a valid prefix of the type passed by pszPrefix. A prefix is one of these types: "C:\\", ".", "..", "..\\".</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로가 pszPrefix로 시작되는가를 검사한다. 같은 드라이브에 있는 파일인지 검사할때 유용하다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsRelative( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path and determines if it is relative.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로가 상대경로인지 검사한다.
         PathMakePretty( "c:\Test\Temp.txt") = 변화 없음</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathMakeSystemFolder( LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Gives an existing folder the proper attributes to become a system folder.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">지정된 폴더를 시스템 폴더로 만든다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathMatchSpec( LPCSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszFile</em>, LPCSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszSpec</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a string using a Microsoft MS-DOS wild card match type.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">지정된 문자(열)이 경로에 포함되어 있는지 검사한다. DOS명령어 "dir *.bmp" 개념으로 생각하면 된다.
         PathMatchSpec( "c:\test\temp.txt", "*.txt") = TRUE</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathMatchSpecEx( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszFile</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszSpec</em>, DWORD <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">dwFlags</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a string using a Microsoft MS-DOS wild card match type and a flag.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">PathMatchSpec과 유사하다. 차이점은, dwFlags에 PMSF_MULTIPLE를 사용하면 여러개의 검색 패턴 지정이 가능하다는 점.
         PathMatchSpecEx( "c:\test\temp.txt temp2.bmp", "*.txt temp.*", PMSF_MULTIPLE ) = TRUE</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">int PathParseIconLocation( LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszIconFile</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Parses a file location string containing a file location and icon index, and returns separate values.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">pszIconFile에 파일경로와 아이콘 인덱스가 포함되어 있는 경우 이를 적절하게 분리해 준다.
         pszIconFile에는 경로가, 아이콘 인덱스는 반환값으로 나오게 되며, pszIconFile은 "경로, icon index"형식 이라야 한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathQuoteSpaces( LPTSTR lpsz );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path for spaces. If spaces are found, the entire path is enclosed in quotation marks.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">lpsz에서 공백이 발견되면 lpsz를 큰 따옴표(")로 묶어준다. 공백이 없다면 아무일도 하지않고 FALSE가 반환된다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathRelativePathTo( LPTSTR pszPath, LPCTSTR pszFrom, DWORD dwAttrFrom, LPCTSTR pszTo, DWORD dwAttrTo );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Creates a relative path from one file or folder to another.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">pszFrom에서 pszTo로 가는 상대경로를 구해서 pszPath에 담아준다. 당연한 소리지만 pszFrom과 pszTo는 동일한 Prefix에서 시작해야 한다.
         BOOL PathRelativePathTo( buffer, "c:/a/b/c/", FILE_ATTRIBUTE_DIRECTORY, "c:/a/1/2/test.txt", FILE_ATTRIBUTE_NORMAL);
         buffer = "../../1/2/test.txt";</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">void PathRemoveArgs( LPTSTR pszPath );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Removes any arguments from a given path.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로에 포함된 인자(argv)를 지워준다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathRemoveBackslash( LPTSTR lpszPath );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Removes the trailing backslash from a given path.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로 맨 끝에 back slash(\)가 있다면 지워준다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">void PathRemoveBlanks( LPTSTR lpszString );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Removes all leading and trailing spaces from a string.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">Trim과 유사하다. 경로 앞뒤의 공백을 제거한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">void PathRemoveExtension( LPTSTR pszPath );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Removes the file extension from a path, if one is present.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">확장자를 제거한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathRemoveFileSpec( LPTSTR pszPath );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Removes the trailing file name and backslash from a path, if they are present.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">파일이름을 제거한다. 주의할 점은 맨 끝의 "\"도 지워진다는거~
         PathRemoveFileSpec("c:\temp\test.txt") = "c:\temp"</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathRenameExtension( LPTSTR pszPath, LPCTSTR pszExt );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Replaces the extension of a file name with a new extension. If the file name does not contain an extension, the extension will be attached to the end of the string.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">파일 경로의 확장자를 지정된 확장자로 교체한다.
  • C++/ini Reader Writer . . . . 23 matches
         Origin at [http://www.codeproject.com/Articles/10809/A-Small-Class-to-Read-INI-File]
          CIniReader(char* szFileName);
          char m_szFileName[255];
          CIniWriter(char* szFileName);
          char m_szFileName[255];
         CIniReader::CIniReader(char* szFileName)
          memset(m_szFileName, 0x00, 255);
          memcpy(m_szFileName, szFileName, strlen(szFileName));
          int iResult = GetPrivateProfileInt(szSection, szKey, iDefaultValue, m_szFileName);
          GetPrivateProfileString(szSection, szKey, szDefault, szResult, 255, m_szFileName);
          GetPrivateProfileString(szSection, szKey, szDefault, szResult, 255, m_szFileName);
          GetPrivateProfileString(szSection, szKey,
          szDefaultValue, szResult, 255, m_szFileName);
         CIniWriter::CIniWriter(char* szFileName)
          memset(m_szFileName, 0x00, 255);
          memcpy(m_szFileName, szFileName, strlen(szFileName));
          WritePrivateProfileString(szSection, szKey, szValue, m_szFileName);
          WritePrivateProfileString(szSection, szKey, szValue, m_szFileName);
          WritePrivateProfileString(szSection, szKey, szValue, m_szFileName);
          WritePrivateProfileString(szSection, szKey, szValue, m_szFileName);
  • MoniWikiPo . . . . 15 matches
         # MoniWiki message file
         msgid "No filename given"
         #: ../plugin/Draw.php:81 ../plugin/UploadFile.php:154
         #: ../plugin/UploadFile.php:78
         #: ../plugin/UploadFile.php:127
         msgid "It is not allowed to change file ext. \"%s\" to \"%s\"."
         #: ../plugin/UploadFile.php:155
         #: ../plugin/UploadFile.php:164
         msgid "File \"%s\" is uploaded successfully"
         #: ../plugin/UploadFile.php:195
         msgid "Files are uploaded successfully"
         #: ../plugin/UploadFile.php:235
         #: ../plugin/UploadedFiles.php:278 ../plugin/rename.php:77 ../wikilib.php:882
         #: ../plugin/UploadedFiles.php:279 ../wikilib.php:860
         msgid "Delete selected files"
         msgid "Please try again or make a new profile"
         msgid "Profiles are saved successfully !"
         msgid "File does not exists"
         msgid "File '%s' is deleted"
         msgid "No files are selected !"
  • C++/(MFC)SaveBitmapToDirectFile CDC를 Bitmap으로 저장 . . . . 12 matches
         void SomeClassDoc::SaveBitmapToDirectFile(CDC* pDC, CRect BitmapSize, int BitCount, CString strFilePath)
          if (strFilePath == "") return;
          BITMAPFILEHEADER hdr;
          DWORD FileSize;
          FileSize=sizeof(hdr)+GlobalSize(hDIB);
          pBmpBuf = new char[FileSize];
          CFile file;
          file.Open(strFilePath, CFile::modeCreate | CFile::modeNoTruncate | CFile::modeWrite);
          file.Write(pBmpBuf,FileSize);
          file.Close();
  • CSV 파일 사양에 대한 스펙 . . . . 12 matches
          Common Format and MIME Type for Comma-Separated Values (CSV) Files
          files and registers the associated MIME type "text/csv".
         RFC 4180 Common Format and MIME Type for CSV Files October 2005
          (CSV) files and formally registers the "text/csv" MIME type for CSV
          interpretations of CSV files. This section documents the format that
          2. The last record in the file may or may not have an ending line
          of the file with the same format as normal record lines. This
          header will contain names corresponding to the fields in the file
          the rest of the file (the presence or absence of the header line
         RFC 4180 Common Format and MIME Type for CSV Files October 2005
          number of fields throughout the file. Spaces are considered part
          file = [header CRLF] record *(CRLF record) [CRLF]
         RFC 4180 Common Format and MIME Type for CSV Files October 2005
          CSV files contain passive text data that should not pose any
         RFC 4180 Common Format and MIME Type for CSV Files October 2005
          others" (RFC 793 [8]) when processing CSV files. An attempt at a
          File extension(s): CSV
          Macintosh File Type Code(s): TEXT
         RFC 4180 Common Format and MIME Type for CSV Files October 2005
          [4] Repici, J., "HOW-TO: The Comma Separated Value (CSV) File
  • UploadFile . . . . 11 matches
         MoniWiki는 두가지 인터페이스의 UploadFile매크로를 지원한다. 각각 이에 대응하는 액션이 있다.
         UploadFile매크로는 파일을 올리는 폼을 보여주고, UploadedFiles매크로는 올려진 파일의 리스트를 보여준다.
         UploadFile매크로와 UploadedFiles매크로는 각각 다중 디렉토리를 지원한다.
         'UploadFile'페이지 이외의 특정한 페이지에서 {{{[[UploadFile]]}}}을 사용하면, 그 페이지 이름을 하위 디렉토리로 하는 새로운 UploadFile 디렉토리가 만들어지고 그 밑으로 파일이 업로드 된다. (1단계 하위 디렉토리만 지원된다)
         == 파일 확장자를 통한 UploadFile제한 ==
         config.php의 {{{$pds_allowed}}}변수를 조정하여 UploadFile되는 파일 유형을 조절할 수 있습니다.
         [[UploadFile]]
  • UploadFileMacro . . . . 11 matches
         {{{[[UploadFile]]}}}: 이것은 자바스크립트를 전혀 쓰지 않는다. 그 대신에 간단한 여러개의 파일을 올릴 수 있는 방법을 제공한다.
         [[UploadFile]]
         {{{[[UploadForm]]}}} 혹은 {{{[[UploadFile(js)]]}}}: 이 매크로는 여러개의 파일을 올릴 수 있는 폼을 자바스크립트를 사용하여 만들어준다.
         {{{[[SWFUpload]]}}} 혹은 {{{[[UploadFile(swf)]]}}}: 이 매크로는 모니위키 1.1.3CVS부터 지원하며 다중 파일 업로드를 지원한다. (Flash 10 지원)
         모니위키의 {{{[[UploadFile]]}}} 매크로는 업로드 된 파일을 {{{$upload_dir}}}로 정의된 디렉토리에 각 페이지별 디렉토리를 생성시키고, 그 디렉토리에 업로드된 파일을 저장한다.
         attachment:filename.ext 혹은 attachment:페이지명:filename.ext
         예를 들어, {{{MyPage}}}에 들어가서 {{{MyPage?action=UploadFile}}}을 하거나, MyPage에서 {{{[[UploadFile]]}}} 매크로를 사용하여 파일을 업로드를 하면 $upload_dir='pds';라고 되어있는 경우에 {{{pds/MyPage/}}}가 새롭게 만들어지고 거기에 올린 파일이 저장된다.
         == $use_filetype ==
         그러나 노스모크 모인모인에서는 {{{pds/*}}} 하위 디렉토리로 모든 파일이 저장된다. 노스모크 모인모인과 호환을 보장하기 위해서 UploadFile액션은 특별히 {{{UploadFile}}}이라는 페이지에서 파일을 업로드하면 {{{pds/UploadFile}}}라는 디렉토리가 만들어지지 않고 pds 아래로 바로 업로드 되게끔 하였다.
          * UploadedFiles
  • C_Sharp/잘못된 파일 이름이나 경로 검색 삭제 . . . . 10 matches
         http://stackoverflow.com/questions/146134/how-to-remove-illegal-characters-from-path-and-filenames
         string invalidPathChars = new string(Path.GetInvalidFileNameChars()) + new string(Path.GetInvalidPathChars());
         string regexSearch = new string(Path.GetInvalidFileNameChars()) + new string(Path.GetInvalidPathChars());
         [01:08] <04hyacinth> !csharp string invalidPathChars = new string(System.IO.Path.GetInvalidFileNameChars()) + new string(System.IO.Path.GetInvalidPathChars());
         [01:08] <04hyacinth> !csharp string invalidPathChars = new string(System.IO.Path.GetInvalidFileNameChars()) + new string(System.IO.Path.GetInvalidPathChars()); foreach (char c in invalidPathChars){System.Console.Write(c.ToString() + "; " + System.Convert.ToByte(c).ToString("X2"));}}
         [01:09] <04hyacinth> !csharp string invalidPathChars = new string(System.IO.Path.GetInvalidFileNameChars()) + new string(System.IO.Path.GetInvalidPathChars()); foreach (char c in invalidPathChars){System.Console.Write(c.ToString() + "; " + System.Convert.ToByte(c).ToString("X2"));}
         [01:10] <04hyacinth> !csharp string invalidPathChars = new string(System.IO.Path.GetInvalidFileNameChars()) + new string(System.IO.Path.GetInvalidPathChars()); foreach (char c in invalidPathChars){System.Console.Write(c.ToString() + "; " + System.Convert.ToByte(c).ToString("X2"));}System.Console.Write(invalidPathChars.Length.ToString());
         [01:10] <04hyacinth> !csharp string invalidPathChars = new string(System.IO.Path.GetInvalidFileNameChars()) + new string(System.IO.Path.GetInvalidPathChars()); System.Console.Write(invalidPathChars.Length.ToString());
         [01:11] <04hyacinth> !csharp string invalidPathChars = new string(System.IO.Path.GetInvalidFileNameChars()) + new string(System.IO.Path.GetInvalidPathChars()); System.Console.Write(System.Convert.ToByte(invalidPathChars[0]).ToString("X2"));
         [01:11] <04hyacinth> !csharp string invalidPathChars = new string(System.IO.Path.GetInvalidFileNameChars()) + new string(System.IO.Path.GetInvalidPathChars()); System.Console.Write(System.Convert.ToByte(invalidPathChars[1]).ToString("X2"));
         [01:11] <04hyacinth> !csharp string invalidPathChars = new string(System.IO.Path.GetInvalidFileNameChars()) + new string(System.IO.Path.GetInvalidPathChars()); System.Console.Write(System.Convert.ToByte(invalidPathChars[2]).ToString("X2"));
  • C++/(MFC)COM dll 사용 . . . . 9 matches
         2. (OLE/COM Object Viewer)File>TypeLib> COM dll 열기
         3. File>Save As> xxx.IDL로 저장
          if (objWorkPackager->GetFileType(_T("C:\\drmtest\\secure\\proxy20111005.txt")) == 103)
          CString sOrgFilePath = theApp.m_arFileList.GetAt(i);
          objWorkPackager->DoExtract(_T("C:\\Program Files\\Fasoo DRM\\CW-Packager\\fsdinit"),
          sOrgFilePath.GetBuffer(0),
          sFilePath.GetBuffer(0));
          sFilePath = _T("(null)");
  • UploadedFiles . . . . 8 matches
         {{{UploadFile}}}은 업로드 폼(매크로)을 보여주고 업로드를 하는(액션) 플러그인이며,
         {{{UploadedFiles}}}플러그인은 이미 업로드 된 파일 목록을 보여주는 플러그인이다.
         {{{[[UploadedFiles]]}}} : 현재 페이지에 첨부된 파일 목록을 보여준다. pds/현제페이지이름/* 하위의 모든 파일 목록을 보여주게 된다.
         {{{[[UploadedFiles(top)]]}}} : 최상위 디렉토리를 보여준다. 즉, {{{pds/}}} 디렉토리를 보여준다.
         {{{[[UploadedFiles(페이지이름)]]}}} : 지정된 페이지에 첨부된 파일 목록을 보여준다.
         /!\ UploadedFiles 플러그인은 액션과 매크로를 동시에 지원하므로, 주소창에 {{{?action=uploadedfiles}}}를 덭붙여 주면 그 페이지에 첨부된 파일을 보여줍니다.
         [[UploadedFiles]]
         See also UploadFileMacro
  • omr1/5/002/080925 . . . . 8 matches
         class MyFileGetOut
          FILE *fpGet;
          FILE *fpOut;
          MyFileGetOut(int i){
          ~MyFileGetOut(){
         void MyFileGetOut::fGet(const char* fn)
          printf("File open ERROR!\n");
         void MyFileGetOut::fOut(const char* fn)
          MyFileGetOut *ab = NULL;
          ab = new MyFileGetOut(1);
  • 심볼릭 링크 . . . . 8 matches
         robocopy.exe "C:\Program Files\Common Files\Hnc" "G:\Program Files\Common Files\Hnc" /S /B /XJ /COPY:DATSOU /R:1 /W:2
         mklink /d "C:\Program Files\Common Files\Hnc" "G:\Program Files\Common Files\Hnc"
  • C++/(MFC)Get VS_VERSION_INFO . . . . 7 matches
         CString GetFileVersion()
          retVal = VerQueryValue(pVersionResouece, _T("\\VarFileInfo\\Translation"), (LPVOID*)&pVersion, (UINT*)&uLength);
          rVersion.Format(_T("\\StringFileInfo\\%02X%02X%02X%02X\\FileVersion"),
          rVersion.Format(_T("\\StringFileInfo\\%04X04B0\\FileVersion"), GetUserDefaultLangID());
         FileVersion 1.1.3.7
  • robocopy . . . . 7 matches
         Robocopy, 또는 "Robust File Copy(강건한 파일 복사)"는 명렬 줄 디렉터리 또는 파일 복제 명령이다. robocopy는 윈도 XP의 xcopy를 대체하며 기능적으로 더 많은 옵션을 제공한다. 이것은 윈도 NT 4.0에서 Windows 리소스 키트의 일부로 제공되며, 윈도 Vista 및 윈도 서버 2008에서 기본으로 도입되었다.
         robocopy.exe "C:\Program Files\Common Files\Hnc" "G:\My\Common Files\Hnc" /S /B /XJ /COPY:DATSOU /R:1 /W:2
         mklink /d "C:\Program Files\Common Files\Hnc" "G:\My\Common Files\Hnc"
  • C++/문자열 로그 파일 기록 . . . . 5 matches
         This is the most simple way to append simple log strings to a file if DEBUG is defined.
         void WriteLogFile(const char* szString)
          FILE* pFile = fopen("logFile.txt", "a");
          fprintf(pFile, "%s\n",szString);
          fclose(pFile);
         void write_text_to_log_file(const std::string &text)
          std::ofstream log_file(
          "log_file.txt", std::ios_base::out | std::ios_base::app );
          log_file << text << std::end;
  • EditPlus+MinGW+gcc 컴파일 설정 . . . . 5 matches
         -o $(FileNameNoExt).exe $(FileName)
         $(FileDir)
         /k $(FileNameNoExt).exe
         $(FileDir)
  • Java/실행시간 측정(FileInputStream 파일 복사) . . . . 5 matches
         #keywords FileInputStream,Java,복사,실행시간 측정
          System.err.println("[input filename] [output filename]");
          FileInputStream fi = new FileInputStream(args[0]);
          FileOutputStream fo = new FileOutputStream(args[1]);
         [input filename] [output filename]
  • C++/(MFC)CStdioFile을 이용한 파일 처리 . . . . 4 matches
          CString filename;
          filename.Format(_T("test.txt"));
          CFileException ex;
          CStdioFile file;
          if (!file.Open(filename, CFile::modeRead | CFile::typeText, &ex))
          while (file.ReadString(line))
          file.Close();
  • C_Sharp/.NET Framework 4.0에서 ILMerge 사용법 . . . . 4 matches
         "C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /lib:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319" /lib:"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies" /targetplatform:v4 /out:UserDataSyncId.exe UserDataSync.exe AjaxPro.2.dll Interop.CRYPTCOMLib.dll log4net.dll Oracle.DataAccess.dll ZsFramework.Data.dll ZsFramework.Utils.dll ZsFramework.Web.dll ZsFramework.Win32.dll /log
         "C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /out:out.exe PhotoResizer.exe ICSharpCode.SharpZipLib.dll
         "C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /out:출력파일이름.exe C#프로그램이름.exe 묶을라이브러리1.dll 묶을라이브러리2.dll
  • JavaScript/모든 플러그인 출력 . . . . 4 matches
         document.write( "Name | Filename | description" );
          document.write( navigator.plugins[i].filename );
         Name | Filename | description
         Microsoft Office 2010 | NPSPWRAP.DLL | The plug-in allows you to open and edit files using Microsoft Office applications | undefined
         SoftForum XecureWeb File Control Plug-in | npxwebplugin_file.dll | npxwebplugin_file v.7.2.5.8 | undefined
         document.write( "Name | Filename | description" );
          document.write( navigator.plugins[i].filename );
  • WordPressAudioPlayer . . . . 4 matches
         The '''standalone''' version comes with a JavaScript file to simplify configuring and embedding the player. This file includes the  [http://code.google.com/p/swfobject/ swfobject 2.1] library.
         '''Note''': the zip file includes two other files:
          1. [http://209.85.173.132/download.htm Download] the zip file
          1. Extract and upload the files to your server (only two files are required: ''''''audio-player'''.js''' and '''player.swf''')
          1. Include the ''''''audio-player'''.js''' file in the HEAD section of your html page
         Ensure you replace “http://yoursite.com/path/to” with the correct paths to all files.
          soundFile: "http://yoursite.com/path/to/mp3_file.mp3",
         === To load multiple files ===
         Simply set '''soundFile '''to a comma delimited list of mp3 files. Optionally, you can also provide a comma delimited list of titles and artists:
          soundFile: "http://yoursite.com/path/to/mp3_file_1.mp3,http://yoursite.com/path/to/mp3_file_2.mp3",
         | soundFile ||'''required'''||comma-delimited list of mp3 files||
         | encode ||no||indicates that the mp3 file urls are encoded||
         | checkpolicy ||no||tells Flash to look for a policy file when loading mp3 files&
         (this allows Flash to read ID3 tags from files hosted on a different domain)||
  • .cab 파일로 ActiveX 웹 페이지에 배포하기 . . . . 3 matches
         file-win32-x86=thiscab
         ; Add your ocx's file version here.
         FileVersion=1,0,0,1
         "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\makecert.exe" -sv "axtest.pvk" -n "CN= SECUVE AXTest" axtest.cer
         "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\cert2spc.exe" "C:\Users\rhealove\Documents\Visual Studio 2008\Projects\AXTest\Debug\axtest.cer" "C:\Users\rhealove\Documents\Visual Studio 2008\Projects\AXTest\Debug\axtest.spc"
  • Blog/2013-04 . . . . 3 matches
         C:\Program Files\NPKI\yessign\USER\cn=TEST()0020048200802042367102,ou=WOORI,ou=personal4IB,o=yessign,c=kr\signCert.der
         CString strPath("C:\\Program Files\\NPKI\\yessign\\USER\\cn=TEST()0020048200802042367102,ou=WOORI,ou=personal4IB,o=yessign,c=kr\\signCert.der")
         PathRemoveFileSpec(szTemp); // 파일 이름 제거
  • C++/(MFC)특정 확장자 선택 다이얼로그 템플리트 . . . . 3 matches
          CFileDialog my_dialog(TRUE/*Load*/,_T("xml"),
          _T("XML Files (*.xml)|*.xml|All Files (*.*)|*.*||") );
  • C_Sharp/File IO 관련 모음 . . . . 3 matches
         string fileName = Path.GetFileName(fullName);
         bool possiblePath = fileName.IndexOfAny(Path.GetInvalidPathChars()) == -1;
         var fileList = new DirectoryInfo(dir).GetFiles("*.xml", SearchOption.AllDirectories);
         result - FileInfo[]
  • C_Sharp/INI 읽고 쓰기 . . . . 3 matches
          private static extern int GetPrivateProfileString( // GetIniValue 를 위해
          String filePath);
          private static extern long WritePrivateProfileString( // SetIniValue를 위해
          String filePath);
          int i = GetPrivateProfileString(Section, Key, "", temp, 255, iniPath);
          WritePrivateProfileString(Section, Key, Value, iniPath);
          System.IO.FileInfo exefileinfo = new System.IO.FileInfo(System.Windows.Forms.Application.ExecutablePath);
          string path = exefileinfo.Directory.FullName.ToString();
          string filePath = path + "\\" + _configName;
          return filePath;
          return System.IO.File.Exists(configPath);
  • LocalKeywords . . . . 3 matches
         FileInputStream Java 복사 "실행시간 측정"
         C++ File Windows
         "Batch File" Script Windows 비동기
  • MoniWikiPlugins . . . . 3 matches
          * UploadFile
          * UploadedFiles
          * Gallery 간단한 갤러리(UploadFile매크로 이용)
  • Windows2003Tips . . . . 3 matches
         HKEY_CLASSES_ROOT\lnkfile 선택
         NTFS(New Technology, NT File System)
         del "2003설치된 드라이브명\Documents and Settings\로그온 사용자명\Local Settings\Temporary Internet Files\Content.IE5\index.dat"
         del "c:\Documents and Settings\ktuser\Local Settings\Temporary Internet Files\Content.IE5\index.dat"
  • omr1/5/002/081002 . . . . 3 matches
          FILE *fp = NULL;
          // File Input.txt
          printf("File open ERROR!\n");
          // File Output.txt
  • 디자인 패턴에 따른 클래스 접미사 추천 . . . . 3 matches
         ||<align="center">Exception ||예외 처리 클래스||FileNotFoundException, DatabaseException||
         ||<align="center">Writer, Reader, Serializer||파일이나 데이터를 읽고 쓰는 클래스||FileWriter, DataWriter, FileReader, DataReader,UserInfoSerializer||
  • Blog/2015-02 . . . . 2 matches
         Set fso = CreateObject("Scripting.FileSystemObject")
         If fso.FileExists(strPath) Then
  • C++ . . . . 2 matches
         ["/(MFC)SaveBitmapToDirectFile CDC를 Bitmap으로 저장"]
         ["/(MFC)CStdioFile을 이용한 파일 처리"]
         ["/빌드 이벤트에서 batch file 실행"]
  • C++/(Windows)캡처 윈도우 . . . . 2 matches
         BOOL CaptureWnd(int pid, CString filename)
          if (GetProcessImageFileName(hProcess, buf, MAX_PATH))
          CString str = filename;
          //str.Format(_T("(Dll:C:\\Program Files (x86)\\DreamSecurity\\NTSMagicLineMBX\\PKICertCls.dll)"));
          captureImage.Save(filename, Gdiplus::ImageFormatJPEG);
         //CaptureWnd(process id, file path);
  • C++/cryptohash . . . . 2 matches
         === hexdigestfile ===
          CString strFilename("C:\\test_file.exe");
          CT2CA pszConvertedAnsiString(strFilename);
          string hash = hash_helper.hexdigestfile(target.c_str());
  • C++/부팅 시간&경과 시간 구하기 . . . . 2 matches
          FILETIME fst;
          SystemTimeToFileTime(&st,&fst);
          FILETIME fst;
          FileTimeToSystemTime(&fst, &st);
  • HelpOnActions . . . . 2 matches
          * `!UploadFile`: upload files to a page, see UploadFile for more details.
  • MPIR로 C++ 고정밀 연산을 해 보자 . . . . 2 matches
         Error 17 error MSB3721: The command ""C:\Program Files (x86)\Microsoft
         윈도 비트에 맞는 걸 받아 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\ 에 압축을 해제한다.
  • Perl/INI 파일 읽기 . . . . 2 matches
         use Config::IniFiles;
         https://metacpan.org/pod/Config%3a%3aIniFiles
  • Themida CUI Command batch 작업 . . . . 2 matches
         call :ThemidaFunction some_file.tmd some_file.exe some_file._ini
         start /w themida64 /protect %1 /inputfile %2 /inifile %3
         echo ERROR: File already protected
         echo ERROR: File to protect cannot be opend
         call :ThemidaFunction some_file exe
         call :ThemidaFunction some_file2 dll
         start /w themida64 /protect %1.tmd /inputfile %1.%2 /inifile %1._ini
  • VisualStudio 솔루션 이름 변경 . . . . 2 matches
         UCanCode ToolBox (A Very useful Replace all in Files and Visual Studio Project Renamer)
         File Type을 추가하였으면 In Folder 박스에 바꾸고자 하는 솔루션 경로를 넣는다.
  • WikiSlide . . . . 2 matches
          * `AttachFile`: Attach files to a page (HelpOnActions/AttachFile)
  • omr1/3/001 . . . . 2 matches
         메모리 맵 파일, Memory Mapped File
         X (File Format),
  • AttachmentMacro . . . . 1 match
         See also UploadFile
  • Blog/2008-11 . . . . 1 match
         <p><span class="Apple-style-span" style="font-family: 굴림; line-height: 18px; "><p style="color: rgb(51, 51, 51); text-align: center; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><embed pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://file.norara.com/game/gameFile/cameramind.swf" width="647" height="473" type="application/x-shockwave-flash" quality="high" allowfullscreen="true" style="width: 647px; height: 473px; "></p><p style="text-align: center; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br> </p></span></p>
  • C++/(MFC)stdout redirect . . . . 1 match
          while (ReadFile(hRead, buffer, sizeof(buffer) - 1, &bytesRead, NULL) && bytesRead)
  • C++/(MFC)워커 스레드와 이벤트를 이용한 동기화 . . . . 1 match
          working = finder.FindNextFileW();
  • C++/(MFC)현재 프로그램 실행 위치 . . . . 1 match
         GetModuleFileName(NULL, szCurrentPath, MAX_PATH); // 실행 파일
  • C++/(Shell)프로세스 아이콘 가져오기 . . . . 1 match
         SHFILEINFO *psfi = new SHFILEINFO;
         SHGetFileInfo("C:\\Test.exe",
          sizeof SHFILEINFO,
  • C++/(Windows)기본 브라우저 열기 . . . . 1 match
          HFILE h = _lcreat("dummy.htm",0) ;
          DeleteFile(_T("dummy.htm"));
  • C++/IsUsbDevice . . . . 1 match
          HANDLE deviceHandle = CreateFile(
          FILE_SHARE_READ | // share mode
          FILE_SHARE_WRITE,
          0, // file attributes
          NULL); // do not copy file attributes
  • C++/SAL 표준 표식 언어 . . . . 1 match
         </p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.6; ">    /*</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.6; ">     Pre-defined data entry point categories include: Registry, File, Network.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.6; ">    */</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.6; ">    #define __inner_data_entrypoint(category)    __declspec("SAL_entrypoint(dataEntry, "SPECSTRINGIZE(category)")")</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.6; ">
  • C++/Windows Object 모든 종류 구분 . . . . 1 match
          else if (0 == _tcsicmp(TEXT("File"), pstInfo->TypeName.Buffer))
          (*pnObject) = TYPE_KERNEL_OBJECT_FILE;
          else if (0 == _tcsicmp(TEXT("Profile"), pstInfo->TypeName.Buffer))
          (*pnObject) = TYPE_KERNEL_OBJECT_PROFILE;
  • C++/cppcheck 추가 . . . . 1 match
         명령: C:\Program Files (x86)\Cppcheck\cppcheck.exe
  • C++/모든 프로세스 리스트(이름) Enumerate . . . . 1 match
          OutputDebugString(pe32.szExeFile);
  • C++/이미지 대표색 찾기 . . . . 1 match
         ##attachment:Color_File.jpg?width=200
  • C++/프로세스 이름 to PID . . . . 1 match
          if(!_tcsicmp(szProcessName, pe.szExeFile))
  • C++/현재 로그인한 사용자의 SID 구하기 . . . . 1 match
          if(!lstrcmp(procEntry.szExeFile, szProcName)) {
  • C_Sharp . . . . 1 match
         ["/File IO 관련 모음"]
  • EICAR test file . . . . 1 match
         EICAR 테스트 파일(공식명칭:EICAR Standard Anti-Virus Test File)이란 ANTI 바이러스 테스트 용도로 사용될 수 있는 바이러스는 아니지만 바이러스로 인식되는 표준 바이러스 테스트 파일이다.
         X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
         WikiPedia:EICAR_test_file
  • HelpOnLinking . . . . 1 match
         지원되는 외부 링크는 `http:`, `https:`, `ftp:`, `nntp:`, `news:`, `mailto:`, `telnet:`, 그리고 `file:`등이 있습니다.
         The supported URL schemas are: `http:`, `https:`, `ftp:`, `nntp:`, `news:`, `mailto:`, `telnet:`, and `file:`. Please see HelpOnConfiguration to extend this schemas.
         In addition to the standard schemas, there are MoinMoin-specific ones: `wiki:`, `attachment:`. "`wiki:`" indicates an InterWiki link, so `MoniWiki:FrontPage` and `wiki:MoniWiki:FrontPage` are equivalent; you will normally prefer the shorter form, the "`wiki`" scheme becomes important when you use bracketed links, since there you always need a scheme. The other three schemes are related to file attachments and are explained on HelpOnActions/AttachFile.
  • Java . . . . 1 match
         ["/실행시간 측정(FileInputStream 파일 복사)"]
  • K8S . . . . 1 match
         https://t1.daumcdn.net/cfile/tistory/992DD43A5D5C028303&.jpg
         dat, err := ioutil.ReadFile("/var/run/secrets/kubernetes.io/serviceaccount/namespace")
         kubectl delete -f <yaml-file>
         여기서 `<yaml-file>`은 삭제하려는 `Service` 자원이 포함된 YAML 파일의 경로입니다. 이 명령어를 실행하면 해당 YAML 파일에서 `Service` 자원이 삭제되고, 변경 사항이 Kubernetes 클러스터에 적용됩니다.
  • MoniWikiOptions . . . . 1 match
          * 윈도우즈 환경이라면 {{{$path='./bin;c:/program files/vim/vimXX';}}}와 같은 식으로 설정한다.
          * UploadFile에서 허용되는 확장자를 지정한다.
  • MyIllust . . . . 1 match
         [[UploadFile]]
  • NPAPI NPRuntime 크롬 파이어폭스 플러그인 만들기 . . . . 1 match
          BLOCK "StringFileInfo"
  • Perl . . . . 1 match
         ["/seek End-Of-File"]
  • Photowork . . . . 1 match
         [[UploadFile]]
  • Python/파일 처리 라인 찾아서 교체, 라인 추가 . . . . 1 match
         == Search and replace text in a file ==
         import fileinput
         with fileinput.FileInput(filename, inplace=True, backup='.bak') as f:
         == Append to a file ==
  • TsukkomiGathering . . . . 1 match
         [[UploadFile]]
  • UI References . . . . 1 match
          * ["/Filezilla 설치"]
  • WinDbg . . . . 1 match
         ||Debugger||REG_SZ||"C:\Program Files (x86)\Debugging Tools for Windows\windbg.exe" -p %ld %e -%ld -g||
         * Drag-and-drop your dump into the "Data files" pane on the main page
  • docker . . . . 1 match
         Dockerfile에 추가
         Invoke-WebRequest -UseBasicParsing -Uri "https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.6/ServiceMonitor.exe" -OutFile "C:\ServiceMonitor.exe"
         첫 줄의 [[code(# escape=,)]]는 Dockerfile에서 powershell 인자를 `으로 여러 줄을 표현하기 위해 쓰일 뿐이며 Docker 설정과 관계가 없다.
         Dockerfile에 추가
         1. %PROGRAMFILES%\Docker Toolbox\start.sh 편집
         [[code(DOCKER_MACHINE_FILE=./docker-machine.exe)]]
         [[code(if [ ! -f "${DOCKER_MACHINE_FILE}" ]; then)]]
         [[code(VM_STATUS="$(${DOCKER_MACHINE_FILE} status ${VM} 2>&1)")]]
         3. [[code(%USERPROFILE%\.docker\machine)]] 폴더들을 설정 변경한 위치로 복사
  • error C2061: 구문 오류 : 식별자 '__RPC__inout_xcount' . . . . 1 match
         '''해결 방법: Windows SDK 6.1 (C:\Program Files\Microsoft SDKs\Windows\v6.1) 폴더를 삭제(혹은 이름 변경)한다. '''
  • hhhyyyaaa . . . . 1 match
         [[UploadFile]]
  • img_up . . . . 1 match
         [[UploadFile]]
  • img_up2 . . . . 1 match
         [[UploadFile]]
  • irc logs/2011 . . . . 1 match
         [11:21] MOTD File is missing
  • irc logs/2013-2017 . . . . 1 match
         [00:45:30] 18<item418> https://usercontent.irccloud-cdn.com/file/W2ZjxzDU/
         [15:04:18] 18<target18> use lib "/csms/module/File-Tail-0.99.3/lib64/perl5";
         [01:26:28] 20<hyacinth>30 {{{http://cfile255.uf.daum.net/image/245FBD3C560C0772052096}}}
         [12:17:32] 20<hyacinth_>30 {{{http://cache.clien.net/cs2/data/file/park/thumb/728x0_70/20150831120638_207bba3514e875a5bbc668321fa7e6ef.png}}}
         [21:05] <04hyacinth> http://steamcommunity.com/sharedfiles/filedetails/?id=340281954
         [19:06] <+라이나> {{{http://postfiles12.naver.net/20131121_299/qq3154_13850405160281qG5I_GIF/5d4532ca.gif?type=w1}}}
  • omr1/3/002 . . . . 1 match
         </div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 12px; line-height: normal; "><div class="post hentry category-42" id="post-2443" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: left; "><h3 class="storytitle" style="font-weight: normal; text-transform: capitalize; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: 돋움, dotum, sans-serif; "><a href="http://gaemon.wordpress.com/2008/10/13/10%eb%85%84-%ec%95%88%ec%97%90-%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%98%eb%b0%8d-%eb%8f%85%ed%95%99%ed%95%98%ea%b8%b0/" rel="bookmark" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">10년 안에 프로그래밍 독학하기</a></h3><div class="meta" style="font-weight: normal; color: rgb(204, 204, 204); letter-spacing: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: left; ">Filed under: <a title="View all posts in 42" href="http://ko.wordpress.com/tag/42/" rel="category tag" target="_blank" style="font-weight: normal; letter-spacing: 0px; color: rgb(102, 102, 102); text-decoration: none; ">42</a> — 개멍 @ 21:52</div><div class="storycontent" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: left; "><div class="snap_preview" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: left; "><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "><a id="yit6" title="피터 노빅 횽아의 유명한 글" href="http://www.norvig.com/21-days.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">피터 노빅 횽아의 유명한 글</a> 번역. <a id="vb" title="다른 분이 번�한 글" href="http://tavon.org/work/21-days" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">다른 분이 번역한 글</a> 도 있긴 한데 품질이 맘에 안 들어서 새로 번역해 봤다. “프로그램하다” 는 말은 요즘 잘 안 쓰이는거 같아서 몇몇 경우 “코딩하다” 는 표현을 사용했다.</p><hr width="100%" size="2"><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">어떤 서점을 들어가도 “7일만에 자바 독학하기” 라든가 그 옆에 나란히 놓인 비주얼 베이직, 윈도우즈, 인터넷 등을 며칠 내지 몇 시간만에 독학하는 방법을 찾을 수 있다. 아래와 같은 고급 검색을 amazon.com 에서 해 봤더니:</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">248 개의 결과가 나왔다. 상위 78 개는 컴퓨터 책이었다. (79위는 “30일만에 벵갈어 배우기” 였다) “며칠만에” 를 “몇 시간 만에” 로 바꿔도 눈에 띄게 비슷한 결과가 나온다. 253 개의 결과 중 상위 77 개는 컴퓨터 책이고 “문법과 문체를 24 시간만에 독학하기” 가 78위로 뒤를 잇는다. 상위 200 개 중에 96% 가 컴퓨터 책이다.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">결론을 내리자면 사람들이 컴퓨터를 배우기 위해 몰려들고 있든가, 아니면 다른 어떤 것보다 컴퓨터가 끝내주게 쉽다는 얘기, 둘 중 하나일 것이다. 베토벤이나 양자 역학이나 심지어 개 빗질하는 법을 며칠 만에 배우는 책은 없다. <a id="jrhs" title="3일만에 파스칼 배우기" href="http://www.amazon.com/exec/obidos/ISBN=1556225679/4094-7934802-027992" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">“3일만에 파스칼 배우기”</a> 같은 책이 어떤 의미일지 생각해 보자:</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">배우기: 3일 이라면, 의미있는 프로그램을 몇 개 짤 시간도 없고, 그 과정의 성공이나 실패로부터 배울 수도 없다. 경험있는 프로그래머와 같이 일하는 환경이 어떤 것인지 이해할 시간도 없다. 잘라 말해, 별로 많이 배울 시간이 안된다. <a id="rfbb" title="알렉산더 포프" href="http://en.wikipedia.org/wiki/Alexander_Pope" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">알렉산더 포프</a> 가 말했듯, 선무당이 사람잡는다.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "><strong><font color="#fe1100" size="3">파스칼: 3일 이라면 파스칼의 문법은 배울 수 있을 것이다 (비슷한 언어를 이미 알고 있다면). 하지만 그 문법으로 뭘 할지를 배우진 못할 것이다.</font></strong> 잘라 말해, 당신이 베이식 (BASIC) 프로그래머라면, 파스칼 문법을 사용해서 베이식 스타일의 프로그램은 짤 수 있겠지만, 파스칼이 정말 좋은지 (또는 나쁜지) 는 알 수 없을 것이다. 그러니 그게 무슨 소용인가? <a id="ilr3" title="알란 펄리스" href="http://www-pu.informatik.uni-tuebingen.de/users/klaeren/epigrams.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">알란 펄리스</a> 가 말했듯이, “프로그래밍에 대해 생각하는 방법을 바꾸지 않는 언어는 알 필요도 없다.” 파스칼을 (실은 비주얼 베이식이나 자바스크립트 쪽이 좀 더 가능성 있겠지만) 약간 배워서 기존에 존재하는 코드와 인터페이싱한다면 뭔가 소용이 되긴 하겠지만, 그런 경우도 프로그래밍을 배우는건 아니다: 그 일을 하는 방법을 배우는 것일 뿐.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">3일 동안이라. 불행히도 이걸론 충분치 않다. 좀 더 설명해 보겠다.</p><h3 style="font-weight: normal; text-transform: capitalize; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: 돋움, dotum, sans-serif; ">10년 동안 프로그래밍 독학하기</h3><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">연구자들 (<a href="http://www.amazon.com/exec/obidos/ASIN/034531509X/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Bloom (1985)</a>, <a href="http://www.norvig.com/21-days.html#bh" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Bryan & Harter (1899)</a>, <a href="http://www.amazon.com/exec/obidos/ASIN/0805803092" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Hayes (1989)</a>, <a href="http://www.norvig.com/21-days.html#sc" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Simmon & Chase (1973)</a>) 은 세상의 많은 일들 중 어느 하나라도 전문적 지식을 갖추려면 10년 정도의 시간이 걸린다는 것을 밝힌 바 있다. 체스라든가, 음악 작곡, 모르스 전신 치는 법, 그림, 피아노 연주, 수영, 테니스, 신경정신학 및 토폴로지 등 모두 마찬가지다. 지름길은 없는 듯 하다: 심지어 <font size="3"><strong><font color="#fe1100">4살 때 음악 신동이었던 모짜르트도 세계적인 음악을 만들기까지는 13년을 기다려야 했다</font></strong>.</font> 장르를 바꿔 얘기하면, 비틀즈는 갑자기 나타나 1964 년부터 연속으로 1위 히트곡을 쏟아내면서 <a id="rg7o" title="에드 설리반 쇼" href="http://en.wikipedia.org/wiki/The_Ed_Sullivan_Show" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">에드 설리반 쇼</a> 에 출연한 것 처럼 보인다. 하지만 그들은 리버풀이나 함부르그의 작은 클럽에서 1957 년부터 활동해 왔고, 그때부터 대중적 호소력이 있긴 했지만, 진정한 첫 번째로 성공한 앨범인 “페퍼 하사” 는 1967 년에 발매되었다. 사무엘 존슨 (1709-1784) 는 심지어 10년도 짧다고 봤다: “어느 분야에서든 탁월함을 보이려면 평생 노력해야 한다. 더 싼 방법은 없다.” 그리고 초서 (1340-1440) 는 “인생은 짧고, 재주를 배우는건 너무 오래 걸리는도다” 고 한탄했다. 히포크라테스 (기원전 400년경) 는 그의 명언 “인생은 짧고, 예술은 길다” 라는 말은 남겼는데, 축약되지 않은 원문은 “Ars longa, vita brevis, occasio praeceps, experimentum periculosum, iudicium difficile” 이며 번역하자면 “인생은 짧고, 재주는 길고, 기회는 잠깐이고, 실험은 믿을 수 없고, 판단은 어렵다.” 이다. 라틴어에서 “ars” 는 예술이나 기술 어느 쪽을 말할 수도 있지만, 원문의 그리스어는 “techne” 이고 이는 “재주” 로 번역되지 “예술” 로 번역되지 않는다.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">내가 제안하는 성공적인 프로그래밍의 요소는 다음과 같다:</p><ul style="list-style-type: none; list-style-position: initial; list-style-image: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">프로그래밍에 흥미를 갖고, 재미로 해 봐라. 계속해서 재미를 느껴서 10년을 버틸 수 있도록 하라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">다른 프로그래머와 얘기하라; <font color="#fe1100" size="3"><strong>다른 이들이 짠 프로그램을 읽어라</strong></font>. 이것이 어떤 책이나 수업보다 더 중요하다.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">코딩하라. <font size="3"><strong><font color="#fe1100">가장 좋은 학습은 </font></strong></font><a id="bxrj" title="해보면서 배우는 것" href="http://www.engines4ed.org/hyperbook/nodes/NODE-120-pg.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; "><font color="#fe1100" size="3"><strong>하면서 배우는 것</strong></font></a> 이다. 더 전문적으로 말하자면, “개인이 특정 영역에서 최고로 발휘할 수 있는 수준은 그저 오랫동안 경험한다고 그냥 배워지는게 아니다. 매우 경험이 많은 개인이라도 발전하려는 노력이 없으면 수준을 높일 수 없다.” <a href="http://www2.umassd.edu/swpi/DesignInCS/expertise.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">(p. 366)</a> 그리고 “가장 효과적인 학습에는 특정 개인에게 맞는 난이도의 잘 정의된 과제와, 유익한 피드백과, 반복해서 잘못을 수정해 나갈 기회가 필요하다.” (p. 20-21) 이러한 관점을 제공하는 <a href="http://www.amazon.com/exec/obidos/ASIN/0521357349" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life</a> 는 흥미로운 참고서적이다.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">원한다면, 대학에서 4년을 보내라 (아니면 대학원에서 더 시간을 보내라). 이렇게 하면 해당 경력을 필요로 하는 직업에 도전할 수도 있고, 이 분야에 대한 더 깊은 이해를 얻을 수도 있다. 하지만 수업을 즐기지 않는다면 (약간의 노력으로) 직업 내에서 비슷한 경험을 얻을 수도 있다. 어느 경우든, 책에서 배우는 것만으론 충분치 않다. “컴퓨터 과학 교육을 듣는다고 전문 프로그래머가 될 수 있다면 붓과 물감을 전공한 누구든 전문 화가가 될 수 있을 것이다” 고 <a id="lhvd" title="The New Hacker's Dictionary" href="http://www.ccil.org/jargon/jargon_toc.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">The New Hacker’s Dictionary</a> 의 저자 <a id="md7x" title="에� 레이몬드" href="http://catb.org/esr/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">에릭 레이몬드</a> 가 말한 바 있다. 내가 고용했던 최고의 프로그래머 중 하나는 고등학교 졸업장밖에 갖고 있지 않았다. 그는 <a href="http://www.xemacs.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">대단한</a> <a href="http://www.mozilla.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">소프트웨어</a> 를 많이 만들었고, 자신만의 <a href="http://groups.google.com/groups?q=alt.fan.jwz&meta=site%3Dgroups" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">뉴스 그룹</a> 도 있으며, 스톡 옵션을 충분히 벌어 자신의 <a id="eirn" title="나이트클럽" href="http://en.wikipedia.org/wiki/DNA_Lounge" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">나이트클럽</a> 까지 만들었다.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><font face="돋움" size="3" ;=""><strong><font color="#fe1100">다른 프로그래머들과 같이 프로젝트에 참여하라</font></strong>.</font> 몇 프로젝트에서 최고의 프로그래머가 되어라. 다른 몇 개에서는 최악의 프로그래머가 되어라. 자신이 최고인 프로젝트에서는 프로젝트를 꾸려나가고, 다른 이들에게 영감을 주는 능력을 시험하라. 최악인 프로젝트에서는 스승들이 무엇을 하고, 무엇을 하기 싫어하는지 배워라 (하기 싫은 것은 당신에게 시킬 것이다).</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">다른 프로그래머들이 이미 일하는 프로젝트에 참여하라. 다른 이들이 쓴 코드를 이해하는데 집중하라. 원 저자의 도움 없이 이해하고 고치는데 얼마나 노력이 드는가 경험하라. 당신이 짠 코드를 관리해야 하는 이들이 쉽게 작업하려면 어떻게 프로그램을 설계해야 할지 생각하라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">최소한 대 여섯개의 프로그래밍 언어를 배워라. 클래스 추상화를 제공하는 언어 (Java 나 C++ 같은) 하나와, 함수 추상화를 제공하는 언어 (Lisp 이나 ML 같은) 하나, 문법 추상화를 제공하는 언어 (Lisp 같은) 하나, 선언형 명세 방법 (declarative specification) 을 지원하는 언어 (Prolog 나 C++ 템플릿 같은) 하나, 코루틴을 제공하는 언어 (Icon 이나 Scheme 같은) 하나, 병렬화를 제공하는 언어 (Sisal 같은) 하나는 꼭 배워라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">“컴퓨터 과학” 에는 “컴퓨터” 가 들어간다는 것을 잊지 마라. 컴퓨터가 인스트럭션 하나를 수행하거나, 메모리에서 워드 하나를 가져오거나 (캐쉬 미스 나는 경우 및 안 나는 경우), 디스크에서 워드를 연속으로 읽어오거나, 디스크를 탐색하는데 얼마나 걸리는지 배워라. (해답은 아래쪽에)</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">언어 표준화 작업에 참여하라. ANSI C++ 위원회에 들어갈 수도 있지만, 주위 사람들의 인덴트 스타일이 공백 2 개인지 4 개인지 결정하는 일일 수도 있다. 어느 경우든, 다른 이들이 특정 언어에서 무엇을 좋아하는지, 얼마나 좋아하는지, (운이 좋으면) 왜 그렇게 느끼는지 배울 수 있다.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">위 언어 표준화 작업에서 가능한 빨리 빠져나오는 센스를 키워라.</li></ul><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">이 모두를 염두에 두면, 책에만 의존해서 얼마나 배울 수 있는지 의문스럽다. 내 첫 아이가 태어나기 전, 나는 모든 “~하는 법” 류의 책들을 다 읽었지만 그럼에도 아직도 대책없는 초보라고 느꼈다. 30달이 지나 내 두 번째 아이가 태어날 때 쯤, 기억을 되살리려 그 책들을 다시 읽었을까? 아니다. 나는 개인적 경험에 의존했고, 전문가들이 쓴 수천 페이지보다 그 쪽이 훨씬 유용하다는 확신을 줬다.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">프레드 브룩스는 그의 에세이 <a href="http://citeseer.nj.nec.com/context/7718/0" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">No Silver Bullets</a> 에서, 훌륭한 소프트웨어 설계자를 찾는 세 가지 방법을 제시했다.</p><ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">가능한 일찍, 최고 설계자감을 체계적으로 찾아내라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">경력 개발을 책임질 멘토를 붙여주고, 재능을 계발하는 책임을 부여하라. 신중하게 경력을 쌓게 하라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">자라나는 설계자들이 서로 소통하고 자극할 기회를 만들어 줘라.</li></ol><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">이 말은 훌륭한 설계자감은 이미 처음부터 그럴 자질이 있다는 것을 암시한다. 신경 써야 하는 부분은 그들끼리 제대로 얽히게 하는 것이다. <a id="ep_c" title="알란 펄리스" href="http://www-pu.informatik.uni-tuebingen.de/users/klaeren/epigrams.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">알란 펄리스</a> 가 더 간단히 말한 바 있다: “누구에게나 조각을 가르칠 수 있지만, 미켈란젤로에게는 조각을 못하게 가르칠 수는 있어도 조각은 가르칠 방법이 없다. 훌륭한 프로그래머도 마찬가지다.”</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">그러니 가서 그 자바 책을 사라. 뭔가 소용은 있을 것이다. 하지만 그 책은 당신의 인생을 바꿀 수도 없고, 프로그래머로서의 전문성을 24시간 안에, 며칠 안에, 심지어 몇 달 안에 가르치진 못할 것이다.</p><h3 style="font-weight: normal; text-transform: capitalize; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: 돋움, dotum, sans-serif; ">참고문헌</h3><ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Bloom, Benjamin (ed.) <i><a href="http://www.amazon.com/exec/obidos/ASIN/034531509X" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Developing Talent in Young People</a></i>, Ballantine, 1985.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Brooks, Fred, <i><a href="http://citeseer.nj.nec.com/context/7718/0" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">No Silver Bullets</a></i>, IEEE Computer, vol. 20, no. 4, 1987, p. 10-19.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Bryan, W.L. & Harter, N. “Studies on the telegraphic language: The acquisition of a hierarchy of habits. <i>Psychology Review</i>, 1899, 8, 345-375</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Hayes, John R., <i><a href="http://www.amazon.com/exec/obidos/ASIN/0805803092" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Complete Problem Solver</a></i> Lawrence Erlbaum, 1989.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Chase, William G. & Simon, Herbert A.<a href="http://books.google.com/books?id=dYPSHAAACAAJ&dq=%22perception+in+chess%22+simon&ei=z4PyR5iIAZnmtQPbyLyuDQ" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">“Perception in Chess”</a> <i>Cognitive Psychology</i>, 1973, 4, 55-81.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Lave, Jean, <i><a href="http://www.amazon.com/exec/obidos/ASIN/0521357349" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life</a></i>, Cambridge University Press, 1988.</li></ol><h3 style="font-weight: normal; text-transform: capitalize; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: 돋움, dotum, sans-serif; ">부록: 언어 선택</h3><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">몇 사람들이 맨 처음 무슨 프로그래밍 언어를 배워야 할지 물어왔다. 하나의 정답은 없지만, 이런 점들을 생각해 보자.</p><ul style="list-style-type: none; list-style-position: initial; list-style-image: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><b>친구들을 사용하라.</b> “어떤 OS 를 써야 할까? 윈도우즈, 유닉스, 아니면 맥?” 이라고 누가 내게 물어보면, 난 보통 이렇게 대답한다: “친구들이 쓰는걸 써라.” 친구들에게서 배울수 있다는 장점은 OS 나 프로그래밍 언어의 어떤 근본적 차이점보다도 더 큰 잇점이다. 또 앞으로 사귈 친구들을 고려하라: 해당 언어 사용자 커뮤니티에 당신도 참여하게 될 것이다. 선택한 언어의 사용자 커뮤니티가 계속 커지고 있는가, 아니면 사라지고 있는가? 해답을 찾을 수 있는 책이나, 웹 사이트나, 온라인 게시판이 있는가? 그 게시판에 있는 사람들이 맘에 드는가?</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><b>간단한 것을 골라라.</b> C++ 나 자바 같은 언어는 경험 많은 프로그래머들이 큰 팀으로 모여서 전문적인 개발을 하기 위한 것이고, 런타임 성능에 신경을 쓴다. 그렇기 때문에 이 언어들에는 그런 상황에 맞는 복잡한 부분들이 있다. 당신은 프로그램을 배우는데 신경을 써야 한다. 그런 복잡한 부분은 필요없다. 한명의 신인 프로그래머가 배우기 쉽고 기억하기 쉬운 언어를 골라라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><b>갖고 놀아라.</b> 피아노를 어떻게 배우고 싶은가? 흔히 하듯이 인터랙티브하게, 건반을 치면 곧 소리가 들리는 방식으로 하고 싶은가? 아니면 “뱃치” 방식으로, 한 곡을 다 쳐야만 소리가 나는 식으로 배우고 싶은가? 당연히, 인터랙티브 모드 쪽으로 피아노를 배우는 편이 쉽다. 프로그래밍도 마찬가지다. 반드시 인터랙티브 모드가 있는 언어를 선택하고 그 모드를 사용하라.</li></ul><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">이런 기준을 놓고 볼 때, 내가 추천하는 첫 번째 언어는 <b><a id="i" title="파이쏜" href="http://python.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">파이쏜</a></b> 이나 <b><a href="http://www.schemers.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">스킴</a></b> 이다. 하지만 당신의 상황은 다를 수 있고, 다른 좋은 대안들도 있다. 나이가 한자리 숫자라면 <a id="e8ve" title="앨리스" href="http://alice.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">앨리스</a> 나 <a id="j83l" title="스퀵" href="http://www.squeak.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">스퀵</a> 을 좋아할 수도 있다 (나이가 들었다고 싫어할 이유는 없다). 중요한 것은 일단 선택하고 시작하는 것이다.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "></p></div></div><div class="feedback" style="clear: both; font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; color: rgb(204, 204, 204); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: left; "></div></div><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "> </p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "><a href="http://gaemon.wordpress.com/2008/10/13/10%EB%85%84-%EC%95%88%EC%97%90-%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D-%EB%8F%85%ED%95%99%ED%95%98%EA%B8%B0/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">http://gaemon.wordpress.com/2008/10/13/10년-안에-프로그래밍-독학하기/</a></p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "> </p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">여기서 긁어왔음.</p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">결국 핵심은 공부엔 왕도가 없다.</p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">날로 먹을려고 들지 마라.</p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "> </p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">프로그래밍 잘 하고 싶으면, 코딩 많이 해봐라.</p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">라는 얘기.</p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "> </p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">당연한 말이면서 중요하고, 핵심을 찌르는 말들이네요.</p></span></div>
  • omr1/403/01 . . . . 1 match
          char *filename;
          Space-Separated Values files 기반의 푸시푸시 최고점수 파일 사양에 대한 스펙
          filename = "highscore.txt";
          FILE *fp = fopen(filename, "r"); // highscore.txt 파일을 읽기 모드로 연다.
          fp = fopen(filename, "w");
          FILE *fp = fopen(filename, "r"); // highscore.txt 파일을 읽기 모드로 연다.
          FILE *fp = fopen(str, "r"); // 파일을 연다.
          cout << "! File open ERROR." << endl;;
  • omr1/5/002/001 . . . . 1 match
          FILE *fp = fopen("out.txt", "w");
          printf("File open ERROR!\n");
  • omr1/5/002/081016 . . . . 1 match
          puts("3. Print the list of \"out.txt\" file");
          FILE *fp = fopen("out.txt", "w");
          printf("File open ERROR!\n");
  • omr1/5/002/081106 . . . . 1 match
          FILE *fp = fopen("input.txt", "r");
          printf("File open ERROR!\n");
  • 윈도우 배치 파일에서 비동기로 실행 . . . . 1 match
         #keywords Batch File,Script,Windows,비동기
  • 윈도우 커널 패닉 유형 Minidump . . . . 1 match
         bmsfile2drv.sys 발생. GRADIUS DLP File Filter Driver ( Timestamp: Mon May 07 16:56:33 2012 (4FA78031) )
  • 윈도우에서 쓰이는 명령어 . . . . 1 match
         Files and Settings Transfer Wizard [Migwiz.exe]
  • 유니코드에 대해 . . . . 1 match
         UTF-8은 켄 톰슨과 롭 파이크가 만든 가변 길이 문자 인코딩 방식이다. 본래 FSS-UTF(File System Safe UCS/Unicode Transformation Format)이란 이름으로 제안되었다.
  • 학부/3학년 . . . . 1 match
         ▶ 윈도우 공유 폴더를 CIFS (Common Internet File System;마이크로소프트에서 개발하고 사용중인 프로토콜) 형태로 마운트 한다. 리눅스 상에서 마운트 되었으므로 네트워크 디렉토리 역시 로컬 디렉토리와 같이 탐색과 실행이 가능하다.
Found 90 matching pages out of 1201 total pages

You can also click here to search title.