If I got a aleatory txt with, idk, “blablabla” into his body, how can I convert this “blablabla” txt archive into a vector with chats and transform this char vector to a number vector with ansii table? I’m trying to solve a basic cryptography problem but I’m stuck on this .
Asked
Active
Viewed 16 times
0
-
1Does this answer your question? [In C, how should I read a text file and print all strings](https://stackoverflow.com/questions/3463426/in-c-how-should-i-read-a-text-file-and-print-all-strings) – drum Jun 04 '22 at 18:32
-
Study for inspiration the source of GNU utilities like [GNU make](https://www.gnu.org/software/make/). BTW vectorization means something very different. See https://www.vectorization.org/ or https://stackoverflow.com/questions/409300/how-to-vectorize-with-gcc – Basile Starynkevitch Jun 04 '22 at 19:23