Solved

Borland C++ 4.0 Set-up

Posted on 1998-07-18
4
1,516 Views
Last Modified: 2008-02-01
I am just starting to learn programming in C++, I have Borland C++ Version 4.0.  The problem is when I attempt to Compile even the simplest problem I end up getting the error "could not open input file hello.rc"  The program is directly out of a "teach yourself Borland book", I have followed setting according to the book as follows:
According to the book, I have selected the "New Project" option entered the project name and directory, then choose the "EasyWin [.exe]" target type from there I checked the .cpp node in the advanced settings.  I then typed in my program and compiled it and get the error.  The program is directly out of the book, so I believe the problem is with the my Borland C++ program setup.  Can someone help me out?  Thanks.
0
Comment
Question by:eskan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
alexo earned 50 total points
ID: 1168109
Open the project window and delete the .RC node.
0
 

Author Comment

by:eskan
ID: 1168110
I deleted the both nodes ".rc"  and ".def" and this is the error I come up with now. What else can I try?  Thanks

"Linker Warning: No module definition file specified: using defaults"
"Linker Fatal: Unable to open file 'c0wl.obj'"

0
 
LVL 11

Expert Comment

by:alexo
ID: 1168111
>> "Linker Warning: No module definition file specified: using defaults"
This is normal.

>> "Linker Fatal: Unable to open file 'c0wl.obj"
First, try to locate the file manually.  If you succeed, you must have set up the search directories wrong.  If the file is not on your disk, you didn't install all the possible configurations.
The "c0*.obj" files are the 'C' startup code.  The "w" probably means windows or quickwin.  The "l" means large model.  Either try a different model or reinstall (custom install) and make sure to include the above options.
0
 

Author Comment

by:eskan
ID: 1168112
Thanks, it appears I didn't have the large model installed when I loaded the program.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question