Hi friends,
My sister is in great problem , she has this exam of C++ and
she is stuck up with some questions, if friends like this group
provides some help to her, she will be very grateful.
These are some questions:
7. design and implement a class binsearch for a binary search tree.it
includes search,remove and add options.make suitable assumption.
8.explai how pointers to functions can be declared in c++.under what
conditions can two pointer variables be added,subtracte d and compared?
9.design and develop a polymorphic class to solve a general quadratic
equation ax2+bx+c=0
If u can provide the full answer it will be great , but if u
can't, send the answer in brief , so, that it is understandable.
Thank you very much VibhaJha. 12 2300
"Vibhajha" <vi*********@ya hoo.com> wrote in message
news:8d******** *************** @posting.google .com... Hi friends, My sister is in great problem , she has this exam of C++ and she is stuck up with some questions, if friends like this group provides some help to her, she will be very grateful. These are some questions: 7. design and implement a class binsearch for a binary search tree.it includes search,remove and add options.make suitable assumption.
8.explai how pointers to functions can be declared in c++.under what conditions can two pointer variables be added,subtracte d and compared?
9.design and develop a polymorphic class to solve a general quadratic equation ax2+bx+c=0
Your sister should post the attempts that she has made to answer these
questions. People will gladly help her if she can show she has made some
effort herself. What people will not do is post complete answers to her,
your sister will learn very little that way.
And of course it will help if your sister posts herself instead of through
you.
john
Hi,
ya she can post this question with herself , if she has this
internet!!!, she lives in such a place where she lacks internet
facility, and good teachers , so about some questions she doesn't know
what the question means.... and i don't know C++ , so, i can't try and
send u trial answers , she has this test in coming next weekend.. she
has already sent me questions through Post. Its urgent people please
try and understand , its the question of her career, i am sure next
time , she will definitely, not write just questions , but send the
trial answers too, please friends, this time please help her. Next
time i will not give you any chance to complain.
Thanks for reading me.....
VibhaJha.
Vibhajha posted: Hi friends, My sister is in great problem , she has this exam of C++ and she is stuck up with some questions, if friends like this group provides some help to her, she will be very grateful. These are some questions: 7. design and implement a class binsearch for a binary search tree.it includes search,remove and add options.make suitable assumption.
8.explai how pointers to functions can be declared in c++.under what conditions can two pointer variables be added,subtracte d and compared?
9.design and develop a polymorphic class to solve a general quadratic equation ax2+bx+c=0
If u can provide the full answer it will be great , but if u can't, send the answer in brief , so, that it is understandable. Thank you very much VibhaJha.
Fuck Off.
JKop
Vibhajha wrote: Hi, ya she can post this question with herself , if she has this internet!!!, she lives in such a place where she lacks internet facility, and good teachers , so about some questions she doesn't know what the question means.... and i don't know C++ , so, i can't try and send u trial answers , she has this test in coming next weekend.. she has already sent me questions through Post. Its urgent people please try and understand , its the question of her career
What does that mean?
What career?
Professional? If she can't answer that questions she is not (yet) ready
for industrial professional programming.
, i am sure next time , she will definitely, not write just questions , but send the trial answers too, please friends, this time please help her. Next time i will not give you any chance to complain.
So what exactly does she need?
7. design and implement a class binsearch for a binary search tree.it includes search,remove and add options.make suitable assumption.
Hmm. A binary search tree. Every lousy book about data structure has one
chapter about binary search trees. Let me see: www.google.com
Search phrase: "binary search tree C++"
returns around 132000 hits.
8.explai how pointers to functions can be declared in c++.under what conditions can two pointer variables be added,subtracte d and compared?
Seriously. The first part of this question should be easy to answer
with her text book. Function pointer syntax isn't used very often in C++,
but nevertheless, if you got it once it is easy to remember.
Also see the FAQ for some common pitfalls: http://www.parashift.com/c++faqlit...omembers.html
The second part of the question is really very basic. If she can't answer
that on her own, ....
9.design and develop a polymorphic class to solve a general quadratic equation ax2+bx+c=0
I really don't know what to answer here. Seems like straightforward
class to solve a quadratic equation. The only thing that's puzzling me
is: Why is there the request for polymorphism in the question? Anybody?
(Hmm. There are 2 well known mathematical ways to solve a quadratic
equation. Could it be that this should be used as base for polymorphism?)

Karl Heinz Buchegger kb******@gascad .at
> > 9.design and develop a polymorphic class to solve a general quadratic equation ax2+bx+c=0
I really don't know what to answer here. Seems like straightforward class to solve a quadratic equation. The only thing that's puzzling me is: Why is there the request for polymorphism in the question? Anybody? (Hmm. There are 2 well known mathematical ways to solve a quadratic equation. Could it be that this should be used as base for polymorphism?)
I reckon the polymorphism is for different kinds of number class. E.g. real
numbers or complex numbers.
john
In message <41************ ***@gascad.at>, Karl Heinz Buchegger
<kb******@gasca d.at> writes Vibhajha wrote: Hi, ya she can post this question with herself , if she has this internet!!!, she lives in such a place where she lacks internet facility, and good teachers , so about some questions she doesn't know what the question means.... and i don't know C++ , so, i can't try and send u trial answers , she has this test in coming next weekend.. she has already sent me questions through Post. Its urgent people please try and understand , its the question of her career What does that mean? What career? Professional ? If she can't answer that questions she is not (yet) ready for industrial professional programming.
Of course "she" is; she'll just get her "friend" to post all her
professional problems here for clc++ to solve :(
[...] 9.design and develop a polymorphic class to solve a general quadratic equation ax2+bx+c=0 I really don't know what to answer here. Seems like straightforward class to solve a quadratic equation.
Nothing in numerics is "straightforwar d" ;)
The only thing that's puzzling me is: Why is there the request for polymorphism in the question? Anybody? (Hmm. There are 2 well known mathematical ways to solve a quadratic equation. Could it be that this should be used as base for polymorphism?)
Different precisions? Real versus complex coefficients?
(OK, personally I'd use template genericity, not runtime polymorphism,
for this sort of thing, but it's just possible that's what "her" teacher
is looking for.)

Richard Herring
John Harrison wrote: 9.design and develop a polymorphic class to solve a general quadratic equation ax2+bx+c=0
I really don't know what to answer here. Seems like straightforward class to solve a quadratic equation. The only thing that's puzzling me is: Why is there the request for polymorphism in the question? Anybody? (Hmm. There are 2 well known mathematical ways to solve a quadratic equation. Could it be that this should be used as base for polymorphism?)
I reckon the polymorphism is for different kinds of number class. E.g. real numbers or complex numbers.
Oh. I see.
Something along
class Number
{
virtual void Add( ... )
virtual void Subtract( ... )
...
// or maybe some operators
};
class IntNumber : public Number
{
...
};
class Solver
{
public:
void Solve( const Number* CoeffA, const Number* CoeffB,
const Number* CoeffC, const Number* Result );
};
Silly assignment.
A template would be far better for this.

Karl Heinz Buchegger kb******@gascad .at
Richard Herring wrote:
The only thing that's puzzling me is: Why is there the request for polymorphism in the question? Anybody? (Hmm. There are 2 well known mathematical ways to solve a quadratic equation. Could it be that this should be used as base for polymorphism?) Different precisions? Real versus complex coefficients?
(OK, personally I'd use template genericity, not runtime polymorphism, for this sort of thing, but it's just possible that's what "her" teacher is looking for.)
Yeah. John brought me on that track too.
It's doable, although it would be a silly assignment.
Especially because then the equation solver would not
be polymorphic, but the 'numbers' it crunches.

Karl Heinz Buchegger kb******@gascad .at
Vibhajha wrote: Hi friends, My sister is in great problem , she has this exam of C++ and she is stuck up with some questions, if friends like this group provides some help to her, she will be very grateful. These are some questions: 7. design and implement a class binsearch for a binary search tree.it includes search,remove and add options.make suitable assumption.
See <map>. Many implementations of the map use a binary tree of some
type.
8.explai how pointers to functions can be declared in c++.under what conditions can two pointer variables be added,subtracte d and compared?
Search the web for "SGI STL". Silicon Graphics Inc. has a good
explanation of pointers and when the can be added, subtracted
and compared.
9.design and develop a polymorphic class to solve a general quadratic equation ax2+bx+c=0
Sorry, but I don't do urgent homework requests. Contact me
much earlier and I'll be glad to oblige. If u can provide the full answer it will be great , but if u can't, send the answer in brief , so, that it is understandable. Thank you very much VibhaJha.
Search newsgroups, the web and books. Searching is a valuable
skill.

Thomas Matthews
C++ newsgroup welcome message: http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++faqlite
C Faq: http://www.eskimo.com/~scs/cfaq/top.html
alt.comp.lang.l earn.cc++ faq: http://www.comeaucomputing.com/learn/faq/
Other sites: http://www.josuttis.com  C++ STL Library book This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics 
by: choksi 
last post by:
Hello All
I am running PHP5.0.2 over apache 1.3.29 and openssl0.9.7d on a Debian
Linux and with a fake (internal)ip.
Php Configure command './configure' 'withapxs=/www/bin/apxs'
'withopenssldir=/usr/local/src/webserver/openssl0.9.7d/'
'enabletranssid' 'disablelibxml'
Registered PHP Streams : php, file, http,...

by: deppy_3 
last post by:
Hi.I am started learning Programm language C before some time.I am
trying to make a programm about a very simple "sell shop".This programm
hasn't got any compile problem but when i run it i face some other
ploblems which i can not correct.I would appreciated if someone take a
look at my programm so as to help me.I tried many times to find out...

by: naknak4 
last post by:
Introduction
This assignment requires you to develop solutions to the given problem
using several different approaches (which actually involves using three
different STL containers). You will implement all three techniques as
programs. In these programs, as well as solving the problem, you will
also measure how long the program takes to...

by: naknak 
last post by:
Introduction
This assignment requires you to develop solutions to the given problem
using several different approaches (which actually involves using three
different STL containers). You will implement all three techniques as
programs. In these programs, as well as solving the problem, you will
also measure how long the program takes to...

by: karizmatrix22 
last post by:
Hi,
I need a programmer who can write 3 programs for following questions below.Programs need to be ready before nextweek.thank you. Person who help me these 3 questions will be get paid.. I am new to programming, thats why i need help..i dont understand any coding at all.
Question 1:
Write an application that accepts a user’s password...
 
by: sauravb 
last post by:
hey everybody
im a beginner at C++ and i really really might sound dumb but please help me..
al i need to do is display the map of india using borland in graphics mode....i've been searching fr sumthin on the net but i only seem to find complicated programs to move images around but none so simple...so please do help me asap.....
the help's...

by: Christopher 
last post by:
Urgent Help Needed: The EPVH1.1 Visual Hull Library.
Dear All,
I am a student doing research in computer vision. The EPVH1.1 Visual
Hull Library will really help a lot in my research.
I did have this library before but I didn't keep my copy of this
library because I always thought I could download it again form
internet. However, the...

by: feltra 
last post by:
Hi,
The following is from my friend, who has some technical problem at
present in accessing the web... I am writing for him... Kindly
request your inputs ASAP, as he has some kind of deadline tomorrow.
..........................................................................................
I am having an issue with MDI form. I have an...

by: Rory_Small 
last post by:
Help! I am running windows XP Media Edition. I have 4 accounts set up. Mine is the administrator, 2 are granted administrator privileges and 1 is limited.
The other 3 accounts cannot access the internet because of the McAfee firewall (or so I thought). But when I logged in as my wife (with administrator privileges), I could not even open...

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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...

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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
 
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, ZWave, WiFi, 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...

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...

by: conductexam 
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...

by: adsilva 
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

by: 6302768590 
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

by: muto222 
last post by:
How can i add a mobile payment intergratation into php mysql website.
 
by: bsmnconsultancy 
last post by:
In today's digital era, a welldesigned 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...
 