Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling C Functions #100

Open
andriemc opened this issue Mar 10, 2024 · 0 comments
Open

Calling C Functions #100

andriemc opened this issue Mar 10, 2024 · 0 comments

Comments

@andriemc
Copy link

In my opinion, the following typescript should transpile to the following C

TS:

printf("hello world\n");

C:

#include <stdio.h>

int main(void) {
    printf("hello world\n");
    return 0;
}

You may ask, why? well, That's because sometimes people will need/prefer to use functions from C (such as printf or file saving)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant