473,394 Members | 1,887 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Borland Builder C++ 6 It's tutorial on the Editor

I was just wondering if anyone else is using this program in
the Enterprise edition as I'm a little disgusted with the Tutorial on
the Editor. Worked fine withe the exception that one line of code
always brings up an error. This line is done in the Save Command and
it's the line they give themselves in the tutorial.

Perhaps I'm stupid or something but trying to learn. I also
have Microsoft Visual C++ so play around with both. Any help out
there

Verne
Jul 22 '05 #1
6 5171
On Mon, 01 Nov 2004 20:23:00 -0500, Verne <ve***@notspam.ca> wrote in
comp.lang.c++:
I was just wondering if anyone else is using this program in
the Enterprise edition as I'm a little disgusted with the Tutorial on
the Editor. Worked fine withe the exception that one line of code
always brings up an error. This line is done in the Save Command and
it's the line they give themselves in the tutorial.

Perhaps I'm stupid or something but trying to learn. I also
have Microsoft Visual C++ so play around with both. Any help out
there

Verne


This group discusses the C++ language, as defined by its ANSI/ISO
standard. It does not discuss particular compilers, linkers, IDEs,
editors, debuggers, etc. None of these are defined by, or part of,
the C++ language.

If you have difficulties with Borland's products, ask for help in one
of their many support groups in the news:borland.public.* family. You
need to connect to their server, nntp:newsgroups.borland.com, to post
there, or you can access them with your browser somewhere on their web
site.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Jul 22 '05 #2

"Verne" <ve***@notspam.ca> wrote in message
news:g2********************************@4ax.com...
I was just wondering if anyone else is using this program in
the Enterprise edition as I'm a little disgusted with the Tutorial on
the Editor. Worked fine withe the exception that one line of code
always brings up an error. This line is done in the Save Command and
it's the line they give themselves in the tutorial.

Perhaps I'm stupid or something but trying to learn. I also
have Microsoft Visual C++ so play around with both. Any help out
there


I'm a bit confused, you talk about a tutorial on an editor, but you also
talk about code errors. The editor doesn't know much about code, if you are
getting code errors you must be compiling something.

So if you are compiling some code, getting an error and you want help fixing
it, then post the code here.

But if you are really struggling with the editor, then a Borland place would
be the best to ask.

john
Jul 22 '05 #3
On Mon, 01 Nov 2004 21:59:46 -0600, Jack Klein <ja*******@spamcop.net>
wrote:
On Mon, 01 Nov 2004 20:23:00 -0500, Verne <ve***@notspam.ca> wrote in Thanks for the reports fellows. I'm so green that I really don't even
know how to see all the code as yet but this is the complaint error I
receive and I'll try to show the code that the error takes place in.

[C++ Error] Unit1.cpp(64): E2451 Undefined symbol 'Filename'


void __fastcall TForm1::FileSaveAs1BeforeExecute(TObject *Sender)
{
FileSaveAs1->Dialog->InitialDir = ExtractFilePath (Filename);
}
//---------------------------------------------------------------------------

With VB I'd know what to do or where to look and thanks for the other
addresses to look too. This looks like a live group and thanks to all
who responded.

Vernecomp.lang.c++:
I was just wondering if anyone else is using this program in
the Enterprise edition as I'm a little disgusted with the Tutorial on
the Editor. Worked fine withe the exception that one line of code
always brings up an error. This line is done in the Save Command and
it's the line they give themselves in the tutorial.

Perhaps I'm stupid or something but trying to learn. I also
have Microsoft Visual C++ so play around with both. Any help out
there

Verne


Jul 22 '05 #4
Verne wrote:

[C++ Error] Unit1.cpp(64): E2451 Undefined symbol 'Filename'


void __fastcall TForm1::FileSaveAs1BeforeExecute(TObject *Sender)
{
FileSaveAs1->Dialog->InitialDir = ExtractFilePath (Filename);
}


Well it would seem that Filename isn't known. It's obviously
NOT a local variable to the function shown. My guess that it's
a member variable. Does the clsas TForm1 have such a member?
Remember that C++ is CASE SENSITIVE. If the member variable
is "filename" or "FileName" you need to make this code match.
Jul 22 '05 #5
Ah good, someone who perhaps knows.

I sort of thought that it was this but just working this Editor
tutorial as my first look at Builder 6 C++ I have no idea where to
place this. In Visual Basic we do this but here I've still to learn.

I have Ivor Hortons book "Beginning C++ 6" but it's strictly
dos stuff or much like C so next to no help with this program which is
geared for Windows. If not perhaps I shouldn't waste my time on it.
I'm just a kid of al most 76 but love learning.

Thanks so far, Ron,
Verne

On Wed, 03 Nov 2004 17:07:23 -0500, Ron Natalie <ro*@sensor.com>
wrote:
Verne wrote:

[C++ Error] Unit1.cpp(64): E2451 Undefined symbol 'Filename'


void __fastcall TForm1::FileSaveAs1BeforeExecute(TObject *Sender)
{
FileSaveAs1->Dialog->InitialDir = ExtractFilePath (Filename);
}



Well it would seem that Filename isn't known. It's obviously
NOT a local variable to the function shown. My guess that it's
a member variable. Does the clsas TForm1 have such a member?
Remember that C++ is CASE SENSITIVE. If the member variable
is "filename" or "FileName" you need to make this code match.


Jul 22 '05 #6
Ron,
Just went back and took a longer look after your answer and
what do youi know but that Borland Misspelled the name or miss typed
it at least as I simply copied it and pasted for the test tutorial.

Filename was listed earlier on that page as FileName so simply changed
the k to K and it now works fine.

Thank you.

On Wed, 03 Nov 2004 17:07:23 -0500, Ron Natalie <ro*@sensor.com>
wrote:
Verne wrote:

[C++ Error] Unit1.cpp(64): E2451 Undefined symbol 'Filename'


void __fastcall TForm1::FileSaveAs1BeforeExecute(TObject *Sender)
{
FileSaveAs1->Dialog->InitialDir = ExtractFilePath (Filename);
}



Well it would seem that Filename isn't known. It's obviously
NOT a local variable to the function shown. My guess that it's
a member variable. Does the clsas TForm1 have such a member?
Remember that C++ is CASE SENSITIVE. If the member variable
is "filename" or "FileName" you need to make this code match.


Jul 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Steven O. | last post by:
First, sorry if by some chance I am not posting to the correct newsgroups, these seemed to be the most applicable to my question (see disclaimer at end of post for further comments....). Started...
11
by: TGF | last post by:
I am wondering if it is feasible to use .NET for applications that have to be very fast. We have a few applications that are blazingly fast, written in Borland C++ using Borland C++ Builder. We...
3
by: René Kjellerup | last post by:
Hi' all I've come across a strange thing using 'Borland C++Builder 6 Ent' and are now looking for how this all fit together. Here is the files that where created without the .bpf, .bpr, and...
15
by: Chris | last post by:
I am just beginning programming again and need a bit of advice. I have both Visual C++ 6.0 Standard Edition and Borland C++ Builder 6. Of these two which do you consider the best for programming...
6
by: Verne | last post by:
Can anyone tell me where to look for some sample code programs for simple window developement by Builder 6 C++. I know the C++ fairly well but tryint to understand and learn how to use the...
24
by: serdar | last post by:
Hi. Does anybody say that what is better borland c++ or visual c++? Which compiler does have more help?
5
by: Mark - KF8RV | last post by:
Which to purchase is the question. My Borland 4.5 C/C++ compiler is old. The personal or student version of either BBC++ or MVC++ is being investigated for home use. My personal preference...
0
by: Xproblem | last post by:
FTP Client Engine for C/C++ 2.4 Screenshot - Soft.comFTP Client Engine for C/C++ 2.4. ... System Requirements: Windows C/C++ compiler - Microsoft operating system: Windows 95, Windows 98, Windows...
22
by: smartwolf agassi via DotNetMonster.com | last post by:
I'm a C# language learner. I want to know which IDE is better for C# programing, Borland C#Builder or VS.net 2003? -- Message posted via http://www.dotnetmonster.com
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.