- Interaction developer
- oracle
- postman html parse
- postman collection variables
- postman pre-request
- 프런트엔드
- LSL_Script
- web developer
- 다빈치 리졸브
- 우수한 프런트 개발자
- Intellij
- C++
- postman excel
- c#
- Unity
- emplace_back
- postman session
- Front-end developer
- Android
- UI/UX Engineer
- postman
- MFC
- postman csv
- Android/iOS Developer
- postman tests
- 좋은 개발자
- solidity
- postman collection
- Java
- postman automations
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Today
- Total
목록전체 글 (174)
david's daily developer note
android:layout_height="wrap_content" android:gravity="top" android:singleLine="false" android:lines="5" android:layout_marginLeft="10dip" android:layout_marginRight="10dip" />
표본 분산 및 표본 표준편차는 -예:20, 10, 15, 15 에 대한 표준편차 평균은 (20+10+15+15)/4 = 15이고, 평균으로부터의 편차는 각 5, -5, 0, 0 이므로, 표준편차는
class FileSysInfo { static void Main() { // You can also use System.Environment.GetLogicalDrives to // obtain names of all logical drives on the computer. System.IO.DriveInfo di = new System.IO.DriveInfo(@"C:\"); Console.WriteLine(di.TotalFreeSpace); Console.WriteLine(di.VolumeLabel); // Get the root directory and print out some information about it. System.IO.DirectoryInfo dirInfo = di.RootDire..
(펌) 저자: 한동훈 지난 시간에는 동기화에 대해서 이야기 했으며, 멀티 쓰레드 환경에서 어떤 문제가 생길 수 있는지 간략히 살펴보았다. 여러 개의 쓰레드가 하나의 정수 데이터를 공유하는 것은 빈번하기 때문에 정수 데이터의 증가와 감소를 동기화할 수 있는 Interlocked 클래스가 제공된다. 이것은 동기화의 가장 간단한 형식에 속한다. 그러나 정수형이 아닌 데이터베이스에 데이터를 쓰거나 읽는 작업을 쓰레드를 이용해서 동시에 처리한다면 데이터를 저장하는 동안에는 데이터를 읽지 못하게 해야하고, 데이터를 읽는 동안에는 데이터를 쓰지 못하도록 하는 것이 필요하다. 이와 같이 하나의 쓰레드가 공유 데이터를 사용하고 있으면 다른 쓰레드들이 접근하지 못하도록 하는 것을 베타적 접근이라한다. 멀티 쓰레드에서 베타..
특정 경로의 파일 스트림을 읽는 서브 프로그램이 있다. 서브 프로그램을 다수 실행하도록 동작하는 메인 프로그램이 있을 때, 서브 프로그램의 파일 경로는 어떻게 될까? 다음은 메인 프로그램이다. 현재 자신의 디렉토리에 존재하는 "queryMachin.exe"를 수행한다. try { string mainPath = Environment.CurrentDirectory + "\\queryMachin\\bin\\Debug\\queryMachin.exe"; Process.Start(mainPath); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } 다음은 서브 프로그램으로, 마찬가지 자신의 디렉토리(Debug)에 존재하는 test.txt 파일을 읽는다. ..
응용 프로그램이 개발된 환경에서, 특정 경로의 파일을 참조하게 되어있다면, 실행될 환경에서도 해당 파일을 문제없이 참조하게 고려해야한다. 보통 log파일이나, 유저 정의 파일시스템, 기타 파일등이 있겠다. 아래는 현재 프로젝트 폴더의 경로를 가져오는 방법이다. String currentPath = Environment.CurrentDirectory; Console.WriteLine(currentPath); Encoding euckrEncode = Encoding.GetEncoding("euc-kr"); StreamReader sr = new StreamReader(currentPath + "\\test.txt", euckrEncode);
String Format for Double The following examples show how to format float numbers to string in C#. You can use static method String.Format or instance methods double.ToString and float.ToString. Digits after decimal point This example formats double to string with fixed number of decimal places. For two decimal places use pattern „0.00“. If a float number has less decimal places, the rest digits ..
using 문의 try - catch 확장 using과 foreach 문을 사용하게 되면 IL 코드로 변환될 때 try/catch 구조로 변환된다. 예를 들어, C# 명세서 8.13 the using statement에 설명된 것을 보자. using (ResourceType resource = expression) statement C# 명세서에 따르면 위와 같은 코드에서 ResourceType이 값 타입(value type)이면 다음과 같은 형태로 변환된다. { ResourceType resource = expression; try { statement; } finally { ((IDisposable)resource).Dispose(); } } 반면에, ResourceType이 참조 타입(referen..
일반적으로, 윈도우 응용 프로그램을 개발할 때, 자주쓰는 텍스트 박스나, 버튼 컨트롤을 폼에 배치하려면, 단순하게, 도구상자에서 컨트롤을 선택하고, 윈도우 폼에 클릭만 하면 되었다. 이 과정에서 VS는 자동으로 컨트롤의 인스턴스를 생성해주고, 기본 속성값으로 초기화도 해준다. 또한 컨트롤에 이벤트를 추가하는 것은, 단순히 이벤트 탭에서 추가하고자 하는 이벤트를 선택만하면 됨으로 매우 단순하고 직관적이다. 이와같이 편리할 툴을 이용해서, 윈도우 응용 프로그램을 개발을 쉽게 할 수 있다. 하지만, 어떤 경우에서는 고정된 UI가 아닌 사용자의 선택에 따라 변화하는 다양한 경우의 UI를 개발할 필요가 존재한다. 예를 들어, 그래픽툴, UI제작툴, 프로토타입 제작툴 등, 당연하지만, IDE에서 제공하는 UI 컨포..