Could anybody please help me with my Intro to C++ programing homework? - by lizardfuel55
lizardfuel55 on 18/9/2010 at 05:25
It is a very basic exercise since we have had only 1 class until now. I have to make a basic prompt that asks the user to enter numbers. After each prompt (there are only 3 of them), I have to use a certain formula on the numbers that were typed by the user and the terminal window needs to spit out that answer (after the calculation is done).
It is due soon! I am not usually in the habit of asking for help, but programming is my weakness and we do not have any tutors in this class. Please help. Your reward will be a life-time supply of good karma.
If you would like to take a stab at helping , please email [email]p.koppikar@gmail.com[/email] . IM chat would be preferred although doing it through email isn't entirely impossible.
Thank you very much!
Thief13x on 18/9/2010 at 06:39
rtfm
Seriously, why would you take a class and expect someone else to do the homework?
edit - just some advice, if you intend on passing c++ you must learn to google and read the book and google more. This is a very simple exercise intended to get you to do exactly that.
Koki on 18/9/2010 at 06:45
But thanks for the e-mail, anyway.
Trance on 18/9/2010 at 12:00
Quote Posted by lizardfuel55
It is a very basic exercise
Then it should be well within your capacity to learn it on your own.
Queue on 18/9/2010 at 13:41
Someone's getting cock pictures!
Quote Posted by Thief13x
Seriously, why would you take a class and expect someone else to do the homework?
Because that's what the idea of an education has come down to; it no longer matters if you
learn anything, just do what you need to get that official piece of paper that says you know what the fuck you're talking about.
I mean, you paid for the classes, you deserve something just from that fact alone, right?
steo on 18/9/2010 at 15:17
(
http://www.learncpp.com/) http://www.learncpp.com/
(
http://www.learncpp.com/cpp-tutorial/13-a-first-look-at-variables/) And the specific page which tells you exactly what to do.
What everyone else says is absolutely right, though, stop looking for shortcuts. You have to learn to look things up for yourself or you will get nowhere. You also have to generally read all that boring text around the sample code in your textbooks/websites or you will end up a lousy programmer. You need to learn how the code works and how to use it for yourself, and not just try to get the answer through copying other code and trial and error.
Best of luck with your course.
Kolya on 18/9/2010 at 15:59
And don't follow Queue's example! I mean generally.
But also don't just take one example that fits your criteria and extrapolate a rule for the rest from that. That's just bad style in argumentation but it's fatal in programming.
demagogue on 18/9/2010 at 16:44
This little programming trick has worked for me in the past:
Code:
#include < iostream >
int main()
{
using namespace std;
cout << "I get an A on this, you get $50. Think about it." << endl;
}
Thief13x on 18/9/2010 at 17:35
I really coulda used this 4 years ago dem:mad:
Sulphur on 18/9/2010 at 18:20
whoah, back in the day (when programming for Win 95 apps was as painful as having teeth pulled out) when I learned C++, I used to include iostream.h and declare main() as void, and wasn't bothered about adding an endl to my cout's since a \n was easier.
Things sure have changed in 15 years.