목록전체 글 (103)
배움 저장소

Why is 1000 = -8 in signed 4-bit binary? I was wondering why 1000 in signed 4-bit binary notation is equal to -8 in decimal. From my understanding, the 1 simply states that sign (1 being negative and 0 being positive) it has no real decimal value. I have read that it is not possible to correctly www.physicsforums.com Signed int의 첫 번째 비트는 부호를 나타내고 나머지 비트는 숫자를 나타낸다. Signed Int의 양수 4비트로 숫자를 표현해보자 양..

대구 지역에서 채용공고를 올린 기업을 뒤져보다가 드림에이스(Drimaes)를 발견했습니다. 유튜브에서 한창 인기있었던 좋소좋소를 본 이후라 대기업보다 규모가 작은 기업에 대한 두려움이 마냥 커져가고 있었는데요. 드림에이스는 어떤 기업일까요? 찾아보았습니다. 1. 시리즈 A 투자유치를 이끌어낸 기업? 드림에이스는 시리즈 A(125억)를 투자 받았습니다. 보통 스타트업은 투자를 받기 위하여 투자자에게 많은 정보를 넘겨줍니다. 재무재표와 비지니스모델과 비전. 투자자는 스타트업의 재무상황, 사업모델을 평가하여 미래가치를 보고 투자합니다. 투자자가 돈이 남아돌아서 돈을 빌려줄까요? 아마 자기 돈이 모두 날라갈 위험을 안을 만큼 Drimaes의 무언가를 보았기 때문에 돈을 빌려주었을 것 같습니다! 드림에이스는 20..

https://wiki.qt.io/MSYS2 MSYS2 - Qt Wiki En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh MSYS2 and MSYS2 (Minimal SYStem 2) is an independent rewrite of MSYS, a (command-line) shell for development usage, and based on modern Cygwin (POSIX compatibility layer) and MinGW- wiki.qt.io MSYS2를 사용하면 Windows에서 Linux Terminal을 사용할수 있다. MSYS2에서 QT를 설치하여 사용해보자. 설치 1. MSYS2에가서 Bin..
Set up for C++ 17 - MSVC을 Command Line으로 실행한다면 "/std:c++17",를 추가해주어야 한다. - "/std:c++20"이나 "/std:c++latest"를 사용할 수도 있다. 1. Range Based 반복문. vector v = {0,1,2,3,4}; for(int value : v) std::cout
https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/ Find First and Last Position of Element in Sorted Array - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Solution 1: 반복문의 조건문에서 target값을 찾은 코드 class Solution { public: vector searchRange(vector&..
https://leetcode.com/problems/jump-game/submissions/ Jump Game - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 디버깅이 없었다면 이 문제를 못 풀었을 거 같다. 뭐가 문제인지 따라가보면서 확인하고 로직을 고치니 한결 수월했다. 이때까지 디버깅을 왜 안썼나 싶다. class Solution { public: bool canJump(vector& nums) { saved_nums = nums; count = sav..
https://cognitivewaves.wordpress.com/makefiles-windows/ Makefiles in Windows A look at the nuanced differences between a Linux and Windows Makefile. Start a command prompt which can execute NMake. An easy way is to start a command prompt from Visual Studio (Tools->Visual… cognitivewaves.wordpress.com https://dev.to/masoudr/build-and-debug-c-application-with-vscode-and-msvc-pfc Build and Debug C+..