You have to specify the path of source and object file.
string app = @"C:\Alps\compiler\H-i586-cygwin32\bin\g++.exe";
string cppFile = @"-c c:\app\Main.cpp";
string outFile = @"-o c:\app\main.o";
System.Diagnostics.Process.Start(app, cppFile + " " + outFile);
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241