Give me a small c++ programming task

Associate
Joined
26 Jun 2003
Posts
1,140
Location
North West
I have an interview soon and Ill need to touch up on my C++ skills before it so I need a programming task to do. All im looking for is a basic command line type program which involves classes of sumsort.

Anyone got any ideas?

Thx
 
Write a program that, given a 4x4 board of numbered squares in a random order, will determine the minimum amount of moves required to get the squares into their proper order from 1 to 16.
 
I had to write battleships once - would've been quite easy but our lecturer added all these crazy extra rules and stipulated that we had to allow the program to interface with each others so they could play each other with AI.

Ruined my easter holiday.
 
Back
Top Bottom