I am trying to make a C++ app, which returns a result to the C# app, which can be displayed, or maybe printed to the console.
For example, in my C++ file:
int main(int argc, char* argv[]){
// code
some_method_to_return_result("result");
}
And in my C# app
System.Diagnostics.Process.Start("exec.exe", "arguments");
some_method_to_get_result();
How would I be able to achieve this?