|
| 06 Oct 2011 12:15 PM |
I get asked A LOT about "is it easy to learn C++?" my responce is, you will only get as much as you put in out of learning it.. So if you spend endless hours on it like i have, then you will understand it fairly quick. To start off your going to need a "compiler software" there are a few listed below and a link if you cant get it rooted/ Hope this help the LUA scripters wanting to branch out!
(STEPS)---C / C++ is a compiler based programming languages. In order to run a program you need a compiler software (i.e., GNU GCC, Tiny C, MS Visual C++, Cygwin C, Borland, Intel C etc..). Also you need an IDE to create/edit programs (eg: Dev-C++, Code::Blocks, Eclipse, TurboC, etc..)
I am giving you a couple of examples of my favorite compiler and IDEs, You may choose the best from the vast list.
1. Installing GNU GCC Compiler
1.1. For Linux
1. Installing GNU GCC Compiler 1.1. --------- For Linux------(NOTE- when downloading software it will ask you what system your using select a different one if this is not yours)
(Different choices for software) * For Redhat, get a gcc-c++ RPM, e.g. using Rpmfind and then install (as root) using
rpm -ivh gcc-c++-version-release.arch.rpm * For Fedora Core/ CentOS, install the GCC C++ compiler (as root) by using
yum install gcc-c++ * For Mandrake, install the GCC C++ compiler (as root) by using
urpmi gcc-c++ * For Debian, install the GCC C++ compiler (as root) by using
apt-get install g++ * For Ubuntu, install the GCC C++ compiler by using
sudo apt-get install g++ * If you cannot become root, get the tarball from ftp://ftp.gnu.org/ and follow the instructions in it to compile and install in your home directory.
******If you are using Linux, create/edit a program****** NOTE:: this will all need to be written in the software you downloaded on the last step::
Example Programs: ***NOTE: follow the steps mid page on this site*** http://www.howtoforge.com/learning-c-cplusplus-step-by-step-p2
NOTE: in order for this to work you need to have (A- the software, and (B- this script/print typed to the EXACT letter as it is above. (or just copy and paste like i said before)
I hope this helps you people trying to learn C++ there are some decent tutorials on Youtube that mght help you also if your more of a visual learner.
Enjoy! ~linker |
|
|
| Report Abuse |
|
|
|
| 06 Oct 2011 12:18 PM |
| opps, sorry looks like the compiler list got cut out, here is a basic one that will wok fine for you right now--------rpm -ivh gcc-c++-version-release.arch.rpm----if you need a better one feel free to PM me. |
|
|
| Report Abuse |
|
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13241 |
|
| |
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13241 |
|
| |
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 06 Oct 2011 01:11 PM |
@myrco Small people, big actions. |
|
|
| Report Abuse |
|
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13241 |
|
| |
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 06 Oct 2011 01:13 PM |
Small people (linker123456789), big actions (copying stuff other people made to get attention).
|
|
|
| Report Abuse |
|
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13241 |
|
| |
|
|
| 06 Oct 2011 03:11 PM |
| You don't NEED an IDE to create a program. You can just use notepad to save a .cpp file, then use the compiler to convert it to an executable file. |
|
|
| Report Abuse |
|
|
|
| 06 Oct 2011 03:12 PM |
| I dont know anything about scripting help much :) |
|
|
| Report Abuse |
|
|
pwnedu46
|
  |
| Joined: 23 May 2009 |
| Total Posts: 7534 |
|
|
| 06 Oct 2011 03:15 PM |
"Get your C# ready to blast this guy, imma get mah c pewpew" "Get your C# ready" "your C# ready" "C#"
You obviously didn't notice how it only explained how to do this for linux, not windows. Developing C# in linux is totally and utterly pointless because it only works in windows unless you have WINE, or a similar program.
~ I'm a unicorn! ~ |
|
|
| Report Abuse |
|
|