programming/C, C++, C# 썸네일형 리스트형 [C#] DLL 가져오기 이미 등록이 된 경우에는 다음과 같이 간편하게 사용이 가능하다. [DllImport("kernel32")] private static extern long WritePrivateProfileString(string section, string key, string val, string filePath); 그러나 DLL 가져오는 것을 인터넷으로 찾아보는 이유는 이미 위 같은 방법으로 되지 않았기 때문이라 본다. .Net 3.5 이상부터는 적당히 인자와 형태가 맞아서는 돌아가지 않는다. "호출 규칙" 이라는 것을 지켜줘야 할 수 있다. 아래는 Cpp 에서 컴파일된 동적라이브러리 파일(DLL) 을 C# 에서 가져오는 방법이다. // 인자가 없는경우. [DllImport(FileName, CallingConve.. 더보기 [C#] 프로젝트 절대 경로 // Application.StartupPath var appPath = Application.StartupPath; 더보기 [CPP] Generics 안녕하세요. Bot - binoo 입니다.오늘은 [CPP] Generics와 관련된 주제로 간단하게 정리 해볼까 합니다. Generics : 포괄적인, 총칭의 (네이버 사전)Generics 를 쉽게 말씀드리자면, 어떤 것이 와도 좋다! 입니다. CPP에서 Generics 는 Template 로 많이 쓰입니다.Java에서는 T 혹은 ? 로 구현되는 부분이기도 합니다. List 가 하나 있다고 합시다.List A; List Aindex Value Format -- - 처음 생성시에는 이 리스트에 어떤 값(정확히는 물린 인덱스)도 없습니다.// A 리스트에 하나의 개체를 넣는다. A.push_back( 20 ); List AindexValueFormat020Integer -- - 첫 데이터는 숫자가 입력되었습.. 더보기 [CPP] Queues and Stacks (30 days of learn) > Quest.Write the following declarations and implementations: Two instance variables: one for your , and one for your . A void pushCharacter(char ch) method that pushes a character onto a stack. A void enqueueCharacter(char ch) method that enqueues a character in the instance variable. A char popCharacter() method that pops and returns the character at the top of the instance variable. A char de.. 더보기 이전 1 다음