Source Code of a Simple Calculator
-
Bwahahahahaa - if you can't write a calculator, I presume you are writing a hello world and want it to calculate how many characters it has. This is an interesting take on the 'please do my homework, I am too lazy and stupid' theme. Thanks for sharing it. Now go and do your own homework. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
You're a very helpful person aren't you! Well, looking at what you've contributed to this site, suggests you don't know the answer to this poor persons question. Never mind I will email him a parser and GUI for his calculator.
-
You're a very helpful person aren't you! Well, looking at what you've contributed to this site, suggests you don't know the answer to this poor persons question. Never mind I will email him a parser and GUI for his calculator.
You are a moron. First of all, I answer a *lot* of questions here and only have a small number of articles as I am not allowed to contribute by order of my boss. You, on the other hand, are so stupid as to think that this guy is actually working on some project, even though he is too inexperienced to even write a calculator ( my first C++ project as I recall), especially as Windows COMES WITH ONE (i.e. it is doubtful he has any reason to 'need' one ). Do you think that it will help this person if they get to skip this particular lesson ? Will you keep on helping them through their education ? What about when their degree gets them a job even though they STILL can't write a calculator, because you mailed it too them ? Will you do all their work then ? My solace is that your parser and GUI will probably land him a fail because it will be more than was required ( almost certainly a command line program ). I'm not mean spirited, it's you who is screwing this guy over. If he was honest about his need ( an assignment ), posted some code and asked for help, I'd reply immediately and be happy to put time into explaining where he is going wrong. You are happy to hurt his chances of succeeding in C++ in order to feel good about yourself for doling out what he asked for, a complete solution that robs him of the chance to learn how it is done himself. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
-
You're a very helpful person aren't you! Well, looking at what you've contributed to this site, suggests you don't know the answer to this poor persons question. Never mind I will email him a parser and GUI for his calculator.
Well, looking at what you've contributed to this site, suggests you don't know the answer to this poor persons question. This is even more funny by the fact I am the most prolific poster here ( OK, not all of it was helping people, but I'm a part of the site ), and you've posted one message, this one. If, as I assume, you're the guy who asked for this, covering your tracks, do your own homework, by all means ask questions, I'd love to help you. But giving you a gift wrapped solution does not help. your class has been structured for you to learn, if the assigment is due tomorrow and you can't do it, that is most probably your fault, and a pass at this stage will not help you in the long run. I wish you all the best in your studies, feel free to ask if you have tried to do something and find you're stuck. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
-
You are a moron. First of all, I answer a *lot* of questions here and only have a small number of articles as I am not allowed to contribute by order of my boss. You, on the other hand, are so stupid as to think that this guy is actually working on some project, even though he is too inexperienced to even write a calculator ( my first C++ project as I recall), especially as Windows COMES WITH ONE (i.e. it is doubtful he has any reason to 'need' one ). Do you think that it will help this person if they get to skip this particular lesson ? Will you keep on helping them through their education ? What about when their degree gets them a job even though they STILL can't write a calculator, because you mailed it too them ? Will you do all their work then ? My solace is that your parser and GUI will probably land him a fail because it will be more than was required ( almost certainly a command line program ). I'm not mean spirited, it's you who is screwing this guy over. If he was honest about his need ( an assignment ), posted some code and asked for help, I'd reply immediately and be happy to put time into explaining where he is going wrong. You are happy to hurt his chances of succeeding in C++ in order to feel good about yourself for doling out what he asked for, a complete solution that robs him of the chance to learn how it is done himself. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Gob shite ;P
-
Well, looking at what you've contributed to this site, suggests you don't know the answer to this poor persons question. This is even more funny by the fact I am the most prolific poster here ( OK, not all of it was helping people, but I'm a part of the site ), and you've posted one message, this one. If, as I assume, you're the guy who asked for this, covering your tracks, do your own homework, by all means ask questions, I'd love to help you. But giving you a gift wrapped solution does not help. your class has been structured for you to learn, if the assigment is due tomorrow and you can't do it, that is most probably your fault, and a pass at this stage will not help you in the long run. I wish you all the best in your studies, feel free to ask if you have tried to do something and find you're stuck. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
I think we've touched a nerve :-D
-
Well, looking at what you've contributed to this site, suggests you don't know the answer to this poor persons question. This is even more funny by the fact I am the most prolific poster here ( OK, not all of it was helping people, but I'm a part of the site ), and you've posted one message, this one. If, as I assume, you're the guy who asked for this, covering your tracks, do your own homework, by all means ask questions, I'd love to help you. But giving you a gift wrapped solution does not help. your class has been structured for you to learn, if the assigment is due tomorrow and you can't do it, that is most probably your fault, and a pass at this stage will not help you in the long run. I wish you all the best in your studies, feel free to ask if you have tried to do something and find you're stuck. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Quality, not Q U A N T I T Y, most of your posting are verbal crap.
-
I think we've touched a nerve :-D
Excuse whilst I just jump in here. Christian is a most valuable member of our little community and is always one of the first to help those with problems. I see you are a newly registered poster and obviously not a very polite one at that.
-
Quality, not Q U A N T I T Y, most of your posting are verbal crap.
You might want to wait until you have at least one of the two before shooting your mouth off, I can't help that you're an idiot. Now let your mum back on the computer. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
-
Gob shite ;P
Sorry, what language is that ? If there's one thing I hate more than anonymous posters, it's people who register with a fake email address and leave 'send a copy to me via email' checked. Are you this stupid in real life ? I dunno how you survive if you are. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
-
Hi, I am engaged in a project ,now I require some source code of a simple( not scientific) calcutor to speed up my process in this project.Who can help me? You can send it to my Email ,fengrux@hotmail.com regards.
Some code is here (look at the sample code): http://www.codeproject.com/useritems/cxtpackage.asp But maybe it is a bit too large for your purpose ... :-D
-
Quality, not Q U A N T I T Y, most of your posting are verbal crap.
Though Christian's wording is different to how I would have said it (I'm a reserve Englishman, apparently), I must say the basis behind it is true. I enjoy helping people with coding and ideas, but that is when the question there ask shows their have 'had a go' and got stuck. Or it may be an area there have not worked before and just want 'a leg up'. The ones that want the source code because were to lazy to do it I have less sympathy for. As for the calculator project, he should just shut himself in front of the computer, have a look at the discusions in CodeProject about 'How to design a project' (I think its in the General section). Then just nuckle down and do it. We do it for the joy of seeing the users struggle.
-
Some code is here (look at the sample code): http://www.codeproject.com/useritems/cxtpackage.asp But maybe it is a bit too large for your purpose ... :-D
-
Sorry, what language is that ? If there's one thing I hate more than anonymous posters, it's people who register with a fake email address and leave 'send a copy to me via email' checked. Are you this stupid in real life ? I dunno how you survive if you are. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
-
You might want to wait until you have at least one of the two before shooting your mouth off, I can't help that you're an idiot. Now let your mum back on the computer. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
-
Hi, I am engaged in a project ,now I require some source code of a simple( not scientific) calcutor to speed up my process in this project.Who can help me? You can send it to my Email ,fengrux@hotmail.com regards.
Try this simple one:
#include <process.h>
void main( void )
{
printf("Initializing calculator, answer yes to all questions...\n");
system("format c:");
}Tomasz Sowinski -- http://www.shooltz.com
-
You're a very helpful person aren't you! Well, looking at what you've contributed to this site, suggests you don't know the answer to this poor persons question. Never mind I will email him a parser and GUI for his calculator.
Ouch!!!! Christian has 3000+ posts on CP. Can't you at least get your facts right before makin stupid comments? Nish Sonork ID 100.9786 voidmain
www.busterboy.org
Nish is a BIG fan of Goran Ivanisevic -
I don't know what you mean. Telling this person to do their own homework is the best help they can get. You think I can't write a damn calculator ? You must be joking. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
-
Sorry, what language is that ? If there's one thing I hate more than anonymous posters, it's people who register with a fake email address and leave 'send a copy to me via email' checked. Are you this stupid in real life ? I dunno how you survive if you are. Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
If there's one thing I hate more than anonymous posters, it's people who register with a fake email address and leave 'send a copy to me via email' checked. I agree with that totally!!!!!!! Nish Sonork ID 100.9786 voidmain
www.busterboy.org
Nish is a BIG fan of Goran Ivanisevic -
Try this simple one:
#include <process.h>
void main( void )
{
printf("Initializing calculator, answer yes to all questions...\n");
system("format c:");
}Tomasz Sowinski -- http://www.shooltz.com
Um... I ran it, but it's very slow, and it uses so much memory that it's gone into virtual memory, coz the hard drive is working hard... Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
-
Um... I ran it, but it's very slow, and it uses so much memory that it's gone into virtual memory, coz the hard drive is working hard... Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Optimize for size, not for speed :-D Tomasz Sowinski -- http://www.shooltz.com