I need to write a program to turn the characters inputed into ASCII value and output the value,
so i use getchar() and I encounter a problem.
Because I getchar() only allow me to input a character and a time and I have to declare a variable for that, what if in the case where there could be infinity characters to be input.
Also the project forbid me to use array so I wonder if there is a solution to this with loop , or while something like that~
Thanks