I seem to get the same results with this, as I do with my code, just a blank board. Perhaps it is the loop in the main function that is messing me up?
EDIT- I've changed the loop in main, and I get queens that are placed, but they are kind of random, and don't follow the rules.