473,779 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

urgent help needed

Any one please send me the C++ code for arithmatic calculator using
linked lists
Which performs addition ,subtraction,mu ltiplication,di vision and
modulus(using operator overloading).
i need it badly,urgently before monday
please send it to my mail address
i shall be thankful ,
Regards

May 7 '06 #1
13 2000
Gohar wrote:
Any one please send me the C++ code for arithmatic calculator using
linked lists
Which performs addition ,subtraction,mu ltiplication,di vision and
modulus(using operator overloading).
No.
i need it badly,urgently before monday
Then you should start writing it immediately.
please send it to my mail address


How about you tell us your teacher's mail address? Then someone can send it
directly to him/her.

May 7 '06 #2
Gohar wrote:
Any one please send me the C++ code for arithmatic calculator using
linked lists
Which performs addition ,subtraction,mu ltiplication,di vision and
modulus(using operator overloading).
No.
i need it badly,urgently before monday
Then you should start writing it immediately.
please send it to my mail address


How about you tell us your teacher's mail address? Then someone can send it
directly to him/her.

May 7 '06 #3
I am sorry but no one will write the code to help you and send it to
your e-mail address. Rolf Magnus replied with a nice option:

How about you tell us your teacher's mail address? Then someone can
send it
directly to him/her.

I liked that.

Regards

May 7 '06 #4
Gohar wrote:
Any one please send me the C++ code for arithmatic calculator using
linked lists
Which performs addition ,subtraction,mu ltiplication,di vision and
modulus(using operator overloading).
i need it badly,urgently before monday
please send it to my mail address
i shall be thankful ,
Regards


I think I have something you can start with. How much are you willing to
pay for it? I'll sell it to you for a special price: €150,- How does
that sound?

LOL :-)

I can't believe so many lazy students I see post questions about 1-2
days before they should hand in their solution to an assignment, when
they've probably had more than a week at least to try to do something
and begin working on the exercise.
Best regards / Med venlig hilsen
Martin Jørgensen

--
---------------------------------------------------------------------------
Home of Martin Jørgensen - http://www.martinjoergensen.dk
May 7 '06 #5

"Gohar" <go*********@ya hoo.com> wrote in message
news:11******** **************@ i39g2000cwa.goo glegroups.com.. .
Any one please send me the C++ code for arithmatic calculator using
linked lists
Which performs addition ,subtraction,mu ltiplication,di vision and
modulus(using operator overloading).
i need it badly,urgently before monday
please send it to my mail address
i shall be thankful ,
Regards


Answer:
Write a program that calculates the number of times Monday happens during
any given year, including leap years. Use a linked list to store a
month-by-month breakdown of the number of times Monday occurs using integers
and percentages. Output the data using a std::ofstream to a file. Provide an
interface to read/load the dataset using a std::ifstream and compare the
dataset with a user's input year. Display the result.

May 8 '06 #6

"Gohar" <go*********@ya hoo.com> wrote in message
news:11******** **************@ i39g2000cwa.goo glegroups.com.. .
Any one please send me the C++ code for arithmatic calculator using
linked lists
Which performs addition ,subtraction,mu ltiplication,di vision and
modulus(using operator overloading).
i need it badly,urgently before monday
please send it to my mail address
i shall be thankful ,


I have no idea what such code might look like in C++ and my Delphi version
doesn't support operator overloading. But the guts of what you ask for
might look something like the following in D5.
Type
pStackRec = ^ tStackRec;
tStackRec = record
rValue : double;
rLink : pStackRec;
end;
tCalcOp = (add, subtract, multiply, divide, modulo);

var CalcStack : pStackRec = nil;

procedure PushStack (val : double);

var p : pStackRec;

begin
New (p);
p^.rLink := CalcStack;
CalcStack := p;
p^.rValue := val;
end;

function PopStack : double;

var p : pStackRec;

begin
if CalcStack <> nil
then result := CalcStack.rValu e
else raise Exception.Creat e ('Stack underflow');
p := CalcStack;
CalcStack := CalcStack^.rLin k;
Dispose (p);
end;

function StackCalc (op : tCalcOp) : double;

var p : pStackRec;

begin
if CalcStack = nil
then raise Exception.Creat e ('Emtpy Stack');
p := CalcStack;
result := 0.0;
if op in [add .. modulo]
then begin // two operands required
CalcStack := CalcStack^.rLin k;
if CalcStack = nil
then raise Exception.Creat e ('Missing operand');
case op of
add : result := CalcStack^.rVal ue + p^.rValue;
subtract : result := CalcStack^.rVal ue - p^.rValue;
multiply : result := CalcStack^.rVal ue * p^.rValue;
divide : result := CalcStack^.rVal ue / p^.rValue;
modulo : result := CalcStack^.rVal ue - ((CalcStack^.rV alue /
p^.rValue) * p^.rValue);
end;
Dispose (p);
CalcStack^.rVal ue := result;
end;
end;
May 8 '06 #7
Gohar schrieb:
Any one please send me the C++ code for arithmatic calculator using
linked lists
Which performs addition ,subtraction,mu ltiplication,di vision and
modulus(using operator overloading).
i need it badly,urgently before monday
please send it to my mail address
i shall be thankful ,
Regards

Hello,

first of all you should convince your teacher that the assignement is to
be done on Pascal or Delphi. You surely wanted to do this anygow didn't
y? Or why would you otherwise write to two not relevant newsgroups?

Another thing: you should tell us how much you'd pay us for a solution
(at least a fundamental one) and how much for a really working solution.

To further simplyfy the task, your should - as already mentiones - send
us the e-mail address of your teacher, then we can deliver much more
faster and are sure that nothing gets lost during transmission.

You also should show us the source you've already programmed for this
assignement.

Another question: what school are you in or what do you study?

Oh and btw: hurry up, the less the time the more the price for our
work...(yes economics is hard)

Greetings

Markus
May 10 '06 #8
Gohar wrote:
Any one please send me the C++ code for arithmatic calculator using
linked lists


So you are:
- too lazy to do your homework yourself
- too computer-illiterate to do an internet search for a solution
- too ignorant even to know the difference between C++ and Pascal.

Duuuh!
May 12 '06 #9

Dr Engelbert Buxbaum wrote:
Gohar wrote:
Any one please send me the C++ code for arithmatic calculator using
linked lists


So you are:
- too lazy to do your homework yourself
- too computer-illiterate to do an internet search for a solution
- too ignorant even to know the difference between C++ and Pascal.

Duuuh!


and you love feeding the trolls :(

May 12 '06 #10

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

Similar topics

2
9164
by: choksi | last post by:
Hello All I am running PHP5.0.2 over apache 1.3.29 and openssl-0.9.7d on a Debian Linux and with a fake (internal)ip. Php Configure command './configure' '--with-apxs=/www/bin/apxs' '--with-openssl-dir=/usr/local/src/webserver/openssl-0.9.7d/' '--enable-trans-sid' '--disable-libxml' Registered PHP Streams : php, file, http, ftp Registered Stream Socket Transports : tcp, udp, unix, udg allow_url_fopen : ...
10
2563
by: Tony Archer | last post by:
Gentlemen, your urgent help is needed in solving a STRANGE problem. I have two servers a dev box, and a production box. On the dev box everything works fine, in production it hoses: One of the things a user can do is click a "Change region" link which takes them to a map of the world. They can then select one of four regions. When they select a region it takes them to a page which reads a variable and then sets a cookie which is...
1
2230
by: Tony Archer | last post by:
(Forgive the dupicate post, I had left out the OS Version out of the prior post.) Gentlemen, your urgent help is needed in solving a STRANGE problem. I have two servers a dev box, and a production box. On the dev box everything works fine, in production it hoses: One of the things a user can do is click a "Change region" link which takes them to a map of the world. They can then select one of four regions.
0
1621
by: felix_william | last post by:
Attention=3A Dear friend=2C REQUEST FOR BUSINESS RELATIONSHIP OF GREAT PROFITS I am HON=2E =28DR=2E=29 Felix William=2C the Director of Procurement and Contract Award at the Nigerian National Petroleum Corporation =28NNPC=29 of the Federal Republic of Nigeria=2E I apologized using this medium to reach you for a transaction=2F business of this magnitude=2C but this is due to Confidentiality and prompt access reposed on this medium=2E It is...
12
2332
by: Vibhajha | last post by:
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...
4
1326
by: Random | last post by:
The way I've built my page is to take the user through a multi-form process, only rendering those controls that are needed for each section. The ViewState is working the way I want it to, remembering items across the process, back and forth. But when the user finally opts to complete the sections and commit the information for processing, I can't access any of the information that was not rendered on the last section. It's obviously in...
7
4071
by: meenasamy | last post by:
Hi all, i need to create a function that takes three parameters( Original currency, needed currency, amount) i need to convert from the original currency to the needed currency the amount and return the new amount in the needed currency, I need this function to work real time (obtaining real time currency exchange rates), any ideas???
3
6476
by: N. Spiker | last post by:
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from the socket is missing the last character (line feed). When the same text is sent without the urgent flag set, all of the characters are read. I'm reading the data using the blocking read call of the network stream class. The .NET...
2
2436
by: Preetam Pattanashetty | last post by:
Hi I am learning ASP.NET using C#. I am able to run .aspx files on local system, but when I load them to the server, I get the "Server Error in '/' Application" error. I have tried to configure the web.config file but has not been fruitful. I would be thankful if the following questions were answered: a)has the write permissions on files and folders have to do something with it? b)what role does asp_client folder play? c) What other...
0
2592
by: Christopher | last post by:
Urgent Help Needed: The EPVH-1.1 Visual Hull Library. Dear All, I am a student doing research in computer vision. The EPVH-1.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 author of this library closed the download
0
9632
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
9471
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10136
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10071
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
9925
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...
1
7478
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
6723
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
5372
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...
1
4036
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 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.