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 


i just started c++,can anyone help me with this error
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Fri Sep 05, 2008 8:30 pm    Post subject: Reply with quote

oh oh me me

use
Code:

__asm
{
    start:
    asm here...
}

and stay away from the CRT.. Very Happy!!!
Back to top
View user's profile Send private message MSN Messenger
Chidori
Grandmaster Cheater
Reputation: 1

Joined: 25 Apr 2008
Posts: 691
Location: Canada

PostPosted: Fri Sep 05, 2008 9:15 pm    Post subject: Reply with quote

THANK GUYS but how do i stop the program from closing when it opens
Back to top
View user's profile Send private message AIM Address MSN Messenger
arigity
Advanced Cheater
Reputation: 0

Joined: 03 Jul 2008
Posts: 65
Location: middle of nowhere.

PostPosted: Fri Sep 05, 2008 9:22 pm    Post subject: Reply with quote

add cin.get() to the end, the program will wait for you to hit a key before closing.
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Fri Sep 05, 2008 9:22 pm    Post subject: Reply with quote

GAH!
HalfPrime wrote:
And before you ask why your program closes as soon as you open it, put
Code:
cin.sync();
cin.ignore();

before the return 0;.

_________________
Back to top
View user's profile Send private message
Chidori
Grandmaster Cheater
Reputation: 1

Joined: 25 Apr 2008
Posts: 691
Location: Canada

PostPosted: Fri Sep 05, 2008 9:23 pm    Post subject: Reply with quote

HalfPrime wrote:
GAH!
HalfPrime wrote:
And before you ask why your program closes as soon as you open it, put
Code:
cin.sync();
cin.ignore();

before the return 0;.
i tried that it didnt work


untitled.JPG
 Description:
 Filesize:  112.11 KB
 Viewed:  2247 Time(s)

untitled.JPG


Back to top
View user's profile Send private message AIM Address MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Sep 05, 2008 10:48 pm    Post subject: Reply with quote

Look where your closing bracket is.

Hint: end line.

also, there's a period after your return.
Back to top
View user's profile Send private message
Chidori
Grandmaster Cheater
Reputation: 1

Joined: 25 Apr 2008
Posts: 691
Location: Canada

PostPosted: Sun Sep 07, 2008 7:11 am    Post subject: Reply with quote

slovach wrote:
Look where your closing bracket is.

Hint: end line.

also, there's a period after your return.
TY lol u got 1994 posts, thats my birthday
Back to top
View user's profile Send private message AIM Address MSN Messenger
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
Page 2 of 2

 
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