Adding headerfiles of 'C language' to vi editor ??
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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..
Code:
$ 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..
Code:
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
raju@linux-d6yt:~>
Is there any chance of running graphics in my terminal ??
Last edited by raju.mopidevi; 01-24-2009 at 09:36 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.
hiiii, as u gave suggestion to install Linux version of TurboC http://www.sandroid.org/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"
Code:
raju@linux-d6yt:~/Documents> cc prog.c
prog.c:2:18: error: /usr/include/conio.h: Too many levels of symbolic links
raju@linux-d6yt:~/Documents>
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.