For any startup code you need to at least Google your problem once. If you had, you could have found this detailed article on CodeProject,
Embedding Python program in a C/C++ code[
^].
Even a simple code would be, to write a Python script and then execute that using Python interpreter, instead of embedding it and compiling it to native — you get to call Python interpreter using C language e.g
system
[
^] function call.