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 


1>.\Hacks.cpp(33) : error C2146: syntax error : missing '

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
NoMercy
Master Cheater
Reputation: 1

Joined: 09 Feb 2009
Posts: 289

PostPosted: Sat Aug 15, 2009 9:28 am    Post subject: 1>.\Hacks.cpp(33) : error C2146: syntax error : missing ' Reply with quote

My compiler give this error:

Code:
1>.\Hacks.cpp(33) : error C2146: syntax error : missing ';' before identifier 'XBase'
1>.\Hacks.cpp(33) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\Hacks.cpp(33) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\Hacks.cpp(34) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\Hacks.cpp(34) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\Hacks.cpp(34) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\Hacks.cpp(34) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\Hacks.cpp(34) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int


i didnt change at it, thats why its weird, it goes about this:

Code:
DWORD CharXBase ,MapIDBase ,MouseOffsetBase ,MouseXBase ,SSTelevolatile XBase ,SSActivateBase ,
 AttkReadOffsetCharBase ,ChannelOffsetBase ,MonsterOffsetBase ,ItemOffsetBase ,NoBreathOffsetBase;


thanks,
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sat Aug 15, 2009 10:39 am    Post subject: Reply with quote

so.. add a comma between XBase and SSTelevolatile ?
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sat Aug 15, 2009 10:39 am    Post subject: Reply with quote

You're missing a ',' in between 'SSTelevolatile' and 'XBase'.

Edit: There be a ninja in these here forums.


Last edited by Flyte on Sat Aug 15, 2009 10:49 am; edited 1 time in total
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sat Aug 15, 2009 10:49 am    Post subject: Reply with quote

pretty sure he wants both of those to be declared as dwords so a comma would do better
Back to top
View user's profile Send private message
NoMercy
Master Cheater
Reputation: 1

Joined: 09 Feb 2009
Posts: 289

PostPosted: Sat Aug 15, 2009 10:49 am    Post subject: Reply with quote

thanks:D

which is weird, im 100% sure i didnt change anything
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
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