range of line numbers in if condition C programming
- by nour
Hello,
I'm working on a simple C prorgam, and i'ms tuck with an if test:
int line_number = 0;
if ((line_number >= argv[2]) && (line_number <= argv[4]) )
gcc says:
cp.c:25: warning: comparison between pointer and integer
cp.c:25: warning: comparison between pointer and integer
What can I do to properly write the range of line I want to deal with ?
Thank you!