How to Compile and Run C program Using GCC Compiler and VIM Editor on Linux / Ubuntu

Поділитися
Вставка
  • Опубліковано 18 вер 2024

КОМЕНТАРІ • 7

  • @davycasciana8140
    @davycasciana8140 2 місяці тому +1

    Thanks for this video, mister

  • @Rohitj99999
    @Rohitj99999 4 місяці тому +1

    thanks sir.

  • @tejashpatel5781
    @tejashpatel5781 8 місяців тому +1

    there is fatel error was coming
    test.c:1:10: fatal error: stdio.h: No such file or directory
    1 | #include
    | ^~~~~~~~~
    compilation terminated.
    mintlinux-systemprogramming

    • @anshika-t3u
      @anshika-t3u 6 місяців тому +1

      where is the exit button bro?

    • @al_marokan
      @al_marokan 6 місяців тому

      same question
      @@anshika-t3u

    • @microcoding7116
      @microcoding7116  2 місяці тому

      @@anshika-t3u you need to follow the below steps to exit.
      -> Press Escape key (Esc)
      -> Enter the command :wq

    • @microcoding7116
      @microcoding7116  2 місяці тому

      Hi Tejash,
      "stdio.h" is a standard library from "GCC". It should be available inside the path "usr/lib/gcc/".
      If it is not available then there must be some issue with the GCC environment. you need to reinstall the GCC compiler.
      To verify, you can use the commend "echo "#include " | gcc -v".
      This will give you the information, from where GCC referring the stdio.h file.