Comment on Tutorial - Listing Files and Directories sample program in C By Daniel Malcolm



Comment Added by : Sebastiaan Jaarsma

Comment Added at : 2012-12-24 19:28:43

Comment on Tutorial : Listing Files and Directories sample program in C By Daniel Malcolm
Following line
if (strcmp(dp->name, ".") == 0
|| strcmp(dp->name, ".."))

should in fact be
if (strcmp(dp->name, ".") == 0
|| strcmp(dp->name, "..") == 0)

besides that nice C reference page.

Kind regards,
Sebastiaan Jaarsma


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. What is the exact meaning for the symbol of java?<
View Tutorial          By: Aravind at 2013-06-24 10:52:28

2. thank you. its very useful :)
View Tutorial          By: Farhanna at 2013-05-22 05:33:46

3. 3221225477 is C0000005 in hex notation, which is j
View Tutorial          By: Stan at 2009-06-29 12:14:25

4. Hi Satheesh, Look at http://www.java-samples.com/s
View Tutorial          By: Ryan at 2010-08-31 19:15:28

5. good
View Tutorial          By: osman at 2011-11-21 22:23:02

6. the default construrctor does not give the defalut
View Tutorial          By: muhammad abdullah at 2011-04-11 13:16:20

7. really nice explanation
View Tutorial          By: kuldeep at 2012-08-23 13:04:30

8. It seems like your getConnection doesnt recognize
View Tutorial          By: Partha at 2009-11-28 11:32:53

9. Thank you so much. I have migrated from the .NET t
View Tutorial          By: kanika at 2011-05-31 12:23:33

10. Hi,
I'm having a problem with the above cod

View Tutorial          By: sushanth at 2015-05-04 07:32:17