frm Posted May 7, 2008 at 12:47 PM Report Share #183766 Posted May 7, 2008 at 12:47 PM Escreva um programa que se não receber argumentos liste os ficheiros do directório corrente dizendo qual o tipo de ficheiro e qual o seu tamanho. Se for chamado com um argumento ele sera o “path” para um directório a listar da mesma forma. Embora os directorios sejam ficheiros (especiais) use as funções opendir, readdir, etc. Alguém sabe fazer isto? Link to comment Share on other sites More sharing options...
Hipnoted Posted May 7, 2008 at 02:02 PM Report Share #183782 Posted May 7, 2008 at 02:02 PM Alguém sabe fazer isto? Sei. Mas expõem dúvidas concretas sff, ninguém te vai fazer o TPC. 🙂 "Nunca discutas com um idiota. Eles arrastam-te até ao seu nível e depois ganham-te em experiência" Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now