Click to See Complete Forum and Search --> : C++ programming on Linux


MrCannibal
02-28-2003, 08:34 PM
Iv been programming C++ on windows for about 3 years now (in visual c++ and Borland)
I recently got a computer for Linux, successfully installed redhat 8.0 (got gaim, mozilla, x-chat working)... and not I wish to start programming on it.

I heard the names "Emacs and Vi" by word of mouth, I opened and clicked around in them (Emac and 'Vi Improved'?) they are a far cry from my normal Borland environment. I couldn't recognize anything! I tried all night and couldn't compile a simple "hello world" :(

Anyone have any resources where I can learn the compiling/running ways of Linux? What are my building/compiling options? What's the way most programmers program C++ on Linux? What the heck is going on?? :)

ask_123
02-28-2003, 10:05 PM
Emac and Vi is not your windows IDE development enviroment. I use it as powerful text editor but they ar not just text editor.

If you want something look similiar to windows us the kdeveop. IT is an IDE for kde application.

OR you can just edit your source code with a Text editor and complie it with gcc.

you can run "man gcc" to learn mor about the complier

In its simpliest form
gcc hello.cpp -o hello

should complie hello.cpp, link and generate the executable hello

jetblackz
03-02-2003, 10:19 PM
http://jetblackz.freeservers.com/CPPProgramming.html

I use kate on KDE. Color syntaxing and a good find and replace are all I need.

megadave
03-02-2003, 11:46 PM
Just to re-iterate.

The most widely used IDE is
KDevelop. (and it even has an option
for Gnome apps :) )

IME most people just choose a text editor, the console and gcc to compile.

For example.
console (terminal)
nedit (text editor)
gcc (compiler)

and a makefile to co-ordinate compilation.

goon12
03-03-2003, 09:47 AM
MrCannibal,
If Kdevelope isn't doing it for you, I would strongly suggest you check out http://www.anjuta.org/

I like it alot better than KDevelop, but then again, I like VI better than all of them! :D




-goon12