jupyter-cpp-kernel
jupyter-cpp-kernel copied to clipboard
Continuous memory on Jupyter C++
This feature allows multiple blocks of code to interact with each other. For example, these following blocks can share the variables, functions, and memory address of them altogether:
- Block 1:
int a = 5;
int function(int a) {return a * 2;}
- Block 2:
std::cout << a << "\n";
std::cout << function(a) << "\n";