# How can I call Mathematica Solve/NSolve function in C++

**URL:** <https://community.wolfram.com/t/how-can-i-call-mathematica-solve-nsolve-function-in-c/21384>\
**Category:** Questions\
**Tags:** equation-solving, external-interfaces, wolfram-engine\
**Created:** [January 11, 2023, 3:47am UTC](https://community.wolfram.com/t/how-can-i-call-mathematica-solve-nsolve-function-in-c/21384 "2023-01-11T03:47:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![1107322110](https://avatars.discourse-cdn.com/v4/letter/1/919ad9/32.png) [@1107322110](https://community.wolfram.com/u/1107322110)\
**Post date:** [January 11, 2023, 3:47am UTC](https://community.wolfram.com/t/how-can-i-call-mathematica-solve-nsolve-function-in-c/21384/1 "2023-01-11T03:47:44Z")

</div>

Actually, I have coded one example that calls Mathematica Solve/NSolve function in C++ by using WSTP link. However, since I have many equation systems which need Mathematica Solve/NSolve function, I don’t know how to create a continuous link between C++ and Mathematica to keep solving equation systems by using Mathematica Solve/Nsolve function.

Could anyone help me or just send me some related materials to solve this problem? Thanks a lot!
