jupyter-cpp-kernel icon indicating copy to clipboard operation
jupyter-cpp-kernel copied to clipboard

Continuous memory on Jupyter C++

Open shiroinekotfs opened this issue 7 months ago • 0 comments

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";

shiroinekotfs avatar Apr 12 '25 17:04 shiroinekotfs