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.:hmm:
|
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.
|
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.
|
If you're looking for a linux C/C++ IDE (Integrated Development Environment), try Anjuta....
http://sourceforge.net/projects/anjuta |
Is there a similar version of Anjuta for KDE that you know of, Twisted??
|
There is http://www.kdevelop.org/ (KDevelop) but I've had no experience using it.
|
Thank you for that link. Very handy. :D
|
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. |
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
|
All times are GMT +1. The time now is 07:22 AM. |
Copyright © Cyber Tech Help. All rights reserved. All other trademarks are the property of their respective owners.