Slackware 12 - C / C++ ?
i have installed slackware 12 few days ago. i m a newbie and i need to write some programs for my lectures, but i dont know how to do this on slackware.
What should i do to write and compile a c/c++ program ?
Is the program ready in Slackware or should i download and install something ?
This is the first time i m using slackware for code writing. i will be glad if you can help.
Thanx in advance.
I thought c/c++ was already included by default in Slackware. Should be there... Try from the command line:
In Slack you have almost all the dev packages installed, the packages are not splited, once you install a library in slack it comes with the headers.
Originally Posted by rommeo
use gcc for c and g++ for c++, let me know if you need more informations
Thanx for the answer.
Can you explain it step by step. Lets say my code is ready in a text file. How can i compile and execute it ? it's the first time i m using slackware and could not find any ide :( .
Sorry for this late reply, i'm out these days.
gcc text.c -o text to compile
./text will execute it