devproje/README.md
2022-09-27 21:45:55 +09:00

3 KiB
Raw Blame History

// main.c
#include <stdio.h>
#include <stdlib.h>

#define MAX_MESSAGE_SIZE 30

int main(int argc, char **argv) {
  char *str = malloc(sizeof(char) * MAX_MESSAGE_SIZE);
  str = argv[1];
  puts(str);
  free(str);

  return 0;
}
[projecttl@fedora ~]$ gcc -o a.out main.c
[projecttl@fedora ~]$ ./a.out 'Hello, World!'
Hello, World!
[projecttl@fedora ~]$

I'm Project_TL, A student developer 👨‍💻 working since 2015 🚀

  • 🔭 Im currently working on Cube Connect
  • 🌱 Im currently learning Rust
  • Ask me about anything related to Minecraft Server Bukkit API
  • Fun fact:
    • C not have bool type.(If not including stdbool.h)
    • HTML is not programming language.

Connect with me


Github Stats



Using Languages