mirror of
https://github.com/devproje/devproje.git
synced 2025-04-22 14:49:52 +09:00
feat: change code c
This commit is contained in:
parent
abab38792a
commit
10c37be740
1 changed files with 6 additions and 7 deletions
13
README.md
13
README.md
|
@ -1,14 +1,13 @@
|
||||||
```go
|
```c
|
||||||
package main
|
#include <stdio.h>
|
||||||
|
|
||||||
import "fmt"
|
int main(int argc, char **argv) {
|
||||||
|
printf("Hello, World!");
|
||||||
func main() {
|
return 0;
|
||||||
fmt.Println("Hello, World!")
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
```sh
|
```sh
|
||||||
[projecttl@fedora ~]$ go build -o profile main.go
|
[projecttl@fedora ~]$ gcc -o a.out main.c
|
||||||
[projecttl@fedora ~]$ ./profile
|
[projecttl@fedora ~]$ ./profile
|
||||||
Hello, World!
|
Hello, World!
|
||||||
[projecttl@fedora ~]$
|
[projecttl@fedora ~]$
|
||||||
|
|
Loading…
Reference in a new issue