my c++ program called Vprint generates the Embeddprogram.c program
that embeddprogram.c i am calling through command line but getting the
problem in fopen function ...
before compiling it i have to manually change the the line
flowCtrl = fopen ("C:\project\testcaserun.txt","w+");
to
flowCtrl = fopen ("C:\\project\\testcaserun.txt","w+");
that i dont want ...
because it is been genetared by the main C++program called Vprint so i need any one to see the code in Vprint ans suggest me how can i change my code to get the Embeddprogram.c file generated like
flowCtrl = fopen ("C:\\project\\testcaserun.txt","w+");
i am attaching the solution file please check this out
i added all the three files create the project by including all the three file