Go Back   Cyber Tech Help Support Forums > Operating Systems > Linux

Notices

Reply
 
Topic Tools
  #1  
Old August 24th, 2006, 08:16 AM
nolbertkeene's Avatar
nolbertkeene nolbertkeene is offline
New Member
 
Join Date: Aug 2006
O/S: Linux
Location: Uganda
Age: 40
Posts: 3
Wink Programming on Linux

Im learning programming and have done a few files in C. That was at school where the computers there run on Windows. Mine at home is running Linux. Is there a way i can do C on linux? I mean i havent even mastered C that well.
Reply With Quote


  #2  
Old August 24th, 2006, 07:53 PM
kage's Avatar
kage kage is offline
CTH Subscriber
 
Join Date: Apr 2004
O/S: Linux
Posts: 1,644
Yeah. On linux you should be able to use gcc for compiling C code, most distributions (aside from Ubuntu and I think Suse) come with gcc in the default install.
Reply With Quote
  #3  
Old September 14th, 2006, 01:56 AM
Renan Renan is offline
New Member
 
Join Date: Sep 2006
O/S: Linux
Location: Canoas, Brazil
Age: 32
Posts: 21
In Ubuntu you can install the standard "toolchain" by using 'sudo apt-get install build-essential', and the package 'manpages-devel' (I think this is the name) installs documentation about functions.
Reply With Quote
  #4  
Old September 15th, 2006, 03:49 AM
twistedcranium's Avatar
twistedcranium twistedcranium is offline
CTH Subscriber
 
Join Date: May 2003
Posts: 1,133
If you're looking for a linux C/C++ IDE (Integrated Development Environment), try Anjuta....

http://sourceforge.net/projects/anjuta
Reply With Quote
  #5  
Old September 16th, 2006, 07:38 AM
SirCave's Avatar
SirCave SirCave is offline
Registered User
 
Join Date: Oct 2004
Location: 1,000,000 Years B.C., Stone Age USA
Posts: 227
Is there a similar version of Anjuta for KDE that you know of, Twisted??
Reply With Quote
  #6  
Old September 16th, 2006, 01:49 PM
twistedcranium's Avatar
twistedcranium twistedcranium is offline
CTH Subscriber
 
Join Date: May 2003
Posts: 1,133
There is http://www.kdevelop.org/ (KDevelop) but I've had no experience using it.
Reply With Quote
  #7  
Old September 19th, 2006, 05:51 PM
SirCave's Avatar
SirCave SirCave is offline
Registered User
 
Join Date: Oct 2004
Location: 1,000,000 Years B.C., Stone Age USA
Posts: 227
Thank you for that link. Very handy.
Reply With Quote
  #8  
Old October 19th, 2006, 11:53 AM
yllek's Avatar
yllek yllek is offline
New Member
 
Join Date: Sep 2006
O/S: Linux
Location: Deal, Kent, UK
Age: 33
Posts: 15
I do similar. Using SuSE, I access the terminal and run Pico (a simple, yet effective text editor) and save my code as whatever.c.

I can then use the GCC to compile it, thusly:
gcc whatever.c -o whatever

I now have an executable called 'whatever'.

I find Linux to be a far more effective and simple to use platform for programming than Windows. All my friends who dabble in programming, use Windows, and they essentially learn VisualBasic and nothing more. Those who do C/C++ have arguments over which compiler to use...
Every time, I find myself happy with the GCC.

Last edited by yllek; October 19th, 2006 at 11:56 AM. Reason: Used C++ instead of C
Reply With Quote
  #9  
Old October 19th, 2006, 12:32 PM
jediforce jediforce is offline
Senior Member
 
Join Date: Apr 2006
Posts: 436
I like gcc too. I've just found kdevelop today and it seems to have quite a lot of features. On windows I like to use bloodshed dev C++ compiler
Reply With Quote
Reply

Bookmarks

Topic Tools

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 On
HTML code is Off

Forum Jump




All times are GMT +1. The time now is 04:46 PM.