• Log in or sign up for an account here: https://www.sythe.org/login

C++ Code...

  • Thread starter Thread starter DarkZero
  • Start date Start date
D

DarkZero

Guest
Does anyone know the C++ code used to list the contents of a directory? I looked everywhere and can't find it...
 
Well..if your C++ code compiles the exe to DOS,you could use a system command?

Code:
#include <iostream>
#include <cstdlib>
using namespace std;

int main()
{
system("dir/p");
system("PAUSE");
return 0;
}
 
Runescape Gamblingrunescape gambling
Back
Top