Ugh. The problem here is that you need to first understand what a computer is and what is going on with your computer. You don't need to be able to write drivers for a particular operating system either. A driver is required if you're going to add new hardware to an OS, but artificial intelligence is software.
As for which OS to use, you can get free compilers for both Linux and Windows. Microsoft also has free C/C++ compilers. If you just require simple keyboard input, text output, and file I/O then you can just stick to using the crappy bloated, slow standard C or C++ libraries without having to learn to use the direct functions that the OS provides --which is the PROPER way of programming under an OS.
Read my posts on artificial intelligence here:
https://answersrip.com/question/index?qid=20130626191202AAMb0L0
(bdtsr01's answer is hilarious. Sure, act like a freaking ROBOT (i.e. brainless idiot); Don't THINK and write your own code, but just copy and use some crappy code made by some other MORON. You can see why almost all modern programmers can be replaced with computers.)
Now look at the article below:
(EDIT: I put in another link. The original one might ask you to register on the site.)
http://www.rappler.com/life-and-style/technology/42525-artificial-intelligence-vicarious-captcha-breakthrough
That's NOT artificial intelligence. Someone wrote an algorithm which searches for pre-defined patterns of data in order to make out letters, symbols, and numbers. My evaluation? Well, you can give them credit for developing an algorithm, but I know that their code is bloated, slow crap and on top of that, those idiots don't even know what a computer is. If you want to call that algorithm 'artificial intelligence,' then you might as well call any computer program that does at least ONE comparison of numbers an AI program While we're at it, we might as well call heat sensing automatic lights (like the kind I use in front of my garage) AI devices too. Then there's washing machines, furnace thermostat controls, microwave ovens, electric kettles, stoves, etc.
The best advice anyone (who knows about computers and programming) can give you is to that you should not go all out on trying to get a career in this field. Same goes with game programming. This isn't to say that you can't do these things in your spare time, but you have bills to pay and a life to live so first concentrate on sticking with mainstream career options which can keep you employed.