473,473 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Create 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 2162
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.homework.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*******@kooee.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*******@kooee.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
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...
2
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...
5
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...
2
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...
1
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...
1
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....
4
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...
7
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....
16
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...
0
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,...
0
jinu1996
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...
1
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...
0
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,...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.