Learning 3

VSC Jupyter notebook Kernel Error

Python 공부를 하면서 필요한 패키지들을 다운로드 받고 실행을 하다가 어느 순간부터인가 Jupyter notebook을 실행시 Kernel failed Error 가 발생하기 시작했다. 1. "여기"를 클릭한 결과 Failure to start kernel due to failures in importing modules from files · microsoft/vscode-jupyter Wiki · GitHub Failure to start kernel due to failures in importing modules from files VS Code Jupyter extension. Contribute to microsoft/vscode-jupyter development by creating a..

Learning/Python 2023.07.20

C++

- 홍정모의 따라하며 배우는 C++ 함수를 만들어서 사용할 때, 메모리는 어떻게 쓰일까? 그냥 봤을 때에는 변수를 함수의 parameter로 받아서 가져올 때 그대로 값을 쓰는 것처럼 보인다. 하지만 주소값을 들여다 보면, 실제로 parameter로 받아온 변수는 다시 선언이 되고, argument로 들어온 변수에 들어있는 값이 재선언된 변수에 복사 되는 형태이다. 메모리 1개만 쓰면 될 것을 2개 쓴다고 볼 수 있다. 변수 a와 b를 더하는 간단한 함수 구현 #include using namespace std; int add(int a, int b) { cout

Learning 2023.03.24