Hi, I recently started coding in C++ and thought that writing code in old software would be a good place to start, and no need to tell me to stop using it because I'm also working in Visual Studios simultaneously. I just want to make a simple program where you set a string value to a directory where then a function starts listing every files within that directory. I know this is a bit of a lot to ask for but I've been searching everywhere on the internet to know how to list files in turbo C++.
Also, re old software: you're using ancient software. There really is no good reason to dink with it unless you are required to maintain an old piece of software written with said ancient CS for use on some ancient box. The language is pre-standard and you will not be able to keep anything more complicated than your basic "hello world" under the same code base between TCC and VS.
lt;dr: drop the ancient cruft and use modern software.