+ 2

Why is Python not working

I embed python into c++ but not working https://code.sololearn.com/ctLk92fnD5TE/?ref=app

24th Apr 2020, 10:16 AM
Dove
Dove - avatar
1 Answer
+ 3
1) there are missing break lines (at least after the second include argument to avoid extra token compilation warning, but more for readabilty ^^) 2) the <Python.h> is not available in code playground context (compilation done on server side, not on your device ;)) Maybe this link would help for local compilation anyway: https://stackoverflow.com/questions/11041299/python-h-no-such-file-or-directory
24th Apr 2020, 11:10 PM
visph
visph - avatar