|
#1
|
||||
|
||||
|
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.
|
|
#2
|
||||
|
||||
|
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.
__________________
Tips for Linux Newcommers If we have helped you, please consider supporting Cyber Tech Help with a subscription.
|
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
|||
|
|||
|
If you're looking for a linux C/C++ IDE (Integrated Development Environment), try Anjuta....
http://sourceforge.net/projects/anjuta |
|
#5
|
||||
|
||||
|
Is there a similar version of Anjuta for KDE that you know of, Twisted??
__________________
Registered Linux User # 375419 "As I grow older, I pay less attention to what men say. I just watch what they do." Andrew Carnegie (1835-1919) "The only thing necessary for the triumph of evil is for good men to do nothing." - Edmund Burke (1729-1797) Linux Google is your Friend. Got Root? |
|
#6
|
|||
|
|||
|
There is http://www.kdevelop.org/ (KDevelop) but I've had no experience using it.
|
|
#7
|
||||
|
||||
|
Thank you for that link. Very handy.
__________________
Registered Linux User # 375419 "As I grow older, I pay less attention to what men say. I just watch what they do." Andrew Carnegie (1835-1919) "The only thing necessary for the triumph of evil is for good men to do nothing." - Edmund Burke (1729-1797) Linux Google is your Friend. Got Root? |
|
#8
|
||||
|
||||
|
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 12:56 PM. Reason: Used C++ instead of C |
|
#9
|
|||
|
|||
|
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
|
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 10:26 AM.
[
RSS ]









