You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Здравствуйте, подскажите какой тег использовать для увеличения значения, пример на картинке.
Вроде, про такой тег я слышала. Если есть тег прогресс бар, значит и такое должно быть.
Question
newe
1 код с++
#include<iostream>
#include<fstream>
#include<string>
using namespace std;
int main() {
cout << "content-type:text/html;charset=windows1251\n\n";
ifstream f("C:/Users/артур/source/repos/saitforskobki/HTMLPage.htm");
if (f.is_open())
{
char* ln = new char[1024];
while (!f.eof())
{
f.getline(ln, 1024);
if (strcmp(ln, "<!--content-->") == 0)
{
cout << 4;
}
else {
cout << ln;
}
}
}
return 0;
}
2 html код
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio">
<TITLE></TITLE>
</HEAD>
<form action='skob.cgi' method='get'>
<input type='text' name='fn'><br>
<input type='submit' value='OK'>
</form>
<BODY>
<!--content-->
</BODY>
</HTML>
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.