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 |
Tags
- PostgreSQL
- dll
- 셋업
- 인스톨
- Visual Studio 2005
- MySQL
- SQL
- 델파이
- vb
- Visual Basic
- 데이터베이스
- Delphi
- xml
- 설치
- 소니
- MFC
- WIN32 SDK
- 파라미터
- 예제
- 문자열
- winsock
- Firebird
- 시리얼 통신
- 파이어버드
- c#
- 입문
- 기초
- 초보
- SDK
- VB.NET
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