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 


Only people dat know C++ come in?
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
lukechin
Grandmaster Cheater
Reputation: 0

Joined: 24 Jun 2006
Posts: 536
Location: in willy wonkas factory

PostPosted: Thu Mar 29, 2007 8:04 pm    Post subject: Reply with quote

Aetherine wrote:
Death4ngel wrote:
#include <cmath>

using namespace std;

void main() {
sqrt(4);
}

//I think. Can't remember the actual one.


void main()?!

NOOOOOOOOOOOOO! Shocked


his code is correct maybe not correct but void is used correctly. Wink

_________________
hmm back once again....
Back to top
View user's profile Send private message Visit poster's website
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Mar 29, 2007 8:06 pm    Post subject: Reply with quote

that's perfect use of void
_________________
Back to top
View user's profile Send private message
lukechin
Grandmaster Cheater
Reputation: 0

Joined: 24 Jun 2006
Posts: 536
Location: in willy wonkas factory

PostPosted: Thu Mar 29, 2007 8:22 pm    Post subject: Reply with quote

yea it is. didnt even need to test lol
_________________
hmm back once again....
Back to top
View user's profile Send private message Visit poster's website
MarkRich
Expert Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 109

PostPosted: Fri Mar 30, 2007 6:19 pm    Post subject: Reply with quote

noz3001 wrote:
instead of:

Code:

double 1;
double 2;
double 3;


try:
Code:

double 1, 2, 3;


Faster and smaller.



In some metter its dosnt help.
Exclamation
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
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