473,383 Members | 1,846 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,383 software developers and data experts.

Help me!

Hi,

I know this is a basic question, but I am absolutely tearing out my hair
trying to find a simple answer here!

I am writing a class "StringSign" which is composed of two other classes,
SignLines and Location. I want to use my methods from the last two in the
main "StringSign" program. My questions are:

- How do I declare them in my StringSign.h file?
-How do I use them in the .cpp and .exe files? is it something like
Location::GetMap( );
Jul 22 '05 #1
26 1218
On Wed, 7 Apr 2004 21:48:22 +0800, "Jassy" <ja*********@iinet.net.au>
wrote:
Hi,

I know this is a basic question, but I am absolutely tearing out my hair
trying to find a simple answer here!

I am writing a class "StringSign" which is composed of two other classes,
SignLines and Location. I want to use my methods from the last two in the
main "StringSign" program. My questions are:

- How do I declare them in my StringSign.h file?
-How do I use them in the .cpp and .exe files? is it something like
Location::GetMap( );
Well, I spent about an hour writing a program to answer this same question
that you multi-posted (don't /do/ that) to alt.comp.lang.learn.c-c++, and
posted my response there. Wouldn't it be a shame if someone else ended up
doing the same thing here because they didn't know you posted (and I
answered) the question over /there/?
-leor


--
Leor Zolman --- BD Software --- www.bdsoft.com
On-Site Training in C/C++, Java, Perl and Unix
C++ users: Download BD Software's free STL Error Message Decryptor at:
www.bdsoft.com/tools/stlfilt.html
Jul 22 '05 #2
On Wed, 7 Apr 2004 21:48:22 +0800, "Jassy" <ja*********@iinet.net.au>
wrote:
Hi,

I know this is a basic question, but I am absolutely tearing out my hair
trying to find a simple answer here!

I am writing a class "StringSign" which is composed of two other classes,
SignLines and Location. I want to use my methods from the last two in the
main "StringSign" program. My questions are:

- How do I declare them in my StringSign.h file?
-How do I use them in the .cpp and .exe files? is it something like
Location::GetMap( );
Well, I spent about an hour writing a program to answer this same question
that you multi-posted (don't /do/ that) to alt.comp.lang.learn.c-c++, and
posted my response there. Wouldn't it be a shame if someone else ended up
doing the same thing here because they didn't know you posted (and I
answered) the question over /there/?
-leor


--
Leor Zolman --- BD Software --- www.bdsoft.com
On-Site Training in C/C++, Java, Perl and Unix
C++ users: Download BD Software's free STL Error Message Decryptor at:
www.bdsoft.com/tools/stlfilt.html
Jul 22 '05 #3
I'm sorry.

Not to be cheeky, but how am i supposed to know that the same ppl read both
groups?
"Leor Zolman" <le**@bdsoft.com> wrote in message
news:32********************************@4ax.com...
On Wed, 7 Apr 2004 21:48:22 +0800, "Jassy" <ja*********@iinet.net.au>
wrote:
Hi,

I know this is a basic question, but I am absolutely tearing out my hair
trying to find a simple answer here!

I am writing a class "StringSign" which is composed of two other classes,
SignLines and Location. I want to use my methods from the last two in the
main "StringSign" program. My questions are:

- How do I declare them in my StringSign.h file?
-How do I use them in the .cpp and .exe files? is it something like
Location::GetMap( );


Well, I spent about an hour writing a program to answer this same question
that you multi-posted (don't /do/ that) to alt.comp.lang.learn.c-c++, and
posted my response there. Wouldn't it be a shame if someone else ended up
doing the same thing here because they didn't know you posted (and I
answered) the question over /there/?
-leor


--
Leor Zolman --- BD Software --- www.bdsoft.com
On-Site Training in C/C++, Java, Perl and Unix
C++ users: Download BD Software's free STL Error Message Decryptor at:
www.bdsoft.com/tools/stlfilt.html

Jul 22 '05 #4
I'm sorry.

Not to be cheeky, but how am i supposed to know that the same ppl read both
groups?
"Leor Zolman" <le**@bdsoft.com> wrote in message
news:32********************************@4ax.com...
On Wed, 7 Apr 2004 21:48:22 +0800, "Jassy" <ja*********@iinet.net.au>
wrote:
Hi,

I know this is a basic question, but I am absolutely tearing out my hair
trying to find a simple answer here!

I am writing a class "StringSign" which is composed of two other classes,
SignLines and Location. I want to use my methods from the last two in the
main "StringSign" program. My questions are:

- How do I declare them in my StringSign.h file?
-How do I use them in the .cpp and .exe files? is it something like
Location::GetMap( );


Well, I spent about an hour writing a program to answer this same question
that you multi-posted (don't /do/ that) to alt.comp.lang.learn.c-c++, and
posted my response there. Wouldn't it be a shame if someone else ended up
doing the same thing here because they didn't know you posted (and I
answered) the question over /there/?
-leor


--
Leor Zolman --- BD Software --- www.bdsoft.com
On-Site Training in C/C++, Java, Perl and Unix
C++ users: Download BD Software's free STL Error Message Decryptor at:
www.bdsoft.com/tools/stlfilt.html

Jul 22 '05 #5

Jassy wrote:
Not to be cheeky, but how am i supposed to know that the same ppl read both
groups?


By lurking. Anyway, you know now.

Note that if you had crossposted (put more than one newsgroup in the
"Newsgroups" field of the message header - your newsreader will let you
do this) instead of multiposting, then all the replies would have gone
to all of those groups by default. That way, everyone knows what's going
on.

If possible you should choose the single most appropriate newsgroup for
your question.

http://www.slack.net/~shiva/welcome.txt
http://www.parashift.com/c++-faq-lite/

--
Regards,
Buster.
Jul 22 '05 #6

Jassy wrote:
Not to be cheeky, but how am i supposed to know that the same ppl read both
groups?


By lurking. Anyway, you know now.

Note that if you had crossposted (put more than one newsgroup in the
"Newsgroups" field of the message header - your newsreader will let you
do this) instead of multiposting, then all the replies would have gone
to all of those groups by default. That way, everyone knows what's going
on.

If possible you should choose the single most appropriate newsgroup for
your question.

http://www.slack.net/~shiva/welcome.txt
http://www.parashift.com/c++-faq-lite/

--
Regards,
Buster.
Jul 22 '05 #7

"Jassy" <ja*********@iinet.net.au> wrote in message
news:40***********************@freenews.iinet.net. au...
I'm sorry.

Not to be cheeky, but how am i supposed to know that the same ppl read both groups?


Crosspost to both at the same time if you must, or better yet pick just one
(the other one is probably better for beginner questions.) By the way,
please don't top post, and please do edit when you reply :-)
Jul 22 '05 #8

"Jassy" <ja*********@iinet.net.au> wrote in message
news:40***********************@freenews.iinet.net. au...
I'm sorry.

Not to be cheeky, but how am i supposed to know that the same ppl read both groups?


Crosspost to both at the same time if you must, or better yet pick just one
(the other one is probably better for beginner questions.) By the way,
please don't top post, and please do edit when you reply :-)
Jul 22 '05 #9
jeffc wrote:
Crosspost to both at the same time if you must, or better yet pick just one
(the other one is probably better for beginner questions.) By the way,
please don't top post, and please do edit when you reply :-)


I find that people who top-post usually don't know what "top-post"
means, so a brief explanation or a pointer to an explanation is probably
a good idea. I usually use this FAQ:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.4

And here's a demonstrations:

---------------

Oh, I see. Because it's screws up the normal top-to-bottom reading order.
Why?
Top-posting is bad.


---------------

In short, when replying do the following:

1) Quote only the text that is relevant to your reply.
2) Place your reply (or replies) *after* the relevant text, so the
message reads naturally.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #10
jeffc wrote:
Crosspost to both at the same time if you must, or better yet pick just one
(the other one is probably better for beginner questions.) By the way,
please don't top post, and please do edit when you reply :-)


I find that people who top-post usually don't know what "top-post"
means, so a brief explanation or a pointer to an explanation is probably
a good idea. I usually use this FAQ:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.4

And here's a demonstrations:

---------------

Oh, I see. Because it's screws up the normal top-to-bottom reading order.
Why?
Top-posting is bad.


---------------

In short, when replying do the following:

1) Quote only the text that is relevant to your reply.
2) Place your reply (or replies) *after* the relevant text, so the
message reads naturally.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #11
"Jassy" <ja*********@iinet.net.au> wrote in message news:<40741754$0$16584
[top posted response redacted]

A: Top Posting
Q: What's the most annoying thing on Usenet?

Please don't top post in this forum. The FAQ asks people not to do so.
Jul 22 '05 #12
"Jassy" <ja*********@iinet.net.au> wrote in message news:<40741754$0$16584
[top posted response redacted]

A: Top Posting
Q: What's the most annoying thing on Usenet?

Please don't top post in this forum. The FAQ asks people not to do so.
Jul 22 '05 #13
Hey this newsgroup is full of nothing but insulting idiots.
Everytime I ask a question in here I get responses like this.
"Leor Zolman" <le**@bdsoft.com> wrote in message
news:32********************************@4ax.com...
On Wed, 7 Apr 2004 21:48:22 +0800, "Jassy" <ja*********@iinet.net.au>
wrote:
Hi,

I know this is a basic question, but I am absolutely tearing out my hair
trying to find a simple answer here!

I am writing a class "StringSign" which is composed of two other classes,
SignLines and Location. I want to use my methods from the last two in the
main "StringSign" program. My questions are:

- How do I declare them in my StringSign.h file?
-How do I use them in the .cpp and .exe files? is it something like
Location::GetMap( );


Well, I spent about an hour writing a program to answer this same question
that you multi-posted (don't /do/ that) to alt.comp.lang.learn.c-c++, and
posted my response there. Wouldn't it be a shame if someone else ended up
doing the same thing here because they didn't know you posted (and I
answered) the question over /there/?
-leor


--
Leor Zolman --- BD Software --- www.bdsoft.com
On-Site Training in C/C++, Java, Perl and Unix
C++ users: Download BD Software's free STL Error Message Decryptor at:
www.bdsoft.com/tools/stlfilt.html

Jul 22 '05 #14
Hey this newsgroup is full of nothing but insulting idiots.
Everytime I ask a question in here I get responses like this.
"Leor Zolman" <le**@bdsoft.com> wrote in message
news:32********************************@4ax.com...
On Wed, 7 Apr 2004 21:48:22 +0800, "Jassy" <ja*********@iinet.net.au>
wrote:
Hi,

I know this is a basic question, but I am absolutely tearing out my hair
trying to find a simple answer here!

I am writing a class "StringSign" which is composed of two other classes,
SignLines and Location. I want to use my methods from the last two in the
main "StringSign" program. My questions are:

- How do I declare them in my StringSign.h file?
-How do I use them in the .cpp and .exe files? is it something like
Location::GetMap( );


Well, I spent about an hour writing a program to answer this same question
that you multi-posted (don't /do/ that) to alt.comp.lang.learn.c-c++, and
posted my response there. Wouldn't it be a shame if someone else ended up
doing the same thing here because they didn't know you posted (and I
answered) the question over /there/?
-leor


--
Leor Zolman --- BD Software --- www.bdsoft.com
On-Site Training in C/C++, Java, Perl and Unix
C++ users: Download BD Software's free STL Error Message Decryptor at:
www.bdsoft.com/tools/stlfilt.html

Jul 22 '05 #15
TOO MANY FRICKIN RULES!!!!!!!!!!!

Geesh!

GET BENT!

"red floyd" <re********@yahoo.com> wrote in message
news:96************************@posting.google.com ...
"Jassy" <ja*********@iinet.net.au> wrote in message news:<40741754$0$16584
[top posted response redacted]

A: Top Posting
Q: What's the most annoying thing on Usenet?

Please don't top post in this forum. The FAQ asks people not to do so.

Jul 22 '05 #16
TOO MANY FRICKIN RULES!!!!!!!!!!!

Geesh!

GET BENT!

"red floyd" <re********@yahoo.com> wrote in message
news:96************************@posting.google.com ...
"Jassy" <ja*********@iinet.net.au> wrote in message news:<40741754$0$16584
[top posted response redacted]

A: Top Posting
Q: What's the most annoying thing on Usenet?

Please don't top post in this forum. The FAQ asks people not to do so.

Jul 22 '05 #17
Your demonstration only demonstrates logic to me. Top posting is the most
natural way of going about posting on newsgroups. When im viewing a thread I
dont want to have to scroll down to the very bottom of each post to see what
each poster has said in the tread - i dont like having to read old news.
What a waste of time! I like clicking on a post and seeing straight away
what each user is saying. Bottom posters have way too much time on their
hands and like scrolling their lives away. They also probably like their
toilet paper facing the wall. And I guess they also use algebraic entry
systems as opposed to RPN. What amazes me most is that some of them are C++
programmers.
And here's a demonstrations:

---------------

Oh, I see.
Because it's screws up the normal top-to-bottom reading order.
Why?
Top-posting is bad.


---------------

In short, when replying do the following:

1) Quote only the text that is relevant to your reply.
2) Place your reply (or replies) *after* the relevant text, so the
message reads naturally.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 22 '05 #18
Your demonstration only demonstrates logic to me. Top posting is the most
natural way of going about posting on newsgroups. When im viewing a thread I
dont want to have to scroll down to the very bottom of each post to see what
each poster has said in the tread - i dont like having to read old news.
What a waste of time! I like clicking on a post and seeing straight away
what each user is saying. Bottom posters have way too much time on their
hands and like scrolling their lives away. They also probably like their
toilet paper facing the wall. And I guess they also use algebraic entry
systems as opposed to RPN. What amazes me most is that some of them are C++
programmers.
And here's a demonstrations:

---------------

Oh, I see.
Because it's screws up the normal top-to-bottom reading order.
Why?
Top-posting is bad.


---------------

In short, when replying do the following:

1) Quote only the text that is relevant to your reply.
2) Place your reply (or replies) *after* the relevant text, so the
message reads naturally.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 22 '05 #19
bitwise wrote:
Your demonstration only demonstrates logic to me. Top posting is the most
natural way of going about posting on newsgroups. When im viewing a thread I
dont want to have to scroll down to the very bottom of each post to see what
each poster has said in the tread - i dont like having to read old news.
What a waste of time! I like clicking on a post and seeing straight away
what each user is saying. Bottom posters have way too much time on their
hands and like scrolling their lives away. They also probably like their
toilet paper facing the wall. And I guess they also use algebraic entry
systems as opposed to RPN. What amazes me most is that some of them are C++
programmers.


That's why reply text should be trimmed down to the relevant part,
another concept which is apparently too advanced for you. How much did
you scroll to see this text?

If you want to disregard basic netiquette, please go somewhere else.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #20
bitwise wrote:
Your demonstration only demonstrates logic to me. Top posting is the most
natural way of going about posting on newsgroups. When im viewing a thread I
dont want to have to scroll down to the very bottom of each post to see what
each poster has said in the tread - i dont like having to read old news.
What a waste of time! I like clicking on a post and seeing straight away
what each user is saying. Bottom posters have way too much time on their
hands and like scrolling their lives away. They also probably like their
toilet paper facing the wall. And I guess they also use algebraic entry
systems as opposed to RPN. What amazes me most is that some of them are C++
programmers.


That's why reply text should be trimmed down to the relevant part,
another concept which is apparently too advanced for you. How much did
you scroll to see this text?

If you want to disregard basic netiquette, please go somewhere else.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #21
Tony S wrote:
Hey this newsgroup is full of nothing but insulting idiots.
Everytime I ask a question in here I get responses like this.


And yet people who put forth a tiny bit of effort and show some respect
for the group frequently get loads of helpful, detailed replies. Maybe
the group isn't the problem.

Welcome to my killfile, and hopefully the killfiles of most of the other
people who would have been willing to help, if you had a better attitude.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #22
Tony S wrote:
Hey this newsgroup is full of nothing but insulting idiots.
Everytime I ask a question in here I get responses like this.


And yet people who put forth a tiny bit of effort and show some respect
for the group frequently get loads of helpful, detailed replies. Maybe
the group isn't the problem.

Welcome to my killfile, and hopefully the killfiles of most of the other
people who would have been willing to help, if you had a better attitude.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #23
I had to scroll 1/2 mile
Your demonstration only demonstrates logic to me. Top posting is the most natural way of going about posting on newsgroups. When im viewing a thread I dont want to have to scroll down to the very bottom of each post to see what each poster has said in the tread - i dont like having to read old news.
What a waste of time! I like clicking on a post and seeing straight away
what each user is saying. Bottom posters have way too much time on their
hands and like scrolling their lives away. They also probably like their
toilet paper facing the wall. And I guess they also use algebraic entry
systems as opposed to RPN. What amazes me most is that some of them are C++ programmers.


That's why reply text should be trimmed down to the relevant part,
another concept which is apparently too advanced for you. How much did
you scroll to see this text?

If you want to disregard basic netiquette, please go somewhere else.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 22 '05 #24
I had to scroll 1/2 mile
Your demonstration only demonstrates logic to me. Top posting is the most natural way of going about posting on newsgroups. When im viewing a thread I dont want to have to scroll down to the very bottom of each post to see what each poster has said in the tread - i dont like having to read old news.
What a waste of time! I like clicking on a post and seeing straight away
what each user is saying. Bottom posters have way too much time on their
hands and like scrolling their lives away. They also probably like their
toilet paper facing the wall. And I guess they also use algebraic entry
systems as opposed to RPN. What amazes me most is that some of them are C++ programmers.


That's why reply text should be trimmed down to the relevant part,
another concept which is apparently too advanced for you. How much did
you scroll to see this text?

If you want to disregard basic netiquette, please go somewhere else.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 22 '05 #25
I am writing a class "StringSign" which is composed of two other classes, SignLines and Location. I want to use my methods from the last two in the main "StringSign" program. My questions are:

- How do I declare them in my StringSign.h file?
-How do I use them in the .cpp and .exe files? is it something like
Location::GetMap( );


First, your subject should be specific about your question. Next, I
don't understand what you are trying to do / what your problem is. And
what about the .exe file and the class?
Please be more specific about your question or post some code to show
the problem.
Maybe I'm the only idiot here, but since noone ansered your question
int _this_ group, I'm propably not.

--
-Gernot

Post here, don't email. If you feel you have to mail, revert my
forename from:
to******************************@invalid.com
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
Jul 22 '05 #26
I am writing a class "StringSign" which is composed of two other classes, SignLines and Location. I want to use my methods from the last two in the main "StringSign" program. My questions are:

- How do I declare them in my StringSign.h file?
-How do I use them in the .cpp and .exe files? is it something like
Location::GetMap( );


First, your subject should be specific about your question. Next, I
don't understand what you are trying to do / what your problem is. And
what about the .exe file and the class?
Please be more specific about your question or post some code to show
the problem.
Maybe I'm the only idiot here, but since noone ansered your question
int _this_ group, I'm propably not.

--
-Gernot

Post here, don't email. If you feel you have to mail, revert my
forename from:
to******************************@invalid.com
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
Jul 22 '05 #27

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

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
9
by: Tom | last post by:
A question for gui application programmers. . . I 've got some GUI programs, written in Python/wxPython, and I've got a help button and a help menu item. Also, I've got a compiled file made with...
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
3
by: Colin J. Williams | last post by:
Python advertises some basic service: C:\Python24>python Python 2.4.1 (#65, Mar 30 2005, 09:13:57) on win32 Type "help", "copyright", "credits" or "license" for more information. >>> With...
7
by: Corepaul | last post by:
Missing Help Files When I enter "recordset" as the keyword and search the Visual Basic Help index, I get many topics of interest in the resulting list. But there isn't any information available...
5
by: Steve | last post by:
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp My expectation is that a developer using my DLL would be able to access this help file during his development time...
8
by: Mark | last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my home computer has an abbreviated help screen not 2% of the help on my laptop. All the settings look the same on both...
10
by: JonathanOrlev | last post by:
Hello everybody, I wrote this comment in another message of mine, but decided to post it again as a standalone message. I think that Microsoft's Office 2003 help system is horrible, probably...
1
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' 'UPGRADE_WARNING: Couldn't resolve...
0
by: hitencontractor | last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003. I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About. The application...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.