printf("%s%c%c\n%s", "Content-Type:text/html;charset=windows-1251",13,10, "html body");
cout << "Content-Type:text/html;charset=windows-1251" << '13' << '10' << "html body";