Consider it a "baptism by fire", OP. It may seem impossible now, but putting the effort in at the early stages will make it easier later on, and you'll be a better programmer for having been challenged from the outset.
Feel free to ask for help on the forums though.
For this project, you should read the Wikipedia article -
https://en.wikipedia.org/wiki/Eight_queens_puzzle - it has a nice explanation of the problem and the algorithm that solves it (but don't be tempted to read or copy the sample program until you've at least attempted your own implementation). If you're not confident in your abilities to program with classes, try just getting something that works, and then convert it into a class afterwards. You probably only need one, so you'll probably only need one header file and one or two source files (depending on whether you like to put the main function in its own file).
A lot of the time, programming these days is really about reading. With the Internet, you have pretty much the entirety of human knowledge at your fingertips. Just don't be tempted to copy solutions off of the Internet, because that leads to sloppy programming. But you're not expected to derive solutions to these problems yourself -- at least, not four weeks into the course. In your second year and third years they will probably ask you to come up with your own algorithms for things, but by then you would have learned about algorithms in depth.
Catfish4 wrote: |
---|
Maybe you mean "multidimensional arrays"? |
Maybe he means
std::vector<std::vector<T>>
.