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++] Where to start? (Batch files)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
[Spot.]
Moderator
Reputation: 1

Joined: 09 Feb 2007
Posts: 1358
Location: Whereabouts unknown

PostPosted: Sun Sep 28, 2008 4:29 am    Post subject: [C++] Where to start? (Batch files) Reply with quote

Okay, so I made a smuggler in .bat format. Which was surprisingly easy, but hey. That's Ms-DOS for you.

I'm now attempting to make one in C++, But I have no experiences with the language before.

Where should I start? What's the easiest, most spoonfed tutorial?

Much apprieciated.
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Sun Sep 28, 2008 4:33 am    Post subject: Reply with quote

http://www.cplusplus.com/doc/tutorial/
Back to top
View user's profile Send private message MSN Messenger
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sun Sep 28, 2008 6:17 am    Post subject: Reply with quote

noz3001 wrote:
http://www.cplusplus.com/doc/tutorial/


Don't you just hate when people link you to this lame and shitty tutorial that you don't have the power to read.

i suppose what you did just Disables/Enables Windows Firewall, just use.
- OpenSCManager()
- OpenService()
- ControlService()
- CloseServiceHandle()

don't forget _SERVICE_STATUS structure and [SC_MANAGER_ALL_ACCESS..SERVICE_ALL_ACCESS..SERVICE_CONTROL_STOP] Flags access...
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: Sun Sep 28, 2008 12:47 pm    Post subject: Reply with quote

If all you want to do is use batch commands, you can use the c/++ command system("batchlinehere");. Although you'll still need to know a bit of c++ make the whole program.
_________________
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