-   SUSE / openSUSE (
-   -   Adding headerfiles of 'C language' to vi editor ?? (

raju.mopidevi 01-24-2009 09:32 PM

Adding headerfiles of 'C language' to vi editor ??
hiiii friends ,
i am using SUSE 11.0 KDE 4.0 , i am student, so i used to write C programs in my system using vi editor as..

$ vi filename.c
But in our college we use turbocpp to run programs , there we have graphics.h,conio.h we have to run the programs which uses those headerfiles. I want to run those programs in my terminal
but they shows..

raju@linux-d6yt:~> cc prog1.c
prog1.c:2:18: error: conio.h: No such file or directory
prog1.c:3:21: error: graphics.h: No such file or directory

Is there any chance of running graphics in my terminal ??

jtshaw 01-25-2009 02:04 PM

Those libraries are not "standard c" libraries. They will not work on Linux. You need to look into ncurses (TLDP NCurses How-to).

PAix 01-25-2009 07:16 PM

I don't know if this link might be of help to you, it is the TurboC Hompe Page - porting Borland Turbo C source code to GNU gcc. It may give you a few clues, but seems to be a work in progress and the author's needs probably don't match your own.

raju.mopidevi 01-27-2009 09:15 AM

OpenSUSE 11.0-Comiling error in C program
1 Attachment(s)
hiiii, as u gave suggestion to install Linux version of TurboC .I had installed that.
I can clearly say that , i was able add those headerfiles, but now my problem is they are giving some "symbolic link error"

raju@linux-d6yt:~/Documents> cc prog.c
prog.c:2:18: error: /usr/include/conio.h: Too many levels of symbolic links

PAix 01-28-2009 09:43 AM


s there any chance of running graphics in my terminal ??
I guess that this might be as close as you get. I notice that the project page was last updated in 2004, well before SUSE 11.
From some of the comments made on the bug listing, a number of the problems appear to be the anomalous way in which Borland implemented the TurboCpp compiler; described as conceptual problems.
I think that yoou might be unlucky. Don't you just love proprietary programs in education.
Sorry, I guess that the faculty would prefer that you stepped out and bought a copy of Borland cpp and a platform to run it on.

All times are GMT -5. The time now is 04:15 AM.