Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

sytem() error please help!

$
0
0
i want to run a python file with a certain program and what i got told does'nt work this is what i got:
system("pythonw.exe myfile.py")



but it just comes up with this error

mingw32-g++.exe -Wall -fexceptions  -g     -c "E:\Raftech\C++\C++ Projects\EXE Program\main.cpp" -o obj\Debug\main.o
E:\Raftech\C++\C++ Projects\EXE Program\main.cpp:1:7: error: expected constructor, destructor, or type conversion before '(' token
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings (0 minutes, 0 seconds)



pleas help me
thanks in advance

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>