I’d like to create a tree view that displays a mod folder (the root directory) and the mods inside, but not the mod folders contents. Right now I can only get it to display all of the mod levels but I think its my method BuildChildren(). Any help would be appreciated. I’ve included the code below. Any help would be
Tag: treeview
Trying to print top view of a tree using two if statements
Problem Statement You are given a pointer to the root of a binary tree. Print the top view of the binary tree. You only have to complete the function. My Code: The two if statements are executed every time the function is called, but I need only one of them to execute. I tried switch but its giving constant expression