|I just installed Borland C++ Version 5.5 onto my laptop about an hour ago, but no matter what I try, I can't seem to figure out how to properly execute a .cpp file through my Command Prompt. I'm sure that the program was installed correctly, and I followed the instructions included in the bcc55 folder. I think that the problem has something to do with linking the 'include' and 'lib' folders to the .cpp file with the configuration files. Here's what I have right now:|
(Bear in mind that those folders contain all the files they came with in the download.)
Here are the contents of my user folder (C:\users\Matt):
-hello.cpp (Standard "Hello World!" file using stdio.h's printf function.)
(No idea what those last two are, but they were generated when I tried executing hello.cpp through the Command Prompt.)
I entered "bcc32 hello" into the Command Prompt under these conditions and received the following error message:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Error E2209 hello.cpp 1: Unable to open Include file 'stdio.h'
Error E2268 hello.cpp 5: Call to undefined function 'printf' in function main()
*** 2 errors in Compile ***
I understand why it couldn't compile the printf function being cut off from stdio.h, but what I don't get is why it failed to include that header file. I'm pretty sure I have the .cfg files in the right positions...
Anyway, if someone could help me, that'd be great. I'd very much like to get past these technical difficulties and start making some actual programs.
Thanks in advance!