jupyter-xeus / xeus-cling

Jupyter kernel for the C++ programming language
BSD 3-Clause "New" or "Revised" License
3.02k stars 292 forks source link

putchar doesn't work #448

Open Misaka-No-10032 opened 1 year ago

Misaka-No-10032 commented 1 year ago

As mentioned, I tried to print a string with putchar(). However, it doesn't work as expected in Jupyter. Initially, I thought it was cling that doesn't support this operation but I found that the function works well in both cling interpreter and clang compilor. Below are some screenshot, any help is appreciated. Thanks in advance.

print c main c clang_cling jupyter