472,331 Members | 1,498 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,331 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 5056
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...
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,...
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...
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...
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...
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...
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...
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...
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...

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.