How do you connect a C++ file to React?
For further actions, you may consider blocking this person and/or reporting abuse
How do you connect a C++ file to React?
For further actions, you may consider blocking this person and/or reporting abuse
19 Valuable GitHub Repositories for beginner devs looking to take the first step into the web development career.
Kate -
Lukas Gaucas -
Anand Das -
Kristijan Pajtasev -
Once suspended, yobretyo will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, yobretyo will be able to comment and publish posts again.
Once unpublished, all posts by yobretyo will become hidden and only accessible to themselves.
If yobretyo is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Bret.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community π©βπ»π¨βπ» safe. Here is what you can do to flag yobretyo:
Unflagging yobretyo will restore default visibility to their posts.
Oldest comments (8)
Run C++ in your backend/server. Communicate with it from your frontend with http requests.
through wasm
Make a browser which can also parse c++.
Good luck
Use C++ addons for node.js
P.S: You would get a better response in Stack Exchange or StackOverFlow :)
Thank you, I actually canβt stand Stack Overflow.... you mess up spelling, and they attack or even just a topic.... they get mad if you ask a NEW variation of a Question, that hasnβt been asked... and they get mad
That's a shocking reality of StackOverFlow, which needs to change as people will only be comfortable asking questions if the community is chill(informal).
You have some options here:
1) Use the NodeJS nAPI to build a native module
2) Use a C++ application as backend for your React SPA
3) Use child_process (or something like ShellJS) to handle I/O of your C++ binary
4) Take a look at Web Assembly