 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Cristian Soto Guest
|
Posted: Wed Oct 29, 2003 9:51 pm Post subject: Please compile for me! |
|
|
Hi!
Could someone please compile this programm for a win32 system and send
the exe-file to my email adress [email]crisoto (AT) hotmail (DOT) com[/email]? For the time I
don't have access to a computer wih a compiler and I need this for an
assignment. Please correct if there are any bugs.
thanks!
Cristian
-------------------------------------------
#include<iostream.h>
void main()
{
int i;
int cl;
double money[4]={0,0,0,0};
double amo;
while (cl!=999)
{
cout<<"Enter the class of the contributor n";
cin>>cl;
cout<<"Enter amount n";
cin>>amo;
if (cl==1)
money[0]=amo+money[0];
if (cl==2)
money[1]=amo+money[1];
if (cl==3)
money[2]=amo+money[2];
if (cl==4)
money[3]=amo+money[3];
}
cout<<"The freshmen contributed "<
cout<<"The sophomores contributed "<
cout<<"The j contributed "<
cout<<"The s contributed "<
int largest=0;
for (i=0; i<4:i++)
if(money[i]>money[largest])
largest=i;
cout<<"The number of the class that contributed the most is"<
}
|
|
| Back to top |
|
 |
Howard Guest
|
Posted: Wed Oct 29, 2003 9:59 pm Post subject: Re: Please compile for me! |
|
|
"Cristian Soto" <crisoto (AT) hotmail (DOT) com> wrote in message
| Quote: |
Could someone please compile this programm for a win32 system and send
the exe-file to my email adress [email]crisoto (AT) hotmail (DOT) com[/email]? For the time I
don't have access to a computer wih a compiler and I need this for an
assignment. Please correct if there are any bugs.
thanks!
Cristian
|
Wow! You really shouldn't have gone to so much trouble. I mean, you
actually wrote the code! You should have just posted the assignment and let
us write it for you, too! :-)
You've got some nerve, especially asking for us to "correct if there are any
bugs". Doesn't your school have any computers that will compile a simple
program? Head down there and do it yourself.
|
|
| Back to top |
|
 |
Adam Fineman Guest
|
Posted: Wed Oct 29, 2003 10:08 pm Post subject: Re: Please compile for me! |
|
|
Cristian Soto wrote:
| Quote: | Hi!
Could someone please compile this programm for a win32 system and send
the exe-file to my email adress [email]crisoto (AT) hotmail (DOT) com[/email]? For the time I
don't have access to a computer wih a compiler and I need this for an
assignment. Please correct if there are any bugs.
This is such a sad story! I would be happy to help, Christian, but my |
eyes are now so teary than I can no longer see the screen.
You could save us both this kind of heartache by starting your
assignments earlier, and planning for the resources you are going to need.
Oh, and you should also be sure to allocate some time to reading this
newsgroups FAQs and welcome message before your next post.
- Adam
|
|
| Back to top |
|
 |
Chris Theis Guest
|
Posted: Thu Oct 30, 2003 8:02 am Post subject: Re: Please compile for me! |
|
|
"Cristian Soto" <crisoto (AT) hotmail (DOT) com> wrote
| Quote: | Hi!
Could someone please compile this programm for a win32 system and send
the exe-file to my email adress [email]crisoto (AT) hotmail (DOT) com[/email]? For the time I
don't have access to a computer wih a compiler and I need this for an
assignment. Please correct if there are any bugs.
thanks!
Cristian
-------------------------------------------
[SNIP] |
Sorry, wrong newsgroup. This should be posted in
comp.looking.for.idiots.doing.my.homework
BTW the trouble with your program already starts with the first two lines.
Good luck!
Chris
|
|
| Back to top |
|
 |
Gary Labowitz Guest
|
Posted: Thu Oct 30, 2003 3:12 pm Post subject: Re: Please compile for me! |
|
|
"Cristian Soto" <crisoto (AT) hotmail (DOT) com> wrote
| Quote: | Hi!
Could someone please compile this programm for a win32 system and send
the exe-file to my email adress [email]crisoto (AT) hotmail (DOT) com[/email]? For the time I
don't have access to a computer wih a compiler and I need this for an
assignment. Please correct if there are any bugs.
|
Gee, I was going to, and add comments, upgrade it to standard, etc. but,
err... I just don't have the time right now.
However, www.bloodshed.net will solve your compiler problem.
--
Gary
|
|
| Back to top |
|
 |
jeffc Guest
|
Posted: Thu Oct 30, 2003 3:44 pm Post subject: Re: Please compile for me! |
|
|
"Cristian Soto" <crisoto (AT) hotmail (DOT) com> wrote
| Quote: | Please correct if there are any bugs.
|
Classic!
OK, but please send me $100.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|