Instead of having each enc on a seperate line, I wish to have it all in one string. How can I do this? thanks in advance. Removing the endl results in no output.Code:#include <iostream.h> #include <ctype.h> #include <string.h> int main() { char enc; char string[12] = "FGFASDFSFSD"; int len = strlen(string); int x; for (x = 0; x <= len; x++) { enc = toascii(string[x]) + 13; cout << enc << endl; } return 0; }



LinkBack URL
About LinkBacks


