error: stdio.h: No such file or directory, error: conio.h: No such file or directory

Asked by adithya

Binary package hint: gnome-terminal

whenever i try to execute a C program with extension .c ,it says conio.h and stdio.h not found i.e.no such file or directory.
I would be thankful if you provided with the solution.

ProblemType: Bug
Architecture: i386
Date: Wed Sep 17 18:37:11 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gnome-terminal
Package: gnome-terminal 2.22.1-0ubuntu2
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
Uname: Linux 2.6.24-16-generic i686

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Martin von Wittich
Solved:
Last query:
Last reply:
Revision history for this message
adithya (24adithya) said :
#1
Revision history for this message
Pedro Villavicencio (pedro) said :
#2

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs.

Revision history for this message
Best Martin von Wittich (martin.von.wittich) said :
#3

The build-essential package should provide you with the required tools and header files. Install it with this command:

sudo aptitude install build-essential

Use the "aptitude search" command if you're looking for packages that contain specific header files (usually called libxyz-dev) or build tools.

Revision history for this message
adithya (24adithya) said :
#4

the command did solve my problem for stdio.h header file..thank you.yet i would like to know about whether conio.h exists in ubuntu or not.

Revision history for this message
Martin von Wittich (martin.von.wittich) said :
#5

No, conio.h is a DOS header file: http://en.wikipedia.org/wiki/Conio.h
Under Linux, ncurses will probably be the library to accomplish these tasks.

Revision history for this message
Stanton J. Peale (peale) said :
#6

I would like to have focus-follow-mouse for all displayed windows. How do I implement this option?