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. This is the help full sites for diploma student
View Tutorial          By: Tanuja at 2013-08-11 09:41:55

2. Dear Gurus, I have arrived at your site lloking f
View Tutorial          By: Fred Mah at 2012-09-22 07:40:27

3. hi
very tnx for your code

View Tutorial          By: Moji at 2012-08-19 16:06:53

4. very easy and simple program..
need minor

View Tutorial          By: Metal at 2014-05-07 10:31:04

5. Hii... pls how can I create a aerver with an inter
View Tutorial          By: WAZIRI at 2010-03-16 11:12:11

6. Sir your example is god
but i am surprisin

View Tutorial          By: Ata Ul Nasar at 2011-06-05 16:23:09

7. Very well explained and perfectly summarised.
View Tutorial          By: Sachin at 2009-08-30 12:39:27

8. class Evaluate
{
public static void

View Tutorial          By: prajjawal at 2013-02-27 12:36:58

9. I need Structs full notes with examples
View Tutorial          By: Thomas at 2012-10-24 11:18:11

10. nice code.....
View Tutorial          By: ♥♠darryl♠♥ at 2009-02-19 06:24:12