Solved

Borland C++ 4.0 Set-up

Posted on 1998-07-18
4
1,506 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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

856 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