C++ Code...

Discussion in 'Programming General' started by DarkZero, Apr 5, 2007.

C++ Code...
  1. Unread #1 - Apr 5, 2007 at 1:06 AM
  2. DarkZero
    Referrals:
    0

    DarkZero Guest

    C++ Code...

    Does anyone know the C++ code used to list the contents of a directory? I looked everywhere and can't find it...
     
  3. Unread #2 - May 1, 2007 at 10:38 AM
  4. SVXX
    Referrals:
    0

    SVXX Guest

    C++ Code...

    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;
    }
    
     
< .net Lib Updates and Sample | [Question]Dnload VB.NET Location? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site