Project_IO's Personal Profile
Find a file
2022-11-05 21:41:03 +09:00
.gitignore feat: update current profile source 2022-05-20 11:08:45 +09:00
main.c feat: include 'stdlib.h' and 'string.h' 2022-07-24 23:22:44 +09:00
Makefile feat: update current profile source 2022-05-20 11:08:45 +09:00
README.md Update README.md 2022-11-05 21:41:03 +09:00

// 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, Unity
  • 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