Jump to content
  • 0

pomoc Vypis souboru


Pavel Tuček

Dotaz

1 odpověd na tuto otázku

Recommended Posts

  • 0

Z offika topicu na samp fóru:

new dir:dHandle = dir_open("./");//akorát si tu změníš cestu
new item[40], type;
	
while(dir_list(dHandle, item, type))
{
    if(type == FM_FILE) printf("%s is a file", item);
    else if(type == FM_DIR) printf("%s is a directory", item);
}
		
dir_close(dHandle);
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...