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 


More one question

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
maxuer
Newbie cheater
Reputation: 0

Joined: 07 Dec 2007
Posts: 20

PostPosted: Wed Jan 16, 2008 10:26 am    Post subject: More one question Reply with quote

What is the code to show a letter for 20 seconds?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Jan 16, 2008 10:31 am    Post subject: Re: More one question Reply with quote

maxuer wrote:
What is the code to show a letter for 20 seconds?


Please signify what language you are asking for help with..

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
maxuer
Newbie cheater
Reputation: 0

Joined: 07 Dec 2007
Posts: 20

PostPosted: Wed Jan 16, 2008 10:35 am    Post subject: Reply with quote

C++
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Jan 16, 2008 10:41 am    Post subject: Reply with quote

maxuer wrote:
C++


Ok show a letter as in a console app that stays open for so long then closes?

Code:
#include <windows.h>
#include <iostream>

int main()
{
   std::cout << "What ever you want to show here.\r\n";
   Sleep( 20000 );
   return ERROR_SUCCESS;
}

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
maxuer
Newbie cheater
Reputation: 0

Joined: 07 Dec 2007
Posts: 20

PostPosted: Wed Jan 16, 2008 11:02 am    Post subject: Reply with quote

Don't work. When I compile the program says : A error has occurred...
Why? If help, I use Visual C++ 0.9 2008 Express Edition.
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Wed Jan 16, 2008 11:11 am    Post subject: Reply with quote

What you're asking is for the delay function, there's no code that shows 20 seconds.
Back to top
View user's profile Send private message
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Wed Jan 16, 2008 1:31 pm    Post subject: Reply with quote

maxuer wrote:
Don't work. When I compile the program says : A error has occurred...
Why? If help, I use Visual C++ 0.9 2008 Express Edition.
You probably need a platform SDK, because you're using the "EE" edition.
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed Jan 16, 2008 1:40 pm    Post subject: Reply with quote

1>.\erm.cpp(2) : warning C4627: '#include <iostream>': skipped when looking for precompiled header use
nevermind, forgot to add a namespaceing ^^
using namespace System;

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Jan 16, 2008 4:15 pm    Post subject: Reply with quote

Naablet wrote:
1>.\erm.cpp(2) : warning C4627: '#include <iostream>': skipped when looking for precompiled header use
nevermind, forgot to add a namespaceing ^^
using namespace System;


The code I posted does not require a namespace. Try turning off precompiled headers.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed Jan 16, 2008 4:23 pm    Post subject: Reply with quote

Wiccaan wrote:
Naablet wrote:
1>.\erm.cpp(2) : warning C4627: '#include <iostream>': skipped when looking for precompiled header use
nevermind, forgot to add a namespaceing ^^
using namespace System;


The code I posted does not require a namespace. Try turning off precompiled headers.

But.. It didn't work unless i added the thing i said. and how do i turn it off? Very Happy

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
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