fatal error:' stdio.h': no such file or directory

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • charlie 2222
    New Member
    • Dec 2020
    • 1

    fatal error:' stdio.h': no such file or directory

    /*************** *************** *************** *************** *************** ***

    Welcome to GDB Online.
    GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
    C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
    Code, Compile, Run and Debug online from anywhere in world.

    *************** *************** *************** *************** *************** ****/

    #include<'stdio .h'>

    int main()
    {

    //question 1 :output names;
    printf ("name:charlie\ "Dr.c\n");
    printf ("n");

    //question 2:output cousin name;
    printf(" name:jessy\"Dr. j\n");
    printf ("n");

    //question 3:output 2 favorite game;
    printf("chess,a sphalt\n");
    printf("n");

    return (0);

    }
  • dev7060
    Recognized Expert Contributor
    • Mar 2017
    • 656

    #2
    fatal error:' stdio.h': no such file or directory
    Single quotes must not be there.

    Comment

    • AjayGohil
      New Member
      • Apr 2019
      • 83

      #3
      Hello,

      write #include<stdio. h> instead of #include<'stdio .h'>.There is no need to put a single quote in header file

      Comment

      Working...