Thread View: borland.public.install.cbuilderx
5 messages
5 total messages
Started by Earl Kurburski
Tue, 14 Dec 2004 00:23
Where is the Editor?
Author: Earl Kurburski
Date: Tue, 14 Dec 2004 00:23
Date: Tue, 14 Dec 2004 00:23
15 lines
1865 bytes
1865 bytes
I have obtrained the C++BuilderX via the Sam's Teach Yourself C++ in 24 hours manual. Installed the software and associated all files to it. Registered for the personel key and recieved the e-mail for the code with instructions to copy to my personel folder. Now I open program and I get the program with a dark blue screen on the right where the editor should be. I clicked new, came to object gallary and selected new console and next. New console app wizard creates project settings and directory path. Then get step 2 to ssset active toolset, and using windowsxp I accept the checked boxs and click the set as active toolset. I'm asked which files to add and add none, click next and I have consoleapp 1, 2, 3 or 4 ect with a window on right that is dark blue. How do I activate the editor window to enter in the excercises in my book?
Re: Where is the Editor?
Author: Brian Moon [Borland]
Date: Tue, 14 Dec 2004 00:32
Date: Tue, 14 Dec 2004 00:32
14 lines
1616 bytes
1616 bytes
Hello Earl, To open the editor you first need to add a file to your project and then open that file. To add a file, go to File | New and select the Source file tab. From that tab add either a new C++ unit (.h and .cpp file) so simply a new C++ file (.cpp). Upon clicking OK the file(s) will be added to your project and will be opened for you to edit. Take care and have fun learning C++! -Brian Earl Kurburski wrote: > How do I activate the editor window to enter in the excercises in my book?
Found the Editor which creates the next problem!
Author: Earl Kurburski
Date: Tue, 14 Dec 2004 22:15
Date: Tue, 14 Dec 2004 22:15
27 lines
2047 bytes
2047 bytes
Brian Moon [Borland] wrote:
> Hello Earl,
>
> Take care and have fun learning C++!
>
> -Brian
Thank you, and now the next problem. Below is copy of first program
interered into editor as per book:
#include <instream>
int main()
{
std::cout << "Hello World!\n";
return 0;
}
When I click make "hello.cpp" I get the following build errors.
"hello.cpp": E2209 Unable to open include file 'instream' at line 1
"hello.cpp": E2090 Qualifier 'std' is not a class or namespace name in
function main() at line 5
"hello.cpp": E2379 Statement missing ; in function main() at line 5
The book says to check setting up the include path or envioronmental
variables. Huh! With all due respect I'm POLISH and it's coming out!
I haven't a clue to what to do. I followed the install suggestions and
clicked everything ok and changed nothing. So how do I set up the
include path or envioronmental variables?
Re: Found the Editor which creates the next problem!
Author: Brian Moon [Borland]
Date: Tue, 14 Dec 2004 22:29
Date: Tue, 14 Dec 2004 22:29
19 lines
1687 bytes
1687 bytes
Hello Earl, Well for starters I don't believe there is a header file named "instream". Instead, change that to: #include <iostream> To fix this issue you should not need to change your include path. But for future reference, go to Project | Build Options Explorer and then highlight the compiler you are using. The bottom of the dialog should then change to reflect the various options the compiler has. In there you will find an area to modify the include path. Lastly, with respect to the environment variables I'm pretty sure that you won't have a need to modify these in the near future. Good luck! -Brian
Thanks again and will switch to the student newsgroup
Author: Earl Kurburski
Date: Tue, 14 Dec 2004 22:50
Date: Tue, 14 Dec 2004 22:50
12 lines
1792 bytes
1792 bytes
> -Brian Thank you again for the quick and complete answer. I think it must be obvious that I do have the program properly installed and just don't have any idea yet of what to do as to using it. I think it also seems that it would be time to switch to the student newsgroup for my future questions to which you can expect thousands! Again, thanks I will try and read the book a little closer to see that the letters are what they are. Earl Kurburski
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads