Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Header file as #include <stdio.c>

This is a discussion on Header file as #include <stdio.c> within the C and C++ forums, part of the Software Development category; Is it correct if we write header file as #include <stdio.c> the C program will throw an error for the above header file...

Go Back   Geeks Talk > Software Development > C and C++
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 08-10-2007
Junior Member
 
Join Date: Aug 2007
Location: Chennai
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
swati_12sanu is on a distinguished road
Header file as #include <stdio.c>

Is it correct if we write header file as #include <stdio.c>
the C program will throw an error for the above header file
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-19-2007
Junior Member
 
Join Date: Aug 2006
Location: jaipur
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
reachamitagrawal is on a distinguished road
Re: Header file as #include <stdio.c>

ya you will get an error as "unable to open include file"
Reply With Quote
  #3 (permalink)  
Old 08-21-2007
Contributing Member
 
Join Date: Jul 2007
Location: India
Posts: 31
Thanks: 6
Thanked 4 Times in 4 Posts
kamanianil is on a distinguished road
Smile Re: Header file as #include <stdio.c>

Quote:
Originally Posted by swati_12sanu View Post
Is it correct if we write header file as #include <stdio.c>
the C program will throw an error for the above header file
hi..Gm

plz mention include <stdio.h> instead of inlcude<stdio.c> and check for the error.
Reply With Quote
  #4 (permalink)  
Old 08-21-2007
Junior Member
 
Join Date: Jul 2007
Posts: 20
Thanks: 5
Thanked 8 Times in 6 Posts
pbchaudhari is on a distinguished road
Re: Header file as #include <stdio.c>

Wel if u have that file stdio.c then definately u can include that file as header
Reply With Quote
  #5 (permalink)  
Old 08-21-2007
Junior Member
 
Join Date: Aug 2007
Location: chennai
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sarathkumar is on a distinguished road
Re: Header file as #include <stdio.c>

Quote:
Originally Posted by swati_12sanu View Post
Is it correct if we write header file as #include <stdio.c>
the C program will throw an error for the above header file
ya u can use "stdio.c" if the header file stdio.h is saved with .c extension
although in some processor it will lead to an error as header file should be with .h extension
Reply With Quote
  #6 (permalink)  
Old 08-21-2007
Junior Member
 
Join Date: Jul 2007
Location: india
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
nameetapani is on a distinguished road
Re: Header file as #include <stdio.c>

Quote:
Originally Posted by swati_12sanu View Post
Is it correct if we write header file as #include <stdio.c>
the C program will throw an error for the above header file
but it is a header file.
Reply With Quote
Reply

  Geeks Talk > Software Development > C and C++

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Advantages of Header files joel C and C++ 4 07-25-2007 08:12 AM
Header file in C++ to do graphics programming under Linux jitudash C and C++ 1 07-17-2007 09:35 AM
How can I execute a file which include 'create table ' statement Geek_Guest Oracle 1 07-17-2007 12:33 AM
Setting Column header and manipulate DATAGRID zain110 ASP.NET 1 04-18-2007 01:49 AM
Frigate3 File Manager: highly configurable and convenient file management environment JobHelper Geeks Lounge 0 03-30-2007 02:30 PM


All times are GMT -4. The time now is 03:02 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved