473,839 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5210
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.pu blic.* 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.l earn.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.c om...
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*******@spam cop.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::FileSav eAs1BeforeExecu te(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::FileSav eAs1BeforeExecu te(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::FileSav eAs1BeforeExecu te(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::FileSav eAs1BeforeExecu te(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
2775
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 with the Borland web site, and it didn't answer my questions, so I hope someone here will be kind enough to reply. I took a few courses on C++ using Microsoft Visual C++, and then taught myself MFC for GUI design -- an exercise akin to using...
11
2142
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 would like to port over to ..NET, but some of the test models we have developed are MUCH, MUCH slower than it's Borland counterpart. Is this due to the .NET Framework and the JIT? Or is it something we should be looking for in the project...
3
2545
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 .res file:
15
3790
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 windows programs (not the DOS style program). I have had a quick look at both of these and Borland seems to have a lot more components (Buttons, Forms etc) than Microsoft Visual C++. Does Visual C++ have these components easily accesable. Chris.
6
2882
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 Enterprise edidtion of Builder 6 by Borland. Please. Verne
24
3833
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
3671
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 happens to be Borland, which I am not able to purchase wisely due to a lack of product knowledge. You can bombard me with good suggestions, including a solid reference book on your compiler of choice. Thank you.
0
3120
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 ME, ... www.soft30.com/screen-70-11625.htm - 31k - Cached - Similar pages C++ Server Pages 1.6 - Soft.comC++ Server Pages (CSP) allows developers to build Dynamic Web Pages and Web ... Existing C++ projects can be ported to the Web by simply...
22
2247
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
9856
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10910
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10297
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9426
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7833
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5683
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4066
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3136
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.