| View previous topic :: View next topic |
| Author |
Message |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Fri Aug 22, 2008 11:52 pm Post subject: |
|
|
| POST THE ERROR
|
|
| Back to top |
|
 |
lucid Master Cheater
Reputation: 0
Joined: 23 Jan 2008 Posts: 424
|
Posted: Sat Aug 23, 2008 8:51 am Post subject: |
|
|
LOOK THIS IS IT DAMN!!! I'LL JUST GIVE YOU A SCREENSHOT!
|
|
| Back to top |
|
 |
Renkokuken GO Moderator
Reputation: 4
Joined: 22 Oct 2006 Posts: 3249
|
Posted: Sat Aug 23, 2008 9:04 am Post subject: |
|
|
| ...LOOOL
|
|
| Back to top |
|
 |
Zand Master Cheater
Reputation: 0
Joined: 21 Jul 2006 Posts: 424
|
Posted: Sat Aug 23, 2008 9:49 am Post subject: |
|
|
Firstly, that's not the button to compile. That's the button to compile and run...
Hit F7 to compile.
Look at the OUTPUT to see WHAT the error IS.
|
|
| Back to top |
|
 |
igoticecream Grandmaster Cheater Supreme
Reputation: 0
Joined: 23 Apr 2006 Posts: 1807 Location: 0x00400000
|
Posted: Sat Aug 23, 2008 10:18 am Post subject: |
|
|
jesus chris....
#include "StaAfx.h" with """"""""""""""""""" not with <<<<<>>>>>>>>
also where is iostream lib?
vs2005 love to add this header by default... do not copy paste next time
| Code: | #include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
cout << "noob code" << endl;
return 0;
}
|
_________________
+~ |
|
| Back to top |
|
 |
lucid Master Cheater
Reputation: 0
Joined: 23 Jan 2008 Posts: 424
|
Posted: Sat Aug 23, 2008 11:12 am Post subject: |
|
|
here then look at the build log
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sat Aug 23, 2008 3:47 pm Post subject: |
|
|
replace
#include "stdafx.h"
to
#include "stdafx.h"
#include <iostream>
_________________
|
|
| Back to top |
|
 |
lucid Master Cheater
Reputation: 0
Joined: 23 Jan 2008 Posts: 424
|
Posted: Sat Aug 23, 2008 5:39 pm Post subject: |
|
|
I got it working. It's my first C++ program and it"s very basic and simple. Here it is
|
|
| Back to top |
|
 |
中国& Cheater
Reputation: 0
Joined: 21 Aug 2008 Posts: 34
|
Posted: Sat Aug 23, 2008 6:27 pm Post subject: O_o |
|
|
| good job?
|
|
| Back to top |
|
 |
Fredd Expert Cheater
Reputation: 0
Joined: 18 Mar 2008 Posts: 240 Location: Somewhere past the rainbow, past the gold.....
|
Posted: Sat Aug 23, 2008 6:38 pm Post subject: |
|
|
| Shigure wrote: | | I got it working. It's my first C++ program and it"s very basic and simple. Here it is |
Gotta include more than the solution. Need the .cpp file, the vcproj, and other things I know you need but are not sure what they are called.
_________________
|
|
| Back to top |
|
 |
Estraik Expert Cheater
Reputation: 0
Joined: 05 Feb 2008 Posts: 128
|
Posted: Sat Aug 23, 2008 6:51 pm Post subject: |
|
|
Hmmm. . . isn't suppose to be:
| Code: | #include <iostream>
using namespace std;
int main(){
cout << " Hello World!!!! " << endl;
system("pause");
return 0;
}
|
Output should be:
| Code: |
Hello World!!!!
Press any key to continue
|
|
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Sat Aug 23, 2008 7:32 pm Post subject: |
|
|
BADBADBADBADBAD.
_________________
|
|
| Back to top |
|
 |
lucid Master Cheater
Reputation: 0
Joined: 23 Jan 2008 Posts: 424
|
Posted: Sat Aug 23, 2008 7:37 pm Post subject: |
|
|
ok here it is
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Sat Aug 23, 2008 8:25 pm Post subject: |
|
|
| Shigure wrote: | | ok here it is |
Gratz. Now move onto something more complicated.
|
|
| Back to top |
|
 |
Estraik Expert Cheater
Reputation: 0
Joined: 05 Feb 2008 Posts: 128
|
Posted: Sat Aug 23, 2008 8:30 pm Post subject: |
|
|
| sponge wrote: | | BADBADBADBADBAD. |
Suuuuure.
|
|
| Back to top |
|
 |
|