Programming 530

(C++) variant와 monostate

variant의 첫 번째 타입으로 monostate를 주면 variant 자체에 디폴트 값이 생겨서 디폴트 값을 부여하지 않아도 된다. 예제: #include #include #include struct S { S(int i) : i(i) {} int i; }; int main() { // Without the monostate type this declaration will fail. // This is because S is not default-constructible. std::variant var; assert(var.index() == 0); try { std::get(var); // throws! We need to assign a value } catch(const std::bad_vari..

Programming 2023.09.07

Continuations in Common Lisp. An introductory guide, using the… | by Ashok Khanna | Medium

Continuations in Common Lisp. An introductory guide, using the… | by Ashok Khanna | Medium Continuations in Common Lisp An introductory guide, using the continuation-passing macros of Paul Graham’s On Lisp ashok-khanna.medium.com Continuations in Common Lisp An introductory guide, using the continuation-passing macros of Paul Graham’s On Lisp Ashok Khanna · Follow 7 min read · Aug 17, 2021 62 Co..

Programming 2023.09.07

[c++]리스트 sort 하는 방법 (tistory.com)

[c++]리스트 sort 하는 방법 (tistory.com) [c++]리스트 sort 하는 방법 C++ #include #include int main() { std::list lst; lst.push_back(5); lst.push_back(1); std::sort(lst.begin(), lst.end()); return 0; } 당연하다는 듯이 이런 코드를 작성한 적이 있는데 sort 부분에서 에러가 뜬다. 이유는 아래와 blossoming-man.tistory.com C++ #include #include int main() { std::list lst; lst.push_back(5); lst.push_back(1); std::sort(lst.begin(), lst.end()); return 0; ..

Programming 2023.08.20

Product Keys - Visual Studio Subscriptions Portal

Product Keys - Visual Studio Subscriptions Portal Azure DevOps Services | 로그인 현재 사용자 환경에서 Microsoft Internet Explorer의 보안 강화 구성이 사용하도록 설정되어 있습니다. 이 보안 강화 수준으로 인해 웹 통합 환경이 정상적으로 표시되거나 작동할 수 없습니다. 작업을 app.vssps.visualstudio.com Visual Studio Express를 비롯한 키와 설치 프로그램을 다운로드받을 수 있다. (MS 계정 필요)

Programming 2023.05.23

SharpDevelop - Visual Studio 를 대체할 강력한 .NET IDE!

https://slaner.tistory.com/81 SharpDevelop - Visual Studio 를 대체할 강력한 .NET IDE! .NET 을 개발하시는/공부하시는 분들 중 Visual Studio 를 사용하시는 분이 매우 많을 것입니다.마이크로소프트의 Visual Studio. 상당히 좋습니다. 각종 도구를 지원하고, 강력한 IntelliSense 기능도 있고 slaner.tistory.com .NET 을 개발하시는/공부하시는 분들 중 Visual Studio 를 사용하시는 분이 매우 많을 것입니다. 마이크로소프트의 Visual Studio. 상당히 좋습니다. 각종 도구를 지원하고, 강력한 IntelliSense 기능도 있고 다양한 플랫폼의 프로그램을 개발할 수 있죠. WPF, Silverl..

Programming 2023.05.08