Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/ODE/src/subprojects/testmain/testmain.cc @ 10765

Last change on this file since 10765 was 4666, checked in by bensch, 20 years ago

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

File size: 218 bytes
Line 
1#include <dirent.h>
2#include <stdio.h>
3
4int main(int argc, char** argv)
5{
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
15
16}
Note: See TracBrowser for help on using the repository browser.