Thread: Please take a look at this... I seriously need help...

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    3

    Please take a look at this... I seriously need help...

    I just installed CodeBlock that shown at and try to follow it Cprogramming.com Tutorial: Introduction to C
    I get this after compling
    Compiling: C:\Users\Adrian\Documents\1st Lesson.c
    C:\Users\Adrian\Documents\1st Lesson.c:1:21: error: studio.h: No such file or directory
    C:\Users\Adrian\Documents\1st Lesson.c: In function 'main':
    C:\Users\Adrian\Documents\1st Lesson.c:5: warning: incompatible implicit declaration of built-in function 'printf'
    Process terminated with status 1 (0 minutes, 0 seconds)
    1 errors, 1 warnings

    Code:
     #include <studio.h>
     int main()
     {
         printf( "This is the 1st tutorial I have learnt! Improving!\n" );
         getchar();
         return 0;
     }

  2. #2
    Registered User
    Join Date
    Nov 2011
    Posts
    22
    I'm just a beginner but have look at this peace [studio.h] one more time. studio?
    Last edited by ph3s; 11-23-2011 at 10:36 AM.

  3. #3
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Line 1 ... #include <stdio.h>

Popular pages Recent additions subscribe to a feed