Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Beginning [C++]
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Aug 22, 2008 11:52 pm    Post subject: Reply with quote

POST THE ERROR
Back to top
View user's profile Send private message
lucid
Master Cheater
Reputation: 0

Joined: 23 Jan 2008
Posts: 424

PostPosted: Sat Aug 23, 2008 8:51 am    Post subject: Reply with quote

LOOK THIS IS IT DAMN!!! I'LL JUST GIVE YOU A SCREENSHOT!

Back to top
View user's profile Send private message
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Sat Aug 23, 2008 9:04 am    Post subject: Reply with quote

...LOOOL
Back to top
View user's profile Send private message
Zand
Master Cheater
Reputation: 0

Joined: 21 Jul 2006
Posts: 424

PostPosted: Sat Aug 23, 2008 9:49 am    Post subject: Reply with quote

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
View user's profile Send private message
igoticecream
Grandmaster Cheater Supreme
Reputation: 0

Joined: 23 Apr 2006
Posts: 1807
Location: 0x00400000

PostPosted: Sat Aug 23, 2008 10:18 am    Post subject: Reply with quote

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
View user's profile Send private message
lucid
Master Cheater
Reputation: 0

Joined: 23 Jan 2008
Posts: 424

PostPosted: Sat Aug 23, 2008 11:12 am    Post subject: Reply with quote

here then look at the build log

Back to top
View user's profile Send private message
pkedpker
Master Cheater
Reputation: 1

Joined: 11 Oct 2006
Posts: 412

PostPosted: Sat Aug 23, 2008 3:47 pm    Post subject: Reply with quote

replace

#include "stdafx.h"

to
#include "stdafx.h"
#include <iostream>

_________________
Hacks I made for kongregate.
Kongregate Universal Badge Hack: http://forum.cheatengine.org/viewtopic.php?p=4129411
Kongreate Auto Rating/Voter hack: http://forum.cheatengine.org/viewtopic.php?t=263576
Took a test lol
Back to top
View user's profile Send private message
lucid
Master Cheater
Reputation: 0

Joined: 23 Jan 2008
Posts: 424

PostPosted: Sat Aug 23, 2008 5:39 pm    Post subject: Reply with quote

I got it working. It's my first C++ program and it"s very basic and simple. Here it is


The Extension 'zip' was deactivated by an board admin, therefore this Attachment is not displayed.

Back to top
View user's profile Send private message
&#20013;&#22269;&
Cheater
Reputation: 0

Joined: 21 Aug 2008
Posts: 34

PostPosted: Sat Aug 23, 2008 6:27 pm    Post subject: O_o Reply with quote

good job?
Back to top
View user's profile Send private message
Fredd
Expert Cheater
Reputation: 0

Joined: 18 Mar 2008
Posts: 240
Location: Somewhere past the rainbow, past the gold.....

PostPosted: Sat Aug 23, 2008 6:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Estraik
Expert Cheater
Reputation: 0

Joined: 05 Feb 2008
Posts: 128

PostPosted: Sat Aug 23, 2008 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Sat Aug 23, 2008 7:32 pm    Post subject: Reply with quote

Code:
system("pause");
BADBADBADBADBAD.
_________________
Back to top
View user's profile Send private message
lucid
Master Cheater
Reputation: 0

Joined: 23 Jan 2008
Posts: 424

PostPosted: Sat Aug 23, 2008 7:37 pm    Post subject: Reply with quote

ok here it is


The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.

Back to top
View user's profile Send private message
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Sat Aug 23, 2008 8:25 pm    Post subject: Reply with quote

Shigure wrote:
ok here it is


Gratz. Now move onto something more complicated.
Back to top
View user's profile Send private message Send e-mail
Estraik
Expert Cheater
Reputation: 0

Joined: 05 Feb 2008
Posts: 128

PostPosted: Sat Aug 23, 2008 8:30 pm    Post subject: Reply with quote

sponge wrote:
Code:
system("pause");
BADBADBADBADBAD.



Suuuuure.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 5 of 6

 
Jump to:  
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites