I think lfind() will call strcmp() with "aName" and one of obj[0], obj[1], ...int turn. However the result is not what I wanted. Any suggection?
Type: Posts; User: patiobarbecue
I think lfind() will call strcmp() with "aName" and one of obj[0], obj[1], ...int turn. However the result is not what I wanted. Any suggection?
Dear there, I got inconsistent result on using lfind() and strcmp(), can anyone help me out? Thanks.
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <search.h>
#include...