I need to create a tree node, but VB6 does not support classes
Friend Class TreeNode
Public Board(3, 3, 3) As Char
Public Turn As Integer
Public Son As TreeNode
Public NextNode As TreeNode
End Class
Not so. I don't have much experience with them, but VB6 most definitely does support classes.
For a start, I think you have to create a class module. If you go to the pull-down list of module types (form, MDI form etc), one of them is Class Module.
Comment