Wrox Programmer Forums
|
BOOK: Beginning Programming
This is the forum to discuss the Wrox book Beginning Programming by Adrian Kingsley-Hughes, Kathie Kingsley-Hughes; ISBN: 9780764584060
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 11th, 2005, 01:12 PM
Registered User
 
Join Date: May 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default C++ Compiler

I am doing Chapter 7 and started with the first program compiler and when I type in the string to compile the template.cpp file I get [b]

Error E2209 c:\template.cpp 2: Unable to open include file 'iostream.h' *** errors in Compile**

I have rewritten the code for Template 2x's and then downloaded the code form the book. Is it my compiler?

Help!

Thanks,

Susan

 
Old May 21st, 2005, 04:34 PM
Registered User
 
Join Date: May 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Sue,
Was having the same hassle myself, so went to the Borland site and checked out the discussion boards.
Found the solution in a really cool entry from a guy named Chris Rodgers titled "C/C++ Compiler: Getting Started: How to Download, Install, Test - Rev 2005.03.17" @

http://threads.borland.com/threads/t...221view=latest

I followed this and everything now works a dream!!!

Hope this helps (Cheers Chris!!)
Andy

Give Newbies a break!!!
 
Old May 27th, 2005, 04:28 AM
Registered User
 
Join Date: May 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OOPPPSS!!!! Just looked at the link in my posting which is a tad useless.

Instead, go to:
http://bdn.borland.com/search/

and enter:
"C/C++ Compiler: Getting Started"
in the search box. Article should then be retrieved.

Sorry folks!

Give Newbies a break!!!
 
Old June 1st, 2005, 01:32 PM
Registered User
 
Join Date: May 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Great Thanks! I'll give it a try!

I'd given up that anyone talked to us newbies.

Susan

 
Old June 4th, 2005, 12:03 PM
Registered User
 
Join Date: Jun 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you know the same thing happened to me on two computers and with other versions of free C++ compilers I'd downloaded.

Hopefully you've corrected the problem by now from the previous post but if not..
After much wailing & gnashing of teeth, I finally resolved this by

1. for Windows ME, running MSConfig, clicking on Environment, highlighting 'Path' and editing it by sticking ;C:\BORLAND\BCC55\BIN; on the end of what was already there.

2. for Windows XP, going into system properties in the control panal, clicking 'Advanced' going to 'Environmental Variables' and editing 'path' by again sticking ;C:\BORLAND\BCC55\BIN; on the end of what was already there.

I don't know why the above works but I think it's got something to do with telling .BAT files where to go.

Ah well - on with the book.

Regards
Biriani


biriani: [email protected]
 
Old June 6th, 2005, 11:32 AM
Registered User
 
Join Date: Jun 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was having the same exact problem. I noticed that the book has you save the bcc32.cfg and the ilink32.cfg in the bcc55 folder, but in fact it should be saved to the bin folder within bcc55. That was the thing missing, so try this and save some time by not reading through the entire howto at http://threads.borland.com/threads/t...279&view=short
thanks for your help mangeymutt, you saved me lots of frustration.
Jon

 
Old July 4th, 2005, 03:14 AM
Authorized User
 
Join Date: Jun 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

path just tells the OS that if a file it is looking for is not available in the folder it is looking in, it can look in the path-folders. In good ol' MS-DOS 6.2 it meant that you did not have to go to the windows folder to execute a windows file if C:\windows was in your path settings.

So you either move it to the correct folder or change the settings to specify the folder you are using.

If either is too much of a hassle, you can change the path settings.


P.S.

you can change a lot of these variables yourself in the dos-prompt:"
C:\>SET [enter] to view the whole list

C:\>SET <Variable=value1;value2;value3> to change a setting

BEWARE, these changes are only permanent once you
a) change them using the environment variables in windows,
b) change them from the autoexec.bat file located in the root directory.
in all other cases the changes are temporary.
 
Old July 25th, 2005, 03:48 PM
Registered User
 
Join Date: Jul 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am getting a different error which I can't seem to resolve.

Error 2133: Unable to execute command 'ilink32.exe' Can anyone help me with this? Many thanks!

 
Old July 26th, 2005, 01:15 PM
Registered User
 
Join Date: Jul 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had a fiddle with it this evening, can't tell you what I did differently, but it's compiling fine now. Programming...don't you just love it!

 
Old August 10th, 2005, 12:29 PM
Registered User
 
Join Date: Aug 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Iceman87
Default

I am also getting the ilink32.exe error. I don't know what is wrong. I created both the .cfg files and put them in the proper directory. Im loving the book so far but I am going insane over this little problem.

Any help would be great!

Thanks!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiler Romaunt V. Intro Programming 2 October 18th, 2008 06:27 AM
problems compiler-getting- Penelopy C++ Programming 0 June 5th, 2007 01:35 AM
C Compiler question imroostercogburn C++ Programming 1 July 5th, 2006 07:43 AM
Siteheader won't get thru compiler wudwork BOOK: ASP.NET Website Programming Problem-Design-Solution 2 March 13th, 2005 05:59 PM
For all who need a C/C++ compiler... Ammiel C++ Programming 1 July 17th, 2003 01:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.