Is this the kind of puzzle you're talking about? https://en.wikipedia.org/wiki/15_puzzleTyriagris wrote:Oh, it's Java on Mondays and Javascript on Fridays and I'm about ready to throw either my computer or my professor out the window - whichever I get my hands on first.Merkwerkee wrote:I can try helping if you like?
If it's C++, C#, Java, Javascript, PHP, HTML, CSS, VB.NET, VBSCRIPT, or SQL, that is
All I understood from our class today is something about arrays and I-don't-even-know-what-it's-called-in-English (probably inheritance? Maybe??) and that we're supposed to program one of those moving puzzles where one tile is missing and you have to get them in the right order by Monday and
As far as arrays go, they're containers holding elements within them. The more dimensions they have the harder they are to keep track of, but basically it's the programming equivalent of an excel sheet. Handy for keeping things in order.
Inheritance is basically passing from parent to child. The child gets all the functions and members of the parent class, and may add more of its own or change (overload) the functions of the parent. Like a parent class rectangle may hand down the members length and width to child class square
If that makes anything less clear