In the name of God .

Hi everyone . I am going to write a program which compiles c++ codes .

I don't have any time to write my own compiler . so i want to use ms compiler -> "cl.exe"

I will use code below , but not working .

System.Diagnostics.Process.Start("CL.EXE", " 1.cpp\r\n");
Member Avatar for nssltd

where is the 1.cpp file located? if it isn't in the route directory of your application it wont work. So if it is in the correct place it should work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.