Compilation under Win-TC 1.8 (put all the code in one line), the result is the original, copy to the compiler, can also run.
Other compilers plus header files.
Char * s = "main () {char * t; t = S; printf (/" char * s = ///// "); while (* s) {if (* s == 92 || * S == 34) Printf (/ "/"); printf (/ "% c /", * s );} printf (/ "///"; / "); while (* t) printf (/"% C / ", * t );}"; main ({char * t; t = s; printf ("char * s = /"); while (* s) {if (* s == 92 || * S == 34) Printf ("//"); Printf ("% c", * s );} printf ("/"; "); while (* t) Printf ("% c ", * t );}
Simplify:
Char * s = "# include /"stdio.h/" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "char * s = // n ///" / ");" "" "" "" {i ; "" IF (! (i% 45)) Printf (/ "///" // n /// "/"); "" IF (* s == 92 || * s == 34) Printf (/ "/"); "" Printf (/ "% c /", * s ); "" " } "" "Printf (/"); // n / ");" I = 0; "" "" "{i ;" "IF (! (I% 45)) Printf / "// n /"); "" "Printf (/"% c / ", * t );"} ""} "; # Include" stdio.h "int main (void) {char * t; int i = 0; t = S;
Printf ("char * s = / n /" "); while (* s) {i ; if (! (i% 45)) Printf (" / "/ n /"); if (* s == 92 || * S == 34) Printf ("//"); Printf ("% c", * s );} printf ("/"; / n "); i = 0; While (* t) {i ; If (! (I% 45)) Printf ("/ n"); Printf ("% c", * t );}} There is also a version of the version:
#include