Table of Contents


This is an implementation of a depth-first and non-recursive path traversal based on our queue implementation for strings. The depthFirstTraversal program will take as argument a directory and will traverse the path while listing all the directories that it encounters.


Copy all the files to the same directory and then, for the gcc compiler, issue:

gcc -o depthFirstTraversal depthFirstTraversal.c stringQueue.c


fuss/c/path_traversal/depth-first/non-recursive.txt ยท Last modified: 2017/02/22 18:30 (external edit)

Access website using Tor Access website using i2p

For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy and plagiarism pages.