473,722 Members | 2,266 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

desperate need of help

hi all

i'm going to be quick i have an assignment due which i have no idea how to
do. i work full time so i dont have the time to learn it and its due date
has crept up on me ..

As follows:
Objectives
The purpose of this assignment is to have you practice the design of
object-oriented classes, including one or more of the following concepts
a.. encapsulation
b.. class/static variables
c.. constructors, mutators, inspectors
d.. operators

Task
Implement the classic cartesian 2D Point class. You can find the point.h
file in Files directory. Your task is to implement this class (point.cpp)
and to write a test program for it (pointTest.cpp) . The test program must
a.. test the constructors (default, other, copy) and the output operator
b.. test the assignment operator
c.. test the inspectors
d.. test the mutators
e.. test the input operator
f.. test the equality operators
g.. test the addition and multiplication operators
h.. test the distance function
i know that this would be a breeze for most as this is a first year subject.
So if anyone can help me out please email me for the rest of the
question/example..

thanks in advance
p.s. please only those who are willing to help me contact me as i can
imagine the barrage of posts i'll be receiving from self important
individuals having a go at me for not doing it myself.
i know i wont be learning anything but i have no choice at this stage
Jul 22 '05 #1
5 2192
John Flynn wrote:
hi all

i'm going to be quick i have an assignment due which i have no idea how to
do. i work full time so i dont have the time to learn it and its due date
has crept up on me ..
This is comp.lang.c++ and not comp.do.my.home work.for.me.

If you don't have time to learn, don't pretend you're trying to
learn. Save some money and buy a diploma online.
[...]
i know i wont be learning anything but i have no choice at this stage


You do have a choice. Go to your instructor and talk to him/her.
Together you will figure out a much better solution than cheating.
The ultimate purpose for your studying is not to get a grade but
to learn something. So, go learn something.

V
Jul 22 '05 #2
"John Flynn" <jo*******@kooe e.com.au> wrote in message
news:41******** **@news.iprimus .com.au...
hi all

i'm going to be quick i have an assignment due which i have no idea how to
do. i work full time so i dont have the time to learn it
When I discover I don't have time to do something (which happens
all the time), I postpone it until I do.
and its due date
has crept up on me ..
Perhaps you should not make agreements you can't keep.
As follows:
Objectives
The purpose of this assignment is to have you practice
You. Not us. We can and will help, but will not do it for you.
I can bang away on my piano all day long, but it will not at all
help anyone else learn to play.
the design of
object-oriented classes, including one or more of the following concepts
a.. encapsulation
b.. class/static variables
c.. constructors, mutators, inspectors
d.. operators

Task
Implement the classic cartesian 2D Point class. You can find the point.h
file in Files directory.
So you already have a foundation, you need not start from scratch.
Exploit this.
Your task is to implement this class (point.cpp)
and to write a test program for it (pointTest.cpp) . The test program must
a.. test the constructors (default, other, copy) and the output operator
b.. test the assignment operator
c.. test the inspectors
d.. test the mutators
e.. test the input operator
f.. test the equality operators
g.. test the addition and multiplication operators
h.. test the distance function
i know that this would be a breeze for most as this is a first year subject.

IMO it should be doable for anyone who actually pays attention and
takes notes in class, asks questions, and practices. Very early in a
reasonable quality C++ course. Whether it is a 'breeze' will of course
vary among individuals.
So if anyone can help me out please email me for the rest of the
question/example..
IF what you posted (your assignment) is incomplete, simply post
the complete assignment here. But in order to receive help, you
need to post the code of your best attempt, and ask specific
questions.

We will *not* hand you a completed solution, here or via email. Doing
that would definitely *not* help you. It would actually harm
you (and possibly those with whom you might work one day). So no
*I* won't, anyway. Also note: you're abusing the newsgroup, since it's
intent is for learning by anyone who might read here. Many learn
from seeing advice to others (I know I did). Insisting upon email help
takes that away from them.
thanks in advance p.s. please only those who are willing to help me
I'm very willing to help. Here.
Doing your work for you will not help you.
contact me as i can
imagine the barrage of posts i'll be receiving from self important
individuals having a go at me for not doing it myself.
I write this not from a sense of self-importance, but in an
(yes I know, probably hopeless) attempt to truly help you.
i know i wont be learning anything
So why waste your time? Spend the time on something you will
benefit from.
but i have no choice at this stage


Surely you do.

-Mike
Jul 22 '05 #3
John Flynn wrote:
hi all

i'm going to be quick i have an assignment due which i have no idea how to
do. i work full time so i dont have the time to learn it and its due date
has crept up on me ..

As follows:


The FAQ is pretty clear about such requests:
http://www.parashift.com/c++-faq-lit...t.html#faq-5.2

Regards,
Sumit.
--
Sumit Rajan <sumit DOT rajan AT gmail DOT com>
Jul 22 '05 #4
John Flynn wrote:
[blatant do my homework request redacted]


Sure. Just give me your instructor's email address so I can get the
full credit for it!

Jul 22 '05 #5
On Tue, 12 Oct 2004 23:04:57 +1000, "John Flynn"
<jo*******@kooe e.com.au> wrote:
hi all

i'm going to be quick i have an assignment due which i have no idea how to
do. i work full time so i dont have the time to learn it and its due date
has crept up on me .. No I won't do your assignment for you, I doubt if you could afford my
rates.

[snip assignment]
i know that this would be a breeze for most as this is a first year subject.
So if anyone can help me out please email me for the rest of the
question/example..

thanks in advance
p.s. please only those who are willing to help me contact me as i can
imagine the barrage of posts i'll be receiving from self important
individuals having a go at me for not doing it myself. Sorry, I just couldn't resist. There is some stuff that might just be
useful mixed in with the humble pie.

i know i wont be learning anything but i have no choice at this stage

But I think that you have learned something. I am sure we can salvage
some worthwhile learning experience and transferrable skills from the
wreckage.

a. Awareness of deadlines: 'nuff said. Deadlines apply to all types
of work so this is something that will be useful to you whatever job
you do.

b. Estimating: you are going to get some estimating experience as you
work out how long it will reasistically take you to complete this
assignment, bearing in mind all your other commitments.

c. Planning: helps you to avoid missing deadlines - Proper Planning
Prevents Pathetic Performance - PPPPP. At the very least a plan will
give you advance warning of a potentially missed deadline so you can
let the instructor know about your problems well in advance.

d. Groveling to the boss: you are going to have to learn to grovel to
the boss (useful in many work places) as you ask your instructor to
give you an extension on this assignment. This will be easier if you
have at least started the assignment and can show it to him/her alonng
with your estimate and plan. It all helps to show willing.

e. Not reinventing the wheel: the question says "Implement the classic
cartesian 2D Point class." Think about the wider implications of that
word "classic" and go to Google. You won't get a complete answer but
you will get something.

rossum (who sometimes cannot resist a sitting duck)
--

The ultimate truth is that there is no Ultimate Truth
Jul 22 '05 #6

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

Similar topics

3
2585
by: James | last post by:
Please help - getting very desperate! Sun, 12 October 2003 05:39 I have PHPDEV 4.2.3 from Firepages.com.au as the upgrade to 4.3.0 did not work. I also had an abortive download from PHP.NET as I could not configure Apache myself. The REAL problem is that PHPmyAdmin works and sees my test database Wines.... But my PHP program does not!
2
1424
by: Dave Navarro | last post by:
*** Sorry for the cross-posting, but this is an emergency *** My wife and I run a small web development company in Port Charlotte, Florida. We hosted our own clients on our own Windows web servers. Hurricane Charley came through and flattened the building our offices were located in. Fortunately, I had a bad feeling and decided to disconnect the two servers on Friday before the storm and bring them home with me.
5
1790
by: Tank | last post by:
I have had this post up here when i was trying to figure out how to make leading zeros and have been able to fudge that to work. I am now have trouble getting the loop that makes the folders to start fresh after the .jpg section of the move images code. this will be essential to make the whole thing work. Please help. Even if you just write out the solution. I am beggin. I am desperate. Please help. <!DOCTYPE HTML PUBLIC...
2
1873
by: lawrence | last post by:
We've developed a content management system that we donate to the public domain (via a Creative Commons declaration) at www.publicdomainsoftware.org. Our cms has an emphasis on weblogs, though we hope to add additional features eventualy. In the early days of the project, we had a graphic/web designer volunteering some time with us, but she has since gotten busy with other projects. We are desperate for someone to help us with the visual...
1
1067
by: JM | last post by:
Hi all, Further to my mail yesterday, haven't received much help and am getting slightly worried ! I am trying to add a block of cells but sadly can't get excel VBA to exactly read my intentions. I really wish cells H8 to H12 to be totalised but using the following statement the formula returns "Sum(H1:H12)
1
1713
by: Sajid | last post by:
Hello! Experts, I have the following piece of code in VB.NET that I want to use to update any records in the database. I would like to use a code as well as DataGrid to update the records. Please guide me how can I achieve it. I know there is an Update command to to do this that but since I am a newbie I don't know how? I'll be really grateful to those who may help me buy modifying the following code. I am really desperately looking for...
4
1317
by: melanieab | last post by:
Hi, Sorry this is a long message, but I'm getting desperate (and worried). I have a textbox (say, tb1) where the string is longer than the width of the box. If I'm coming from the previous textbox (tb0) (by tabbing or pressing enter or the down arrow), the text inside tb1 highlights and the cursor is at the end of the string (so that the beginning of the string isn't visible). If I type absolutely any key(s) other than Tab, Up, Down, or...
7
1687
by: Ladysniper | last post by:
DESPERATE doesn't begin to describe it. Can someone PLEASE tell me what is WRONG with this code? Now..a bit of background. It is a search results page for http://www.azsoma.info/directory.htm. (use Scottsdale for the city) If you go look, you see that the search results post (I do have my table borders up for debugging) but it doesn't line up with the table above it...the whole scroll background doesn't show up and I cannot get
16
2536
by: pamelafluente | last post by:
I am still working with no success on that client/server problem. I need your help. I will submit simplified versions of my problem so we can see clearly what is going on. My model: A client uses IE to talk with a server. The user on the client (IE) sees an ASP net page containing a TextBox. He can write some text in this text box and push a submit button.
1
9154
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9087
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
8043
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
6681
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
5995
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4502
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
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3207
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
3
2147
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.