
Pop-up command line window is as follows:

As requested, I type: tMCimg m sample window directly to disappear after CFG click Enter, exit process,
This problem has been solved, so the thought of his program's website and a tmcimg. The primary function in the c file with the engineering package is the same file name, so does the need for a replacement, alone. C main function is as follows:

Their content is not the same, but looked at separately to more like the main function of monte carlo simulation process, so I had to replace the main function, the results reported an error has been not solve, the diagram below:

Should add the lib is added in, the library path, reference path are added, still not solve, don't know is that I replace wrong or I can't solve this problem,
So, there is a great god the successful running this code or the problem I mentioned it is can show understanding of the ~ thank you thank you!
Url mentioned code is as follows:
https://www.nmr.mgh.harvard.edu/DOT/resources/tmcing.htm
https://www.nmr.mgh.harvard.edu/PMI/resources/tmcimg/index.htm
(the second url as the first, the content is not more than the first, for the operation of the step basic useless, I am using Windows)
Below are the content code url:

Below is the main function of the project:

Below is separate to the main function:

I downloaded the basic, main is a tMCimg. Zip bags, a tMCimg TGZ zip, TGZ this package should be four files inside ran. C \ ran2 c \ ran3 c and have different content of the same name in a large project file tMCimg. C, zip package to input file is "sample. The CFG", also is in the engineering. C files to run to the input file format,
And separate to. See program content requirements input is c file. Inp format of the input file, the two examples are given in the above connection file,