Python or C++

Associate
Joined
30 Nov 2011
Posts
1,131
Hi all,

I fancy having a go at trying to learn a big of programming.

I have watched a few videos on both and obviously Python is a lot easier as its syntax is almost as easy as HTML haha.

This is purely just for some fun.

All the videos I have watched just do basic things like add number and get the user to enter a name etc or a very basic game. Nothing that is actually useful.

I would like to try and make a program that will kill/terminate certain programs running on my PC in the background before I start a game. I normally manually close at least 3 things and thought it would be a nice little challenge.

Obviously I do not know where to start or even if Python can do this? I assume C++ can but is obviously a steeper learning curve - although picking up other languages from there must be much easier.

Im hoping I can attach a script to a game .exe for example that will terminate the programs specified?

Im sure this can actually be done in windows Command line no doubt.

Any thoughts is this a futile exercise?

Thanks,
Sean
 
For stuff like that you need to start learning how to use dll calls - the relevant functions are part of the various Windows dlls - I think with Python you'd interface with kernel32 and windll/psapi.

Ooh sounds a bit advanced, ill have a google. I assume you know some programming language(s)?

Any examples of something useful that can be done without to much knowledge?

Thanks,
Sean
 
Lots of good info here, will take a looks at some of the suggestions. Any of you have any programs you have made that you could share?

Looks like a few of you have lots of experience.
 
Back
Top Bottom