Solved

Borland C++ 4.0 Set-up

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

773 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