| | |
Error while compiling
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jan 2007
Posts: 12
Reputation:
Solved Threads: 0
hai everybody,
know only i start learning c program,while compiling any program i have the error "stdio.h was not included"
even any header file it may math.h,conio.hstdlib.h etc,we include in our program it show this error "you header file is not included"
how will i rectify the error.
Thanks in advance for your kind help
know only i start learning c program,while compiling any program i have the error "stdio.h was not included"
even any header file it may math.h,conio.hstdlib.h etc,we include in our program it show this error "you header file is not included"
how will i rectify the error.
Thanks in advance for your kind help
This doesn't work?
You'll have to post your code if you want any more help.
C Syntax (Toggle Plain Text)
#include <stdio.h>
Last edited by John A; Jan 17th, 2007 at 10:45 pm.
"Technological progress is like an axe in the hands of a pathological criminal."
All my posts may be freely redistributed under the terms of the MIT license.
All my posts may be freely redistributed under the terms of the MIT license.
•
•
Join Date: Jan 2007
Posts: 12
Reputation:
Solved Threads: 0
•
•
•
•
This doesn't work?
You'll have to post your code if you want any more help.C Syntax (Toggle Plain Text)
#include <stdio.h>
even for simple program it will not execute .
i include that header file in my program.i wrote like this
C Syntax (Toggle Plain Text)
#include<stdio.h> main() { printf("have a nice day"); }
i think i have to do change in directories (source,output,.....)
but i dn't have clear idea
Last edited by Ancient Dragon; Jan 18th, 2007 at 7:30 am. Reason: add code tags
I don't accept change; I don't deserve to live.
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
•
•
•
•
Q. Why is Turbo C not able to find any of my #include files?
A. The compiler searches for include files in the Turbo C Include Directories. This option is specified under the Options/Directories menu. The INSTALL program initially sets this option to the directory where it copied all the Turbo C *.h files.
[edit] BTW, that link wasn't hard to find -- in fact it was the first hit when googling for "turbo c include". Try a search next time you have a problem; chances are someone's had the same problem. [/edit]
Last edited by dwks; Jan 19th, 2007 at 3:00 pm.
dwk
Seek and ye shall find.
"Only those who will risk going too far can possibly find out how far one can go."
-- TS Eliot.
"I have not failed. I've just found 10,000 ways that won't work."
-- Thomas Alva Edison
"The only real mistake is the one from which we learn nothing."
-- John Powell
Seek and ye shall find.
"Only those who will risk going too far can possibly find out how far one can go."
-- TS Eliot.
"I have not failed. I've just found 10,000 ways that won't work."
-- Thomas Alva Edison
"The only real mistake is the one from which we learn nothing."
-- John Powell
•
•
Join Date: Jan 2007
Posts: 12
Reputation:
Solved Threads: 0
•
•
•
•
Yep, that seems to be logical thing to do next since it says "stdio.h not found' . Check the make sure the path to your header files are properly set in the Turbo C configuration options.
but i dn't know how to set the header file path
please send me a reply how to set the header file path
![]() |
Similar Threads
- Error message when compiling in MS Vis (C++)
- Error measage in compiling c++ program (C++)
- error message when compiling program (C++)
- How do you write a code which compiles in c but not in c++? (C++)
- Cannot get method in project to work (Java)
- stuck with definition (C++)
Other Threads in the C Forum
- Previous Thread: Graphics in C
- Next Thread: How to Implement NFS
| Thread Tools | Search this Thread |
Tag cloud for C
adobe ansi api array arrays asterisks binarysearch calculate centimeter char command convert copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax directory drawing dynamic executable fflush file fork forloop frequency getlasterror givemetehcodez graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators infiniteloop kernel km lazy linked linkedlist linux linuxsegmentationfault list lists locate logical_drives match matrix microsoft motherboard multi mysql number open opendocumentformat opensource owf pattern pdf performance pointer pointers posix problem probleminc program programming radix recursion recv repetition research scanf scheduling scripting segmentationfault send sequential shape socketprograming spoonfeeding stack standard string strings structures student systemcall testautomation turboc unix user variable voidmain() wab windows.h






