Hello , firstly , if you read this it is much appreciated. Secondly , help is even nicer , so on to my problem. I would like to learn to program in C++ but cannot get a compiler up and running. I am using "Learn to program C++" by John Smiley and they use the Borland C++ compiler. Iwould therefore like to follow all text in the book and use this tool. The problem being i don't seem to be able to get this installed. If anybody can and will help tell me where to go (I Know!) then i thank you in advance. Regards Steve
There are two paths you can follow here:
1. Get a compiler that isn't shit. GCC/MinGW is not a bad choice. Also get a book that doesn't teach for any compiler in particular. I hear good things about The C++ Primer.
2. Ask in the Borland message boards.
Firstly , Thanks for your swift replies , very much appreciated. Secondly , if I get no joy I may well have to try using a different compiler. However , having paid for the Smiley tome , I would like to use it if I am able. I then proceeded to try instructions from Smiley webpage but am still a little confused (new and inexperienced!) Some pages did not open and I am still quite in the dark. I apologise for any shortcomings. Have posted to the Borland boards as well , but am now wondering if you are U.K. resident and could possibly contact you via landline or some means for quick guidance? Whatever your answers I thank you for your kindness and pointers Regards , Steve.
Hello Grey Wolf , I am indebted to your kindness. I can unpack the compiler to my PC but do not have the knowledge necessary to update paths , create configuration files etc. I am running a Pc with XP Pro 64 bit and can't find system button to change environment variables and all that this would lead to. I again can only fall upon your help if available and hope to repay this kindness in some way. Regards , Steve.
To change the PATH environment variable:
Right click on my computer, properties, "Advanced" tab, environment variables, in the group "user variables for <user>", select PATH and click on edit, or click on new if you don't have it yet.
Paths in PATH are separated by semicolons. Paths with spaces don't need to be within quotes.
You should be able to get to the system properties via the control panel.
On the Start menu you should see a link to control panel, click on that.
If you see a dialog with a blue background with a title "chose a category", look to the left hand side for something that says "Switch to classic view" and click on it.
You should now be looking at at the Control panel with a white back ground, find the system icon and double click it.
From memory, the environment variables are on the Advanced tab.
I myself have read through most of the 4th edition of this book and it has been very good so far. Also I just recently got my hands on the 5th Edition and it's great as well. Main point being it's good book for use on all compilers.
Thanks for your response. Have been busy all over the week-end and will try all this Thurs 26th. Will reply again to discuss the outcome (good or bad!) Regards Steve.
Have tried all manner of things and going round in circles. cannot get Mingw to even download properly! This isn't me as i have tried Linux distros which i have downloaded in the past. Got lost with classpath identifiers. Are there more pointers available or what info do you need from me to help? I kindly thank you for reading whatever the result and if you reply (as previously stated) i will be forever in your debt. Regards Steve.
Well, MinGW can be copied from one computer to another without breaking the installation. I have a copy of MinGW compressed as a 7-Zip archive. A little under 20 MiB. Would you like me to upload it?
There's really nothing to it, though. The installer does most of the work for you.
helios , thanks for the reply. just to bore i was downloading and installing MinGW , but it just fell over , does it not like a 64 bit OS? You could please try uploading for me , i would like to try again. If i were to put a listing of the environment variables on screen , would you be prepared to see if you are able to guide my actions for the Borland compiler also? You help is greater than i can describe and i thank you. Regards Steve.