Solved

Borland C++ 4.0 Set-up

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

726 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