//************************************************ // txt-html-simple.cpp ver.1.00 // // テキスト // を // \nテキスト\n
\n // に変換 // // 2000/12/01(金) // 2000 Copyright charlie, // All rights reserved // happypoint@geocities.co.jp #include #include #include #include #include #define debug const int buffmax=2048; char init[]="txt-html-simple.ini"; char infname[buffmax]; char command[buffmax]; char outfname[buffmax]; char buff[buffmax*5]; //------------------------------------------- void getfname() { printf("input html file:"); scanf("%s",infname); printf("output file:"); scanf("%s",outfname); } //------------------------------------------- headmake(ifstream &in,ofstream &out) { out<<"
"<"<0)
			{
			comment=buff;
			link=buff;
			sprintf(buffp,"\n%s
\n",link,comment); out<>startnum; ini.get(dummy); ini.get(infname,buffmax,'\n'); ini.get(dummy); ini.get(outfname,buffmax,'\n'); cout<<"initializing."<