t-cann/embeddingPython

Run Python From File

Closed this issue · 1 comments

Basic example to enable taking python code out of C++ File.

Understanding File Pointer C++

#include <cstdio>
int main (){
FILE * pFile;
pFile = fopen ("myfile.txt","r");
if  (pFile!=NULL)
{
 //Do Somthing.
}
}