Answer the question
In order to leave comments, you need to log in
How to make a call to another application from C++?
I have a function that should open another application - wxMaxima. The maxim itself is installed for me and if you open this file, then everything works there (I open the file with the wxmx extension through wxMaxima itself).
So, what does the function look like:
// Рендеринг графика с помощью wmxMaxima
void maximaRender(int N, float *time, float *input, float *output) {
createAbstractFile(N, time, "Time.txt");
createAbstractFile(N, input, "Input.txt");
createAbstractFile(N, output, "Output.txt");
// Открытие графиков через wmxMaxima
system("/home/user/CLionProjects/testproj/Test.wxmx");
}
Syntax error: newline unexpected
2
( 2 exit status
) is also returned.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question