why strcmp doesn't work of comparing all the characters (line, elments) in the database. what should i do??

:'(:'(:'(:pretty::pretty::pretty:

strcmp() only works with NULL-terminated charqcter arrays -- it does not work with binary data or strings that are not null terminated.

Other than that, post your code to illustrate what you want to do.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.