Solved

Borland C++ 4.0 Set-up

Posted on 1998-07-18
4
1,491 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
Comment Utility
Open the project window and delete the .RC node.
0
 

Author Comment

by:eskan
Comment Utility
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
Comment Utility
>> "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
Comment Utility
Thanks, it appears I didn't have the large model installed when I loaded the program.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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 clear a vector as well as how to detect empty vectors in C++.

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now