Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4666 in orxonox.OLD for orxonox/trunk/src/subprojects/testmain


Ignore:
Timestamp:
Jun 23, 2005, 4:34:44 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: particle-demo now also shows models from the model-directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/subprojects/testmain/testmain.cc

    r3572 r4666  
     1#include <dirent.h>
     2#include <stdio.h>
     3
    14int main(int argc, char** argv)
    25{
     6  DIR* directory;
     7  directory = opendir("/");
     8  dirent* test;
     9
     10  while(test = readdir(directory))
     11  {
     12    printf("%s\n", test->d_name);
     13  }
     14
    315
    416}
Note: See TracChangeset for help on using the changeset viewer.