Surachit
2011-08-13 21:28:46 UTC
i've been trying to run the gets and getch command in my c program using the GCC compiler.. but i think GCC cannot support the conio.h header file. also, i've been trying to run programs with graphics command but GCC cannot support the graphics.h header. are there ways on how to update my GCC to support the aforementioned header files (conio.h and graphics.h)?
thanks a lot.it is showing the following error message::
surachit@surachit-desktop:~/Desktop$ gcc -Wall -W -Werror hello.c -o hello
hello.c:2:18: error: conio.h: No such file or directory
cc1: warnings being treated as errors
hello.c: In function ‘main’:
hello.c:7: error: implicit declaration of function ‘getch’