Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- xml
- MFC
- 데이터베이스
- vb
- VB.NET
- 파이어버드
- 초보
- PostgreSQL
- 예제
- 셋업
- WIN32 SDK
- 파라미터
- 시리얼 통신
- Firebird
- Visual Basic
- 설치
- 소니
- Delphi
- dll
- 델파이
- Visual Studio 2005
- winsock
- 문자열
- 인스톨
- MySQL
- c#
- SDK
- SQL
- 기초
- 입문
Archives
- Today
- Total
목록디렉토리 (2)
프로그래밍 노트
C#| 지정 디렉토리 밑의 파일명 가져오는 소스 예제
using System;using System.IO; namespace DirectoryTest{ class Program { static void Main(string[] args) { if (args.Length < 1) { Console.WriteLine("디렉토리명 입력 안함"); return; } // 지정 디렉토리의 유무 확인 if (!Directory.Exists(args[0])) { Console.WriteLine("찾는 디렉토리 없음"); return; } DirectoryInfo dir = new DirectoryInfo(args[0]); FileInfo[] files = dir.GetFiles(); // foreach 배열의 갯수를 모를 때, 모든 배열만큼 돈다. foreach (Fi..
C#/기초
2012. 12. 13. 23:13
현재 작업 디렉토리 얻기
현재 작업 디렉토리 얻기 #include #include // _getcwd #include // _MAX_PATH #include // _getch void main() { char szPath[_MAX_PATH]; // 최대 패스 길이[260] // 실행 파일이 있는 디렉토리 얻기 _getcwd(szPath, _MAX_PATH); printf("실행파일이 있는 디렉토리\->%s\n", szPath); printf("아무키나 누르세요\"); _getch(); }
Win32 SDK 초보
2007. 6. 12. 11:15