#include
#include
#include
using namespace std;
int c1 = 0;
int c2 = 0;
int c3 = 0;
int c4 = 0;
int main ()
{
condition_variable cv;
for (int i = 15; i > -1; i = i - 1)
{
if ((c1 == 1) and (c2 == 1) and (c3 == 1))
{
int c4 = 1;
int c3 = 0;
int c2 = 0;
int c1 = 0;
}
if ((c1 == 1) and (c2 == 1))
{
int c3 = 1;
int c2 = 0;
int c1 = 0;
}
if (c1 == 1)
{
int c2 = 1;
int c1 = 0;
}
int c1 = (c1 + 1);
system("clear");
cout
Versuchen Sie, einen einfachen binären Zähler in C ++ zu erstellen: < /p> [code]#include #include #include using namespace std;
int c1 = 0; int c2 = 0; int c3 = 0; int c4 = 0;
int main () { condition_variable cv; for (int i = 15; i > -1; i = i - 1) { if ((c1 == 1) and (c2 == 1) and (c3 == 1)) { int c4 = 1; int c3 = 0; int c2 = 0; int c1 = 0; } if ((c1 == 1) and (c2 == 1)) { int c3 = 1; int c2 = 0; int c1 = 0; } if (c1 == 1) { int c2 = 1; int c1 = 0; } int c1 = (c1 + 1);
Ich habe eine qt C ++ - App, in der ich den Inhalt eines Qtextedit -Scheibens als einfacher Text speichern muss, wenn er einfacher Text enthält, und als HTML, wenn der Qtextedit einen reichen Text...
Ich weiß nicht, wie man Minecraft Mod macht, weil ich in meinem ganzen Leben keine gemacht habe. Befehle in einem Discord -Webhook, wie ich es möchte, wenn ein Minecraft -Player meinen Mod verwendet...
In meinem Projekt enthält dort das SOH -Symbol, das aus binären Inhalten analysiert wurde. Ich habe so versucht, das Symbol zu ersetzen, aber nicht funktioniert:
const message = 'a b'...