Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Linux programming


ghost's Avatar
0 0

Hello guys can someone tell me which is best libary for programming under linux…. i want to program under linux in C or C++ but i cant choice libary so say me which libary is best :)


ynori7's Avatar
Future Emperor of Earth
0 0

i use gcc for C and g++ for C++


ynori7's Avatar
Future Emperor of Earth
0 0

what exactly do you need help with?


ynori7's Avatar
Future Emperor of Earth
0 0

so you have gcc on your computer then?

here's how you use it: type this into the terminal

gcc -o exeName -Wall fileName.c the -o means outfile and the -Wall means enable all warnings

Then you can run it by entering

./exeName there are a lot of other options, and you can look them up in the man files.


ghost's Avatar
0 0

The_Shade wrote: complining it

What flavor of Linux do you have? You now, manual pages were made to help you. Go find one and read. They walk you though step by step. -_-

You could also use your package manager to get gcc.

I think all I did was:

markupyum install gcc on my fedora core 8 box.


ynori7's Avatar
Future Emperor of Earth
0 0

SwartMumba wrote: You could also use your package manager to get gcc. I think all I did was: markupyum install gcc on my fedora core 8 box. gcc came with my fedora core 6 box :) as well as python, g++, perl and a few other things.