Hello everyone..
I have char of an array I need to stop reading from the array
if I reache to newline..
the array cosists of characters of a text file but I need to stop
reading when I reache to first \n or endl..
I tried to use this
while(code!='\n'){
xxxxxx
}
but the program doesn't stop reading forever till I stop it.
how can I do that..
hopefully, i will get you help as soon as possible.
thank you in advance..