any idea how to cunt a pointer, i did some thing like that but doesn't worked ( for (i = 1; i<currentNode; i++))
i've got an error ( comparison between pointer and integer).
so any idae how to solve this problem.

It is rarely necessary to use such an array. State the problem.

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.