helpppp

This is a discussion on helpppp within the C Programming forums, part of the General Programming Boards category; can anyone tell me what is wrong with this code Code: #include <string> #include <cstdio> using namespace std; #define on ...

  1. #1
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903

    helpppp

    can anyone tell me what is wrong with this code


    Code:
    #include <string>
    #include <cstdio>
    using namespace std;
    
    #define on no+=
    
    int main()
    {
      string no;
      do
      {
    l0001: on '#'; goto l0302;
    l0002: on 't'; goto l0604;
    l0003: on '1'; goto l0906;
    l0004: on ' '; goto l1208;
    l0014: on '@'; goto l1205;
    l0018: on 'd'; goto l2413;
    l0021: on 'r'; goto l0296;
    l0024: on ' '; goto l1202;
    l0025: on ' '; goto l1504;
    l0027: on ' '; goto l2108;
    l0028: on 's'; goto l2410;
    l0029: on '('; goto l2712;
    l0032: on 'n'; goto l0595;
    l0036: on ' '; goto l1803;
    l0038: on 'n'; goto l2407;
    l0042: on '@'; goto l0592;
    l0047: on ' '; goto l2102;
    l0048: on 'c'; goto l2404;
    l0054: on 's'; goto l1193;
    l0057: on ' '; goto l2099;
    l0058: on 'n'; goto l2401;
    l0064: on '"'; goto l1190;
    l0065: on '@'; goto l1492;
    l0071: on 't'; goto l0281;
    l0072: on '+'; goto l0583;
    l0076: on '%'; goto l1791;
    l0085: on '0'; goto l1486;
    l0092: on '0'; goto l0577;
    l0094: on '"'; goto l1181;
    l0097: on 'r'; goto l2087;
    l0113: on '0'; goto l0873;
    l0114: on '.'; goto l1175;
    l0127: on 's'; goto l2078;
    l0130: on ';'; goto l2984;
    l0134: on 'e'; goto l1169;
    l0137: on 'i'; goto l2075;
    l0138: on ')'; goto l2377;
    l0139: on 's'; goto l2679;
    l0141: on 'r'; goto l0260;
    l0142: on 's'; goto l0562;
    l0143: on 'l'; goto l0864;
    l0147: on ' '; goto l2072;
    l0148: on 'e'; goto l2374;
    l0152: on 'e'; goto l0559;
    l0157: on '@'; goto l2069;
    l0161: on ')'; goto l0254;
    l0165: on '>'; goto l1462;
    l0166: on '0'; goto l1764;
    l0167: on '3'; goto l2066;
    l0175: on '$'; goto l1459;
    l0179: on 'a'; goto l2667;
    l0183: on 'o'; goto l0852;
    l0184: on 'l'; goto l1154;
    l0189: on 't'; goto l2664;
    l0193: on 'g'; goto l0849;
    l0195: on 't'; goto l1453;
    l0196: on ';'; goto l1755;
    l0199: on '+'; goto l2661;
    l0200: on 's'; goto l2963;
    l0201: on 'n'; goto l0242;
    l0203: on 'i'; goto l0846;
    l0207: on 'n'; goto l2054;
    l0218: on '<'; goto l2353;
    l0220: on '@'; goto l2957;
    l0221: on 'n'; goto l0236;
    l0222: on ' '; goto l0538;
    l0224: on '('; goto l1142;
    l0225: on 'l'; goto l1444;
    l0226: on ' '; goto l1746;
    l0236: on 'e'; goto l1743;
    l0242: on 'o'; goto l0532;
    l0244: on 's'; goto l1136;
    l0249: on ';'; goto l2646;
    l0252: on '0'; goto l0529;
    l0254: on ')'; goto l1133;
    l0259: on 's'; goto l2643;
    l0260: on 'n'; goto l2945;
    l0261: on 'n'; goto l0224;
    l0262: on '@'; goto l0526;
    l0265: on '@'; goto l1432;
    l0268: on '+'; goto l2338;
    l0271: on 'i'; goto l0221;
    l0274: on '3'; goto l1127;
    l0276: on '%'; goto l1731;
    l0281: on ' '; goto l0218;
    l0289: on 's'; goto l2634;
    l0294: on ' '; goto l1121;
    l0296: on 'i'; goto l1725;
    l0300: on '0'; goto l2933;
    l0302: on 'i'; goto l0514;
    l0313: on 'n'; goto l0813;
    l0314: on 'g'; goto l1115;
    l0324: on 'e'; goto l1112;
    l0326: on 'n'; goto l1716;
    l0327: on 's'; goto l2018;
    l0329: on 'r'; goto l2622;
    l0330: on ' '; goto l2924;
    l0331: on '('; goto l0203;
    l0332: on ' '; goto l0505;
    l0333: on ' '; goto l0807;
    l0334: on 'e'; goto l1109;
    l0336: on ' '; goto l1713;
    l0338: on 'n'; goto l2317;
    l0341: on 'c'; goto l0200;
    l0348: on 'a'; goto l2314;
    l0349: on '@'; goto l2616;
    l0350: on ' '; goto l2918;
    l0354: on '{'; goto l1103;
    l0363: on ' '; goto l0798;
    l0365: on ' '; goto l1402;
    l0366: on ' '; goto l1704;
    l0368: on ')'; goto l2308;
    l0378: on ' '; goto l2305;
    l0379: on '0'; goto l2607;
    l0384: on 'o'; goto l1094;
    l0385: on ' '; goto l1396;
    l0386: on ' '; goto l1698;
    l0392: on '@'; goto l0487;
    l0393: on ' '; goto l0789;
    l0395: on 's'; goto l1393;
    l0399: on ' '; goto l2601;
    l0400: on '@'; goto l2903;
    l0402: on '3'; goto l0484;
    l0403: on ' '; goto l0786;
    l0406: on 'f'; goto l1692;
    l0409: on '@'; goto l2598;
    l0410: on 'm'; goto l2900;
    l0411: on 'h'; goto l0179;
    l0413: on ' '; goto l0783;
    l0419: on ' '; goto l2595;
    l0427: on ']'; goto l1988;
    l0430: on ' '; goto l2894;
    l0432: on 't'; goto l0475;
    l0436: on '<'; goto l1683;
    l0437: on ' '; goto l1985;
    l0440: on '0'; goto l2891;
    l0442: on ' '; goto l0472;
    l0444: on ' '; goto l1076;
    l0445: on 'l'; goto l1378;
    l0448: on ';'; goto l2284;
    l0450: on ' '; goto l2888;
    l0451: on '['; goto l0167;
    l0453: on ';'; goto l0771;
    l0458: on ';'; goto l2281;
    l0463: on 'n'; goto l0768;
    l0464: on ' '; goto l1070;
    l0465: on 'i'; goto l1372;
    l0471: on '('; goto l0161;
    l0472: on 'o'; goto l0463;
    l0473: on '0'; goto l0765;
    l0475: on 'r'; goto l1369;
    l0479: on ')'; goto l2577;
    l0484: on '0'; goto l1064;
    l0486: on ' '; goto l1668;
    l0487: on '0'; goto l1970;
    l0488: on '@'; goto l2272;
    l0489: on ' '; goto l2574;
    l0495: on ')'; goto l1363;
    l0497: on 's'; goto l1967;
    l0498: on '0'; goto l2269;
    l0501: on 'r'; goto l0152;
    l0503: on '0'; goto l0756;
    l0504: on '0'; goto l1058;
    l0505: on '3'; goto l1360;
    l0507: on 't'; goto l1964;
    l0512: on 'b'; goto l0451;
    l0514: on 'n'; goto l1055;
    l0515: on ' '; goto l1357;
    l0522: on 'i'; goto l0448;
    l0524: on ','; goto l1052;
    l0526: on '0'; goto l1656;
    l0529: on ' '; goto l2562;
    l0530: on ' '; goto l2864;
    l0531: on '"'; goto l0143;
    l0532: on '.'; goto l0445;
    l0536: on 't'; goto l1653;
    l0538: on '&'; goto l2257;
    l0542: on ':'; goto l0442;
    l0549: on ' '; goto l2556;
    l0551: on 'h'; goto l0137;
    l0559: on 't'; goto l2553;
    l0561: on 'd'; goto l0134;
    l0562: on ' '; goto l0436;
    l0567: on '@'; goto l1946;
    l0576: on '0'; goto l1641;
    l0577: on '#'; goto l1943;
    l0579: on 'o'; goto l2547;
    l0582: on 'e'; goto l0430;
    l0583: on '+'; goto l0732;
    l0592: on '2'; goto l0427;
    l0593: on 'f'; goto l0729;
    l0595: on 'o'; goto l1333;
    l0599: on '>'; goto l2541;
    l0600: on 'b'; goto l2843;
    l0604: on 'h'; goto l1028;
    l0615: on '1'; goto l1327;
    l0620: on ' '; goto l2837;
    l0628: on '0'; goto l2230;
    l0631: on '@'; goto l0113;
    l0645: on ' '; goto l1318;
    l0647: on ' '; goto l1922;
    l0648: on '4'; goto l2224;
    l0652: on ';'; goto l0409;
    l0658: on ' '; goto l2221;
    l0660: on 't'; goto l2825;
    l0662: on ' '; goto l0406;
    l0663: on ','; goto l0708;
    l0664: on ' '; goto l1010;
    l0672: on ' '; goto l0403;
    l0675: on '@'; goto l1309;
    l0676: on ' '; goto l1611;
    l0677: on '0'; goto l1913;
    l0679: on ' '; goto l2517;
    l0680: on 'i'; goto l2819;
    l0682: on ')'; goto l0400;
    l0684: on 'n'; goto l1004;
    l0687: on '['; goto l1910;
    l0694: on 'n'; goto l1001;
    l0696: on ' '; goto l1605;
    l0698: on ' '; goto l2209;
    l0701: on '@'; goto l0092;
    l0703: on ' '; goto l0696;
    l0708: on ' '; goto l2206;
    l0727: on ' '; goto l1898;
    l0729: on '('; goto l2502;
    l0730: on 't'; goto l2804;
    l0732: on ','; goto l0385;
    l0733: on 'o'; goto l0687;
    l0743: on ' '; goto l0684;
    l0745: on 't'; goto l1288;
    l0748: on ' '; goto l2194;
    l0752: on '@'; goto l0379;
    l0756: on '}'; goto l1587;
    l0758: on ' '; goto l2191;
    l0765: on ')'; goto l1282;
    l0768: on ' '; goto l2188;
    l0771: on ' '; goto l0071;
    l0773: on '2'; goto l0675;
    l0776: on '='; goto l1581;
    l0783: on ' '; goto l0672;
    l0786: on 'l'; goto l1578;
    l0789: on ' '; goto l2484;
    l0791: on '='; goto l0065;
    l0798: on '3'; goto l2179;
    l0800: on ' '; goto l2783;
    l0807: on ' '; goto l1874;
    l0809: on '{'; goto l2478;
    l0813: on '"'; goto l0663;
    l0820: on '%'; goto l2777;
    l0823: on '['; goto l0660;
    l0846: on 'n'; goto l1560;
    l0849: on ' '; goto l2466;
    l0851: on '3'; goto l0047;
    l0852: on '>'; goto l0349;
    l0860: on '2'; goto l2765;
    l0863: on '0'; goto l0648;
    l0864: on '%'; goto l0950;
    l0866: on 'n'; goto l1554;
    l0873: on ' '; goto l0645;
    l0881: on ' '; goto l0038;
    l0884: on '}'; goto l0944;
    l0887: on '='; goto l1850;
    l0889: on 'e'; goto l2454;
    l0890: on '3'; goto l2756;
    l0901: on '('; goto l0032;
    l0902: on 'r'; goto l0334;
    l0905: on '0'; goto l1240;
    l0906: on ';'; goto l1542;
    l0908: on ';'; goto l2146;
    l0910: on 'g'; goto l2750;
    l0911: on 'f'; goto l0029;
    l0912: on 'r'; goto l0331;
    l0916: on ';'; goto l1539;
    l0926: on '0'; goto l1536;
    l0928: on ' '; goto l2140;
    l0930: on ' '; goto l2744;
    l0937: on 'n'; goto l1835;
    l0944: on '@'; goto l0926;
    l0946: on ')'; goto l1530;
    l0949: on 'l'; goto l2436;
    l0950: on '0'; goto l2738;
    l0955: on 't'; goto l1225;
    l0961: on '1'; goto l0014;
    l0966: on 'd'; goto l1524;
    l0972: on '1'; goto l0313;
    l0973: on ' '; goto l0615;
    l0979: on 'e'; goto l2427;
    l0985: on 'u'; goto l1216;
    l0987: on ' '; goto l1820;
    l0994: on 't'; goto l0911;
    l1001: on 'g'; goto l0002;
    l1004: on 'o'; goto l0908;
    l1009: on '$'; goto l2418;
    l1010: on '='; goto l2720;
    l1014: on '@'; goto l0905;
    l1020: on 't'; goto l2717;
    l1023: on '('; goto l0600;
    l1024: on 'b'; goto l0902;
    l1026: on '='; goto l1506;
    l1027: on '3'; goto l1808;
    l1028: on '('; goto l2110;
    l1029: on 'u'; goto l2412;
    l1030: on 'b'; goto l2714;
    l1041: on '='; goto l3013;
    l1045: on 't'; goto l1198;
    l1047: on '='; goto l1802;
    l1052: on ' '; goto l0289;
    l1055: on 'c'; goto l1195;
    l1058: on ' '; goto l2101;
    l1064: on '2'; goto l0890;
    l1070: on 'f'; goto l2702;
    l1074: on ' '; goto l0887;
    l1076: on 'p'; goto l1491;
    l1083: on 'd'; goto l0582;
    l1084: on ' '; goto l0884;
    l1093: on 'n'; goto l0579;
    l1094: on 'n'; goto l0881;
    l1102: on ' '; goto l0274;
    l1103: on '@'; goto l0576;
    l1109: on 'a'; goto l2388;
    l1112: on 'f'; goto l0271;
    l1115: on 'o'; goto l1177;
    l1121: on ' '; goto l2989;
    l1122: on 'u'; goto l0268;
    l1127: on '0'; goto l1778;
    l1128: on 'n'; goto l2080;
    l1132: on ' '; goto l0265;
    l1133: on ';'; goto l0567;
    l1136: on 't'; goto l1473;
    l1137: on 'l'; goto l1775;
    l1142: on ')'; goto l0262;
    l1144: on 'i'; goto l0866;
    l1150: on '@'; goto l2678;
    l1152: on '['; goto l0259;
    l1153: on 'u'; goto l0561;
    l1154: on '%'; goto l0863;
    l1159: on '_'; goto l2373;
    l1164: on '0'; goto l0860;
    l1169: on ' '; goto l2370;
    l1170: on '0'; goto l2672;
    l1175: on 'c'; goto l1159;
    l1177: on 't'; goto l1763;
    l1181: on ','; goto l2971;
    l1190: on '"'; goto l2666;
    l1193: on ']'; goto l0549;
    l1194: on '2'; goto l0851;
    l1195: on 'l'; goto l1153;
    l1197: on ' '; goto l1757;
    l1198: on 'f'; goto l2059;
    l1202: on ' '; goto l0244;
    l1205: on '1'; goto l1150;
    l1208: on ' '; goto l2056;
    l1216: on ' '; goto l1449;
    l1217: on '2'; goto l1751;
    l1225: on 'r'; goto l1144;
    l1229: on ' '; goto l2352;
    l1230: on ' '; goto l2654;
    l1240: on ' '; goto l2651;
    l1241: on 's'; goto l2953;
    l1251: on '@'; goto l2950;
    l1253: on ' '; goto l0531;
    l1262: on ' '; goto l0226;
    l1265: on '='; goto l1132;
    l1269: on ' '; goto l2340;
    l1271: on '('; goto l2944;
    l1278: on 'i'; goto l2035;
    l1282: on ';'; goto l0220;
    l1283: on '4'; goto l0522;
    l1287: on '2'; goto l1730;
    l1288: on ' '; goto l2032;
    l1290: on 'i'; goto l2636;
    l1296: on '0'; goto l1425;
    l1299: on ' '; goto l2331;
    l1301: on '+'; goto l2935;
    l1309: on '3'; goto l2328;
    l1316: on '('; goto l1419;
    l1317: on '@'; goto l1721;
    l1318: on '{'; goto l2023;
    l1327: on ';'; goto l1718;
    l1333: on '['; goto l0507;
    l1334: on ' '; goto l0809;
    l1343: on '@'; goto l0504;
    l1352: on '+'; goto l0199;
    l1353: on ' '; goto l0501;
    l1356: on ';'; goto l1407;
    l1357: on 'c'; goto l1709;
    l1358: on ' '; goto l2011;
    l1360: on '0'; goto l2615;
    l1361: on ' '; goto l2917;
    l1362: on '0'; goto l0196;
    l1363: on '@'; goto l0498;
    l1364: on '?'; goto l0800;
    l1365: on '%'; goto l1102;
    l1368: on ' '; goto l2008;
    l1369: on 'i'; goto l2310;
    l1372: on 'n'; goto l0193;
    l1373: on '+'; goto l0495;
    l1378: on 'e'; goto l2005;
    l1388: on '0'; goto l2002;
    l1393: on ']'; goto l0489;
    l1394: on '+'; goto l0791;
    l1395: on '['; goto l1093;
    l1396: on 'e'; goto l1395;
    l1402: on '"'; goto l0184;
    l1403: on '0'; goto l0486;
    l1407: on '@'; goto l1694;
    l1419: on 'n'; goto l2295;
    l1421: on ' '; goto l2899;
    l1425: on ' '; goto l1084;
    l1432: on '2'; goto l0175;
    l1439: on ' '; goto l2289;
    l1444: on ' '; goto l0776;
    l1449: on '<'; goto l2286;
    l1453: on 'r'; goto l0471;
    l1454: on '@'; goto l0773;
    l1459: on '@'; goto l2283;
    l1462: on '@'; goto l0166;
    l1473: on 'r'; goto l0465;
    l1486: on ' '; goto l1368;
    l1490: on 's'; goto l2576;
    l1491: on 'r'; goto l2878;
    l1492: on '0'; goto l0157;
    l1496: on ' '; goto l1365;
    l1504: on ' '; goto l0758;
    l1506: on ' '; goto l1362;
    l1513: on '0'; goto l0453;
    l1522: on 'c'; goto l0148;
    l1523: on ' '; goto l0450;
    l1524: on 'o'; goto l0752;
    l1526: on 'd'; goto l1356;
    l1530: on ';'; goto l2564;
    l1536: on ' '; goto l1353;
    l1539: on '@'; goto l2259;
    l1541: on '='; goto l2863;
    l1542: on ' '; goto l0142;
    l1543: on ' '; goto l0444;
    l1549: on ' '; goto l2256;
    l1552: on '['; goto l0139;
    l1554: on 'g'; goto l0743;
    l1555: on 'n'; goto l1045;
    l1560: on 't'; goto l2555;
    l1578: on ' '; goto l1945;
    l1581: on ' '; goto l2851;
    l1582: on '2'; goto l0130;
    l1583: on 's'; goto l0432;
    l1587: on '@'; goto l1640;
    l1589: on 'p'; goto l2244;
    l1592: on ' '; goto l0127;
    l1597: on 'i'; goto l1637;
    l1601: on ' '; goto l2845;
    l1605: on ' '; goto l1030;
    l1609: on 'i'; goto l2238;
    l1611: on ' '; goto l2842;
    l1615: on '@'; goto l1027;
    l1618: on ' '; goto l1933;
    l1625: on ' '; goto l1024;
    l1637: on ':'; goto l1625;
    l1639: on ' '; goto l2229;
    l1640: on '0'; goto l2531;
    l1641: on ' '; goto l2833;
    l1653: on 'c'; goto l0411;
    l1656: on '{'; goto l1317;
    l1668: on ' '; goto l1918;
    l1675: on '0'; goto l1009;
    l1678: on '@'; goto l1915;
    l1681: on ' '; goto l2821;
    l1683: on ' '; goto l0402;
    l1692: on 'o'; goto l0097;
    l1693: on '0'; goto l0399;
    l1694: on '0'; goto l0701;
    l1698: on ' '; goto l1909;
    l1702: on ';'; goto l0094;
    l1704: on ' '; goto l0698;
    l1709: on '['; goto l2208;
    l1713: on ' '; goto l0393;
    l1716: on 't'; goto l1299;
    l1717: on ','; goto l1601;
    l1718: on '@'; goto l1903;
    l1720: on '2'; goto l2507;
    l1721: on '0'; goto l2809;
    l1725: on 'n'; goto l0994;
    l1726: on '@'; goto l1296;
    l1730: on '3'; goto l2504;
    l1731: on 's'; goto l2806;
    l1732: on '@'; goto l0085;
    l1743: on ' '; goto l0384;
    l1746: on ' '; goto l1290;
    l1747: on 't'; goto l1592;
    l1751: on ']'; goto l2800;
    l1755: on ' '; goto l0985;
    l1756: on '0'; goto l1287;
    l1757: on ' '; goto l1589;
    l1759: on '('; goto l2193;
    l1762: on '2'; goto l0076;
    l1763: on 'o'; goto l0378;
    l1764: on '#'; goto l0680;
    l1774: on '@'; goto l0677;
    l1775: on 's'; goto l0979;
    l1777: on ' '; goto l1583;
    l1778: on '2'; goto l1885;
    l1786: on ' '; goto l1278;
    l1791: on 'c'; goto l2788;
    l1795: on '='; goto l0973;
    l1801: on '@'; goto l2785;
    l1802: on ' '; goto l0064;
    l1803: on ' '; goto l0366;
    l1808: on '"'; goto l1876;
    l1813: on '*'; goto l0363;
    l1816: on ' '; goto l1269;
    l1820: on 's'; goto l2477;
    l1822: on ' '; goto l0058;
    l1824: on ' '; goto l0662;
    l1835: on '@'; goto l0961;
    l1843: on ' '; goto l0354;
    l1849: on ' '; goto l2166;
    l1850: on ' '; goto l2468;
    l1851: on 'a'; goto l2770;
    l1855: on 's'; goto l0955;
    l1863: on 'h'; goto l0348;
    l1874: on ' '; goto l0647;
    l1875: on 'c'; goto l0949;
    l1876: on ';'; goto l1251;
    l1878: on ' '; goto l1855;
    l1885: on '3'; goto l0946;
    l1898: on '%'; goto l1849;
    l1903: on '0'; goto l0336;
    l1909: on ' '; goto l2148;
    l1910: on 'u'; goto l2450;
    l1913: on ' '; goto l0333;
    l1915: on '1'; goto l0937;
    l1917: on ' '; goto l1541;
    l1918: on ' '; goto l1843;
    l1922: on ' '; goto l0028;
    l1923: on 's'; goto l0330;
    l1932: on ' '; goto l0025;
    l1933: on ' '; goto l0327;
    l1943: on 'd'; goto l0324;
    l1945: on '='; goto l0928;
    l1946: on '0'; goto l1230;
    l1964: on ']'; goto l0620;
    l1967: on 't'; goto l1526;
    l1970: on ' '; goto l2432;
    l1977: on ' '; goto l1523;
    l1985: on 'c'; goto l0916;
    l1988: on ':'; goto l1822;
    l2001: on 'l'; goto l2725;
    l2002: on ' '; goto l0004;
    l2005: on 'n'; goto l0910;
    l2008: on ' '; goto l1816;
    l2011: on '-'; goto l2722;
    l2018: on ' '; goto l1813;
    l2023: on '@'; goto l0300;
    l2032: on '='; goto l3018;
    l2034: on ' '; goto l0599;
    l2035: on 'f'; goto l0901;
    l2040: on ' '; goto l2411;
    l2043: on ' '; goto l0294;
    l2052: on ' '; goto l3012;
    l2054: on 't'; goto l0593;
    l2056: on ' '; goto l1197;
    l2058: on '{'; goto l1801;
    l2059: on '('; goto l2103;
    l2066: on '0'; goto l1194;
    l2067: on '2'; goto l1496;
    l2069: on '0'; goto l2100;
    l2072: on 'f'; goto l3006;
    l2075: on 'l'; goto l0889;
    l2078: on ' '; goto l1795;
    l2080: on 'o'; goto l2399;
    l2087: on '('; goto l1490;
    l2091: on ' '; goto l2698;
    l2099: on ' '; goto l2091;
    l2100: on 'i'; goto l2393;
    l2101: on ' '; goto l2695;
    l2102: on '*'; goto l2997;
    l2103: on '"'; goto l0276;
    l2108: on ' '; goto l1786;
    l2110: on ')'; goto l2390;
    l2132: on 'p'; goto l2988;
    l2138: on ' '; goto l1777;
    l2140: on '-'; goto l2381;
    l2146: on '@'; goto l1170;
    l2148: on '}'; goto l1774;
    l2153: on 'i'; goto l0261;
    l2166: on '3'; goto l1164;
    l2179: on '0'; goto l2067;
    l2183: on '@'; goto l0252;
    l2188: on '@'; goto l1762;
    l2191: on ' '; goto l2668;
    l2192: on 'e'; goto l2970;
    l2193: on ')'; goto l0249;
    l2194: on 'w'; goto l0551;
    l2198: on 'h'; goto l1759;
    l2206: on 'b'; goto l1152;
    l2207: on ' '; goto l1454;
    l2208: on '3'; goto l1756;
    l2209: on ' '; goto l2058;
    l2221: on '='; goto l2659;
    l2224: on 'i'; goto l0542;
    l2229: on ' '; goto l2052;
    l2230: on ';'; goto l2354;
    l2238: on 'n'; goto l1747;
    l2244: on 'u'; goto l0536;
    l2256: on 'e'; goto l1137;
    l2257: on '&'; goto l1439;
    l2259: on '0'; goto l2043;
    l2264: on ' '; goto l0530;
    l2269: on ' '; goto l2040;
    l2272: on '0'; goto l2946;
    l2273: on ' '; goto l0225;
    l2281: on '@'; goto l2641;
    l2282: on '@'; goto l2943;
    l2283: on '2'; goto l0222;
    l2284: on '"'; goto l0524;
    l2286: on ' '; goto l1128;
    l2288: on ','; goto l1732;
    l2289: on 'l'; goto l2034;
    l2295: on 'o'; goto l0823;
    l2300: on 'r'; goto l2333;
    l2305: on 'l'; goto l0820;
    l2306: on ' '; goto l1122;
    l2308: on ';'; goto l1726;
    l2310: on 'n'; goto l2330;
    l2312: on 's'; goto l2934;
    l2314: on 'r'; goto l0515;
    l2317: on 'g'; goto l1421;
    l2321: on ' '; goto l2629;
    l2324: on ' '; goto l0512;
    l2328: on '@'; goto l1720;
    l2330: on 'g'; goto l2324;
    l2331: on 'u'; goto l2626;
    l2333: on 'i'; goto l0207;
    l2338: on '+'; goto l1717;
    l2340: on ' '; goto l2321;
    l2352: on ' '; goto l2922;
    l2353: on ' '; goto l0201;
    l2354: on '@'; goto l0503;
    l2370: on '<'; goto l2312;
    l2373: on 's'; goto l0195;
    l2374: on ' '; goto l0497;
    l2377: on '@'; goto l1403;
    l2381: on '3'; goto l2611;
    l2388: on 'k'; goto l1702;
    l2390: on ';'; goto l2306;
    l2393: on 'n'; goto l0189;
    l2399: on '.'; goto l2001;
    l2401: on 'o'; goto l2605;
    l2404: on ';'; goto l0488;
    l2407: on 'o'; goto l1394;
    l2410: on 'p'; goto l2300;
    l2411: on ' '; goto l2602;
    l2412: on 's'; goto l2904;
    l2413: on 'i'; goto l0183;
    l2418: on '@'; goto l1693;
    l2427: on '@'; goto l1388;
    l2432: on ' '; goto l2898;
    l2434: on 's'; goto l0479;
    l2436: on 'u'; goto l1083;
    l2450: on ']'; goto l2288;
    l2454: on '('; goto l0473;
    l2458: on ' '; goto l1681;
    l2466: on 'e'; goto l1074;
    l2468: on '"'; goto l1678;
    l2470: on ';'; goto l2282;
    l2473: on 'g'; goto l0165;
    l2477: on '+'; goto l1373;
    l2478: on '@'; goto l1675;
    l2479: on ' '; goto l1977;
    l2482: on '2'; goto l2883;
    l2484: on ' '; goto l0464;
    l2500: on 't'; goto l2273;
    l2502: on 'c'; goto l2877;
    l2504: on ']'; goto l0458;
    l2507: on ' '; goto l1364;
    l2517: on ' '; goto l1361;
    l2527: on ']'; goto l1358;
    l2530: on ' '; goto l2264;
    l2531: break;
    l2533: on ' '; goto l0147;
    l2541: on ' '; goto l2563;
    l2542: on '2'; goto l2865;
    l2545: on '}'; goto l0748;
    l2547: on '['; goto l1352;
    l2553: on 'u'; goto l0141;
    l2555: on ' '; goto l0745;
    l2556: on '!'; goto l1047;
    l2562: on ' '; goto l2859;
    l2563: on '0'; goto l0138;
    l2564: on '@'; goto l0440;
    l2574: on '='; goto l0437;
    l2576: on ' '; goto l1041;
    l2577: on ';'; goto l1343;
    l2595: on 'n'; goto l0733;
    l2598: on '0'; goto l1639;
    l2601: on ' '; goto l2545;
    l2602: on ' '; goto l2847;
    l2605: on '['; goto l0730;
    l2607: on ' '; goto l1334;
    l2611: on '0'; goto l2542;
    l2615: on '2'; goto l0727;
    l2616: on '0'; goto l1029;
    l2622: on 'i'; goto l2841;
    l2626: on ' '; goto l1026;
    l2629: on ' '; goto l1932;
    l2634: on ','; goto l0419;
    l2636: on 'f'; goto l1023;
    l2641: on '0'; goto l2533;
    l2643: on ']'; goto l0114;
    l2646: on ' '; goto l1020;
    l2651: on ' '; goto l2530;
    l2654: on ' '; goto l0413;
    l2659: on ' '; goto l1923;
    l2661: on 't'; goto l2527;
    l2664: on ' '; goto l0410;
    l2666: on ')'; goto l1014;
    l2667: on 'r'; goto l1316;
    l2668: on ' '; goto l1618;
    l2672: on ' '; goto l2826;
    l2678: on '2'; goto l1615;
    l2679: on ']'; goto l1917;
    l2695: on ' '; goto l0703;
    l2698: on ' '; goto l1609;
    l2702: on 'o'; goto l2817;
    l2712: on 'c'; goto l2814;
    l2714: on '['; goto l0395;
    l2717: on '+'; goto l1301;
    l2720: on '='; goto l2207;
    l2722: on ' '; goto l2811;
    l2724: on '}'; goto l0392;
    l2725: on 'e'; goto l0694;
    l2738: on '4'; goto l1597;
    l2744: on ' '; goto l0386;
    l2750: on 't'; goto l2198;
    l2751: on 'n'; goto l2500;
    l2756: on ';'; goto l0987;
    l2765: on '3'; goto l0682;
    l2770: on 'm'; goto l2192;
    l2775: on ' '; goto l0679;
    l2777: on '0'; goto l1283;
    l2783: on 'l'; goto l0072;
    l2785: on '0'; goto l0676;
    l2788: on '@'; goto l1582;
    l2800: on ';'; goto l2183;
    l2804: on ']'; goto l0368;
    l2806: on '@'; goto l0972;
    l2809: on ' '; goto l1878;
    l2811: on '@'; goto l2482;
    l2814: on ','; goto l0365;
    l2817: on 'r'; goto l1271;
    l2819: on 'n'; goto l1875;
    l2821: on ' '; goto l2479;
    l2825: on ']'; goto l0664;
    l2826: on ' '; goto l0966;
    l2833: on ' '; goto l0057;
    l2837: on '='; goto l1265;
    l2841: on 'n'; goto l2473;
    l2842: on ' '; goto l2775;
    l2843: on '['; goto l0054;
    l2845: on 's'; goto l0658;
    l2847: on ' '; goto l1262;
    l2851: on '1'; goto l2470;
    l2859: on 'c'; goto l1863;
    l2863: on ' '; goto l0048;
    l2864: on ' '; goto l0350;
    l2865: on '3'; goto l0652;
    l2877: on ','; goto l1253;
    l2878: on 'i'; goto l1555;
    l2883: on '0'; goto l0042;
    l2888: on 'b'; goto l1552;
    l2891: on ' '; goto l2458;
    l2894: on '<'; goto l0341;
    l2898: on ' '; goto l1549;
    l2899: on 'n'; goto l1851;
    l2900: on 'a'; goto l2153;
    l2903: on '0'; goto l0036;
    l2904: on 'i'; goto l0338;
    l2917: on ' '; goto l1241;
    l2918: on ' '; goto l1543;
    l2922: on 'i'; goto l2751;
    l2924: on '*'; goto l0332;
    l2933: on ' '; goto l0027;
    l2934: on 't'; goto l0329;
    l2935: on ')'; goto l0631;
    l2943: on '0'; goto l0024;
    l2944: on 'i'; goto l0326;
    l2945: on ' '; goto l0628;
    l2946: on ' '; goto l0930;
    l2950: on '0'; goto l2138;
    l2953: on 'p'; goto l0021;
    l2957: on '0'; goto l1229;
    l2963: on 't'; goto l0018;
    l2970: on 's'; goto l2132;
    l2971: on ' '; goto l2434;
    l2984: on ' '; goto l0314;
    l2988: on 'a'; goto l1522;
    l2989: on ' '; goto l1824;
    l2997: on ' '; goto l1217;
    l3006: on 'o'; goto l0912;
    l3012: on ' '; goto l2724;
    l3013: on ' '; goto l0003;
    l3018: on ' '; goto l1513;
    
      } while(0);
      int l = 1;
      string e = "\n\\'@";
      string b[3023 * 2];
      char c[3023];
      for(int t = 0; t < no.length(); t++)
      {
        if(no[t] == '$' && l > 0)
        {
          int s = 1;
          for(int u = 0; u < no.length(); u++, s = s * 302 % 3023)
          {
            sprintf(c, "l%04i: on '%c'; goto l%04i;", s, no[u],
                    s * 302 % 3023);
            b[s] = c;
          }
          sprintf(c, "l%04i: break;", s);
          b[s] = c;
          for(s = 1; s < 3023; s++)
            if(b[s] != "")
              printf("%s\n", b[s].c_str());
          l = -3023;
        }
        else
          putchar(no[t] == '@' ? l++, e[no[++t] - '0']: no[t]);
      }
      return 0;
    }
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  2. #2
    aoeuhtns
    Join Date
    Jul 2005
    Posts
    581
    It's C++ code posted in the C forum.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using files to store aint working. HELPPpp!!!!
    By success972 in forum C Programming
    Replies: 3
    Last Post: 04-13-2009, 12:32 AM
  2. helpppp!!!!
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 02-13-2002, 08:25 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21