끄적끄적 메모공간
close
프로필 배경
프로필 로고

끄적끄적 메모공간

  • 분류 전체보기 (530) N
    • [====== Development ======] (399)
      • C# (138)
      • C++ (25)
      • Python (40)
      • Android (14)
      • React (16)
      • Flutter (63)
      • DICOM (14)
      • Etc (89)
    • [====== 주식 , 경제 ======] (58)
    • [========== Etc =========] (28)
  • 홈
  • 태그
  • 방명록
vcpkg의 DCMTK 라이브러리 사용시 빌드 에러 문제점 해결

vcpkg의 DCMTK 라이브러리 사용시 빌드 에러 문제점 해결

문제점 vcpkg에서 DCMTK 라이브러리 설치 후 아래와 같이 코드에서 사용하려 할때 Link에러가 발생함 #include vid Test() { //OFCondition status; DcmStorageSCU scu; scu.clear(); scu.setDecompressionMode(DcmStorageSCU::DM_never); scu.setVerbosePCMode(true); scu.setDIMSEBlockingMode(DIMSE_BLOCKING); scu.setReadFromDICOMDIRMode(false); scu.setHaltOnInvalidFileMode(true); scu.setAllowIllegalProposalMode(true); OFList ts; ts.push_back(UID_L..

  • format_list_bulleted [====== Development ======]/C++
  • · 2022. 5. 17.
  • textsms

[MFC] 멀티 터치 샘플 코드

https://vsts2010.tistory.com/397 [MFC/윈도우 7 멀티터치] #6 : 예제 코드 올립니다 안녕하세요 ~ MFC 카테고리의 꽃집총각 입니다. 이번에는 그 동안 함께 멀티터치를 공부하면서 다뤄보았던 예제 프로그램들의 소스를 정리해 보았습니다. 아래 코드를 다운 받으세요 :) Gesture : WM vsts2010.tistory.com

  • format_list_bulleted [====== Development ======]/C++
  • · 2022. 4. 12.
  • textsms

[C++] CString <-> const char* 변환

// CString -> const char * CString cstr = _T("aaa"); CStringA astr = (CStringA)cstr; Const char* pstr = astr.GetBuffer(); // const char * -> CString const char* pstr = "aaa"; CString cstr; cstr = (CString)pstr;

  • format_list_bulleted [====== Development ======]/C++
  • · 2021. 11. 24.
  • textsms

C++에서 Python 임베딩하기

https://learning-python.com/class/Workbook/unit16.htm Learning Python: Unit 16, Embedding learning-python.com https://m.blog.naver.com/sogangori/220701662749 C/C++ 결합, Embedded Python C++ call Python Python is not compiled. just C++ call python dynamically. 클리앙에서 가져온 내용... blog.naver.com http://books.gigatux.nl/mirror/pythonprogramming/0596000855_python2-CHP-20-SECT-5.html http://books.gigatux.n..

  • format_list_bulleted [====== Development ======]/C++
  • · 2021. 9. 17.
  • textsms
[C++] Unique한 파일명 만들기

[C++] Unique한 파일명 만들기

std::string StoreSCPService::GetDirectoryPath(std::string filePath) { std::string dirPath; const size_t last_slash_idx = filePath.rfind('\\'); if (std::string::npos != last_slash_idx) { dirPath = filePath.substr(0, last_slash_idx); } return dirPath; } std::string StoreSCPService::GetUniqueFilePath(std::string filePath) { std::string dirPath = GetDirectoryPath(filePath); std::string fileName = ba..

  • format_list_bulleted [====== Development ======]/C++
  • · 2021. 8. 6.
  • textsms

[C/C++] std::string 포맷스트링(Formatted String) 구현 방법

디버깅 환경이 별도로 구현되지 않은 프로젝트에서는 윈도우 기본 디버그 API인 OutputDebugString()을 사용해서 디버그 로그를 출력한다. 그러나 OutputDebugString()은 가변 인자 포맷 스트링(Formatted String)을 지원하지 않아서 상당히 불편하다. MFC 환경에서라면 CString의 Format()으로 문자열을 어느 정도 구현할 수 있겠지만, 다른 C/C++ 프로젝트 환경에서는 std::string 및 std::wstring을 주로 사용하기 때문에 포맷스트링을 매번 구현하기가 번거로운 편이다. 그래서 자주 사용되는 std::string의 포맷스트링 구현을 간단히 작성해두고 그대로 복사하여 사용한다. 아래에 멀티바이트(std::string) 및 유니코드(std::wst..

  • format_list_bulleted [====== Development ======]/C++
  • · 2021. 8. 6.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • 4
  • 5
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (530) N
    • [====== Development ======] (399)
      • C# (138)
      • C++ (25)
      • Python (40)
      • Android (14)
      • React (16)
      • Flutter (63)
      • DICOM (14)
      • Etc (89)
    • [====== 주식 , 경제 ======] (58)
    • [========== Etc =========] (28)
최근 글
인기 글
최근 댓글
태그
  • #c#
  • #도지코인 거래소
  • #Bitcoin
  • #비트코인
  • #Python
  • #이더리움
  • #Style
  • #WPF
  • #XAML
  • #블록체인
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바