Once again thanks very much for the solution and explanation. I've finish the modification based on your suggestion and it works well. The using of getchar() really make a difference. But I still...
Type: Posts; User: llnnttss
Once again thanks very much for the solution and explanation. I've finish the modification based on your suggestion and it works well. The using of getchar() really make a difference. But I still...
Hi, I got stuck at the 8th exercise of ch7 in the book C Primer Plus. The requirement is (it is a follow up of exercise No7, so I will paste both No7 and No8 below):
7. Write a program that...
Many thanks for the reply. Your explanation is very helpful. I've thought about using an array but tried to follow the examples in that particular chapter. I am new to C but use Matlab before. Is...
Hi, I am learning/practising C using the book of <<C Primer Plus>>. Got stuck at the exercise 702:
Write a program that reads input until encountering #. Have the program print eachinput character...