/ Published in: C

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* replaces tab with -> */ #include <stdio.h> int main (int argc, const char * argv[]){ int c; while(c!=EOF){ if(c=='\t'){ c='-'; c='\b'; c='>'; } else if(c=='\b'){ /* funktioniert irgendwie nicht */ c='-'; c='\b'; c='<'; } else{ } } }
Comments
