Java
Fuck, does java have a thing for that?
Well I'm going to assume you want 1 to equal true, and 0 for false, right? In that cast, it is as quick as
myBool = (myInt == 1);
I don't have any idea what libtcod means. One of those "libraries" I hear so much about?
Wait, I actually have libtcod tabbed open from the other day. What do I do with this thing? I'm seeing a lot of references to Python and Linux on this site, which tells me it's something I'm not going to have the patience to deal with.
Yes, it is one of these libraries.
There should be a c# version for you to get your hands on, as I recall. Download that.
Now, one you have that file, put it where you like, but remember the file location.
Now back in visual studio, on the left hand side, in your solution explorer, there should be a grey folder called 'references'.
This folder is where all your references to other things are. If you open it, there should be a shitton of things. This is because you are using all this cool shit from the .net framework.
Right click the folder, and 'add referance'
Go to the browse tab, and find that file you downloaded.
Click OK!
Ta da! You added a library! Now go surf porn for half an hour as a reward and you are a real programmer!
I would post screen shots, but my internet is STILL FUCKING CAPPED somehow, so uploading images takes a year, if at all.