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



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. hi!! friends i executed the code
and i am

View Tutorial          By: chennareddy at 2007-10-15 00:07:30

2. nice code....
nice explanation.. thanks

View Tutorial          By: vinitha at 2013-01-10 10:59:02

3. wow !!! worked well
View Tutorial          By: Rajesh at 2012-08-30 10:54:53

4. Hi!
I would like to send a string from a j2

View Tutorial          By: beetlebrain at 2010-03-26 06:02:00

5. I am to learn J2ME
View Tutorial          By: ravi kumar at 2011-06-20 05:50:20

6. This example really works and help a lot me to dis
View Tutorial          By: Monu Kumar at 2010-03-30 09:26:23

7. how to display images in j2me?? thank you :)
View Tutorial          By: bill at 2011-06-23 23:59:41

8. Thanks For uploading , Can you please guide , How
View Tutorial          By: Manish Choudhari at 2014-10-14 09:58:05

9. Hi guys, What is the best way to connect to mysql
View Tutorial          By: veron at 2010-09-11 16:13:25

10. top notch
View Tutorial          By: anu at 2010-03-15 01:46:38