Skip to content

Grammatical Suggestions #404

Closed
Closed
@snikeguo

Description

@snikeguo
void CompileFile(string input,string output=input)
{
    int x=-1;
     $x=gcc $input -o $output   //shell command. not C#
    if(x==-1)
    {
        echo "build failed!" //shell command. not C#
    }
    
}

void main()
{
    foreach(...)
    {
        CompileFile(fn,fn);
    }
    var objs=GetObjects();
    var elf = "stm32.elf";
    int a=-1;
   $a=ld -lc $objs -o $elf //shell command. not C#
    ......
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions