It's cold these days.
e? why? Well, hey ... what is a dream? Oh, maybe it's easier to understand the detailed method if you google it yourself. Because I am self-sufficient.
First from the bat file. Execution of c language ↓ (There is no choice but to rewrite options etc. at any time. ~~ or nobody uses ~~)
@echo off
gcc %1
a
Run python ↓
@echo off
python %1
The code I ran this time (C language & python)
//test.c
#include <stdio.h>
int main(){
printf("OK!! this is c");
return 0;
}
#test.py
print("OK! this is python")
did it! I did it.
OK!! this is c
OK! this is python
Recommended Posts