Monday, November 22, 2010

I just bought ';C++ Without Fear,how do i install the disc that came with it?

Well quite frankly the book already sucks because it doesn't

use ';ENGLISH';(not newb friendly at all).I got stuck just installing the disc containing the ';IDE';.And the readme did not help me at all..I did everything it says although it was veryvague and got no results.I will post the readme,can someone please ';translate'; it into SIMPLE WORDS for a newb at this kinda thing.





1. From the root directory of your C drive, create a DJGPP directory:



C:\%26gt;mkdir djgpp





2. Change directory to djgpp.

C:\%26gt;cd djgpp

3. Copy the contents of the root directory of the CD. (This assumes

that your CD uses a D: drive letter; use whatever drive letter is

appropriate.)

C:\DJGPP%26gt;copy d:\*.*





4. Use unzip32.exe to decompress all the binary files.



C:\DJGPP%26gt;unzip32 *.zip





5. Your compiler and development environment should now be installed!

However, you still need to set environment variables, including

PATH, which makes executables available from any directory.I just bought ';C++ Without Fear,how do i install the disc that came with it?
That is your answer.

Bring up a DOS window.

Type in:

C:

cd \ and then type in exactly what it suggests from your #1 above.



You can set the path variables by changing them in the ';System'; application from the ';Control panel';.

You can bring up ';Control Panel';, by typing in ';control'; at the DOS prompt.

Then click on ';System'; which brings up a ';System Properties'; dialog. Click on the ';Advanced'; tab. Then click on the ';Environment variables'; button, and look for ';PATH'; in the ';System Variables'; section of the dialog that is displayed. Then simply double-click on the variable and you're editing it to make the changes after #5.



And no you shouldn't change ';CLASSPATH'; variable.

You can click on ';New'; button in either the ';User variables'; or the ';System variables'; section.

The environment variable name is DJGPP, and the value is the rest of the information you mentioned (which tells it where the path to the compiler is).
  • sides of my fingernails
  • advice around girls
  • No comments:

    Post a Comment