Hey guys just setup a fedora linux system as a virtual machine looking to get a decent beginner preferrably freeware if possible c/c++ compiler. Supposedly fedora 12 comes packaged with gcc 4 havent been able to find it at all any help would be much obliged.
$ yum list gcc
Installed Packages
gcc.x86_64 4.4.1-2.fc11 @updates
And:
$ gcc --version
gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2)
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If gcc really is not installed, you will need to run:
The package said it was installed but now I cant seem to find it to run it. I checked system tools and the other apps also tried to run from the terminal any idea where it could be hiding? Thanks in advance for the help.
insert the cd, there will be rpm for gcc in the cd, install from that.
if it ask for any dependency that will also be inside the cd, install all dependencies and finally you will have a working c++ compiler.
for an ide, there will an rpm for kdevelop.
sometimes applications are also installed in /usr/local/bin.
Also im looking in to trying to write a text based rpg of sorts would C/C++ be a good language to base it in? I dont want it to be huge just something I can work on for a month or two playtest with my friends and then make another. any advice or opinions would be appreciated.
There's absolutely no point in writing that in C or C++. The RPG would by no means be CPU intensive and probably use less than 1% of your processor at a time. Most of the time, a simple scripting language (or even bash or shell) will do just fine for a text based RPG.
All else equal, OP should write it in the language s/he is most comfortable with. C or C++ isn't a bad choice just because
it is not CPU intensive. The only relevant factors in choosing a language for such a game are: 1) do I know the language
or want to learn a new one, and 2) does the language provide support for what I want to do. 2 happens to be yes for
a good number of languages compiled or interpreted.