LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 01-24-2009, 09:32 PM   #1
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Question 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.
 
Old 01-25-2009, 02:04 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Those libraries are not "standard c" libraries. They will not work on Linux. You need to look into ncurses (TLDP NCurses How-to).
 
Old 01-25-2009, 07:16 PM   #3
PAix
Member
 
Registered: Jul 2007
Location: United Kingdom, W Mids
Distribution: SUSE 11.0 as of Nov 2008
Posts: 195

Rep: Reputation: 40
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.
 
Old 01-27-2009, 09:15 AM   #4
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Original Poster
Rep: Reputation: 92
Angry OpenSUSE 11.0-Comiling error in C program

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>
Attached Images
File Type: jpeg turbo.jpeg (21.2 KB, 5 views)
 
Old 01-28-2009, 09:43 AM   #5
PAix
Member
 
Registered: Jul 2007
Location: United Kingdom, W Mids
Distribution: SUSE 11.0 as of Nov 2008
Posts: 195

Rep: Reputation: 40
Quote:
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.

Last edited by PAix; 01-28-2009 at 09:45 AM.
 
  


Reply

Tags
editor, vi


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Editor or Language? JMJ_coder Programming 4 10-22-2007 05:21 AM
No headerfiles in GNU gubak Programming 1 11-08-2006 09:18 AM
kdelib no headerfiles extracted?!? JZL240I-U Linux - Software 1 09-20-2004 03:08 AM
Adding language support eaglegst Debian 12 06-09-2004 01:53 PM
Editor for Java programming language. ICO Linux - Software 11 02-03-2004 07:14 PM


All times are GMT -5. The time now is 02:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration