![]() |
C - Use a Pointer array in parameter function (strange result)
hi a have this code
Code:
///////////////////value in read_file : host = 127.0.0.1 value in read_file : port 5502 value in read_file : user = usr value in read_file : pass = password value in read_file : aaaa value in read_file : bbb value in read_file : . value in read_file : value in read_file : ccccccc value in main : ccccccc value in main : ccccccc and the cuestion is this... For that when I execute it like appears here the result of "value in main" is the same for several time and not show me the result like "value in read_file" and when comment the line printf ("value in read_file : %s \n",*(p_Line + i)); the result is value in main : ������h&��`��[H�� (��8[�� value in main : ������h&��`��[H�� (��8[�� pd: i new in C |
Re: C - Use a Pointer array in parameter function (strange result)
Welcome to the forum lennin.caro :)
I will definitely try to help you, but I cannot exactly understand what your question is. Can you be a bit more clear ?? |
| All times are GMT +5.5. The time now is 02:13. |