Skip to content

run demo,no error,but result is wrong #9

@whycng

Description

@whycng

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions