CFortranTranslator icon indicating copy to clipboard operation
CFortranTranslator copied to clipboard

run demo,no error,but result is wrong

Open whycng opened this issue 1 year ago • 3 comments

I compiled this project using MSVC v141 and generated an EXE file without any errors. When I ran the 'hello world' demo,

CFortranTranslator.exe -Ff demos/helloworld.f90 > target.cpp
Cost time:0

the generated C++ file looked like this:

/* File:                                                              */
/* Author:                                                            */
/* This codes is generated by CFortranTranslator                      */
/* CFortranTranslator is published under GPL license                  */
/* refer to https://github.com/CalvinNeo/CFortranTranslator/ for more */
/**********************************************************************/
#include "../for90std/for90std.h" 
#define USE_FORARRAY 
int main()
{
	
	return 0;
}

. There were no error messages, but the result was incorrect.

whycng avatar Dec 05 '24 05:12 whycng