C++ translation into Processing for File I/O
in
Programming Questions
•
6 months ago
Hi all,
I'm trying to create a Processing file that reads in a single character at a time from a file. The C++ equivalent would be:
char nextchar;
char nextchar;
ifstream lettertext;
lettertext.open ("Letter.txt);
while (!lettertext.eof () ){
lettertext >>nextchar;
}
I'm not sure how to convert this into Processing.
Thanks!
1