| View previous topic :: View next topic |
| Author |
Message |
Hero I'm a spammer
Reputation: 79
Joined: 16 Sep 2006 Posts: 7154
|
Posted: Fri Jan 15, 2010 12:48 am Post subject: OH SHI, ITS OVER 4000! |
|
|
|
|
|
| Back to top |
|
 |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Fri Jan 15, 2010 12:50 am Post subject: |
|
|
|
|
| Back to top |
|
 |
Eldo Master Cheater
Reputation: 1
Joined: 19 Feb 2008 Posts: 405
|
Posted: Fri Jan 15, 2010 12:51 am Post subject: |
|
|
if (x<9000){
if((x>4000){
cout<<"You's in the faill zone\n";
cin>>comback;
}
}
|
|
| Back to top |
|
 |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Fri Jan 15, 2010 12:52 am Post subject: |
|
|
| snes wrote: | if (x<9000){
if((x>4000){
cout<<"You's in the faill zone\n";
cin>>comback;
}
} |
error: needs to load the proper libraries first
Fail
|
|
| Back to top |
|
 |
Eldo Master Cheater
Reputation: 1
Joined: 19 Feb 2008 Posts: 405
|
Posted: Fri Jan 15, 2010 12:57 am Post subject: |
|
|
| gogodr wrote: | | snes wrote: | if (x<9000){
if((x>4000){
cout<<"You's in the faill zone\n";
cin>>comback;
}
} |
error: needs to load the proper libraries first
Fail |
oh silly me
#include <stdafx.h>
#include <iostream>
using namespace std;
int x=0;
void main()
{
if (x<9000){
if((x>4000){
cout<<"You's in the faill zone\n";
cin>>comback;
}
}
}
|
|
| Back to top |
|
 |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Fri Jan 15, 2010 12:59 am Post subject: |
|
|
| snes wrote: | | gogodr wrote: | | snes wrote: | if (x<9000){
if((x>4000){
cout<<"You's in the faill zone\n";
cin>>comback;
}
} |
error: needs to load the proper libraries first
Fail |
oh silly me
#include <stdafx.h>
#include <iostream>
using namespace std;
int x=0;
void main()
{
if (x<9000){
if((x>4000){
cout<<"You's in the faill zone\n";
cin>>comback;
}
}
} |
it still wont run
you need to call
main();
since you made it a subprogram.
don't you?
|
|
| Back to top |
|
 |
Eldo Master Cheater
Reputation: 1
Joined: 19 Feb 2008 Posts: 405
|
Posted: Fri Jan 15, 2010 1:04 am Post subject: |
|
|
| gogodr wrote: | | snes wrote: | | gogodr wrote: | | snes wrote: | if (x<9000){
if((x>4000){
cout<<"You's in the faill zone\n";
cin>>comback;
}
} |
error: needs to load the proper libraries first
Fail |
oh silly me
#include <stdafx.h>
#include <iostream>
using namespace std;
int x=0;
void main()
{
if (x<9000){
if((x>4000){
cout<<"You's in the faill zone\n";
cin>>comback;
}
}
} |
it still wont run
you need to call
main();
since you made it a subprogram.
don't you? |
well I need to have some sort of input prior to the loops for x, other wise the loops are usless and the program will just run through, I also need to add cin.get(); and cin.ignore(); so the program won't run through to the end and close before you have a chance to read the results. other than it should run
|
|
| Back to top |
|
 |
|