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 


[C++]Help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
guernica
Grandmaster Cheater Supreme
Reputation: 0

Joined: 20 Jun 2007
Posts: 1211

PostPosted: Sun Jan 27, 2008 10:07 pm    Post subject: [C++]Help Reply with quote

my friend recommended me to a video tut that deals with an older version of microsoft visual C++(version 6) so i downloaded version 6, watched a few chapters of the tut, made a program, it compiled fine, it ran fine, it executed fine from the compiler, but when i try to run it outside of the compiler, it just displays the data real fast and closes in less than a second. i think it has to do with the endl command. should i just download the newest version of MS visual C++ and get a more up to date tut?
_________________

georgezilka wrote:
im looking for experience (EXP) hacks for maple story are there any where it can give instant level up ?
Back to top
View user's profile Send private message Send e-mail AIM Address
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Sun Jan 27, 2008 10:13 pm    Post subject: Reply with quote

cin.ignore();
cin.get();





use those to make the program pause until you hit enter. The endl makes it so that the next line will be down one. Example:

So say i wanted
a new line right here

cout << "So say i wanted"<<endl<<"a new line right here";

little example thingy

eidt: get the new vs

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

Joined: 20 Jun 2007
Posts: 1211

PostPosted: Sun Jan 27, 2008 10:29 pm    Post subject: Reply with quote

alright thanks a lot. is everything that i know so far still going to be able to be applied to the vs or am i going to need an up to date tut?
_________________

georgezilka wrote:
im looking for experience (EXP) hacks for maple story are there any where it can give instant level up ?
Back to top
View user's profile Send private message Send e-mail AIM Address
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Sun Jan 27, 2008 10:59 pm    Post subject: Reply with quote

it will be fine for what you're doing now.
_________________
Back to top
View user's profile Send private message
guernica
Grandmaster Cheater Supreme
Reputation: 0

Joined: 20 Jun 2007
Posts: 1211

PostPosted: Sun Jan 27, 2008 11:12 pm    Post subject: Reply with quote

I think 'll find an up to date tut anyways... I already downloaded 9.0 it and some of the headers that I've been using aren't even in the version 9.0 library. and I've been using void main() and I've heard that causes some problems in later versions. is cplusplus.com any good?
_________________

georgezilka wrote:
im looking for experience (EXP) hacks for maple story are there any where it can give instant level up ?
Back to top
View user's profile Send private message Send e-mail AIM Address
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Jan 28, 2008 6:06 am    Post subject: Reply with quote

im curious what headers you were using?

and yes it is.

_________________
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Mon Jan 28, 2008 6:12 am    Post subject: Reply with quote

By using these two, it'll cover the most basic stuff I guess.
Code:
#include <iostream>
#include <windows.h>


Also, if you're using cout you must declare it in the header file, unless you use something else.

ex for .h file: using namespace std;

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Jan 28, 2008 6:20 am    Post subject: Reply with quote

or if you dont want to use that namespace you have to use std::cout or std::cin

std:: infront of the api

_________________
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Mon Jan 28, 2008 6:33 am    Post subject: Reply with quote

blankrider wrote:
or if you dont want to use that namespace you have to use std::cout or std::cin

std:: infront of the api


I strongly recommend using namespace to clean up code, don't let him use stuff that fucks up his vision :3

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Jan 28, 2008 2:31 pm    Post subject: Reply with quote

blankrider wrote:
cin.ignore();
cin.get();


Think you ment:
Code:
std::cin.sync();
std::cin.ignore();

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

Joined: 20 Jun 2007
Posts: 1211

PostPosted: Mon Jan 28, 2008 7:09 pm    Post subject: Reply with quote

not if you use "using namespace std;"

thanks for the help everyone.

_________________

georgezilka wrote:
im looking for experience (EXP) hacks for maple story are there any where it can give instant level up ?
Back to top
View user's profile Send private message Send e-mail AIM Address
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Jan 28, 2008 10:15 pm    Post subject: Reply with quote

guernica wrote:
not if you use "using namespace std;"

thanks for the help everyone.


No I mean he used get() instead of sync().

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

Joined: 20 Jun 2007
Posts: 1211

PostPosted: Mon Jan 28, 2008 10:22 pm    Post subject: Reply with quote

my bad. ill never correct someone again.
_________________

georgezilka wrote:
im looking for experience (EXP) hacks for maple story are there any where it can give instant level up ?
Back to top
View user's profile Send private message Send e-mail AIM Address
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