If the instructor didn't teach it and it's not either in your required reading, assigned research or a course prerequisite, then you've been cheated.
Use the swi function to read strings from the file udp.dat. For every string read. Print the ASCII value of each character on a seperate line. After All characters of each string are printed you are to print "Count: 45" to specify how many characters were in the string.
So output of a single string should look like:
65
78
88
45
67
112
99
Count: 7
Repeat this for every string read from the file.
idk how where to start and our instructor didn't teach us anything about coding ! any one can help !
thx