Suchergebnisse

Suchergebnisse 1-2 von insgesamt 2.

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • Prog geht sofort aus

    Ghosty - - C, C++ & Objective-C

    Beitrag

    Ja ich weiß dass ich leichtsinsfehler mache bin aber noch anfänger. Trozdem vielen Danke für die Hilfe :D. Aber irgendwas hab ich wieder falsch gemacht :(. Zitat: „#include <cstdlib> #include <iostream> #include <string> using namespace std; int main() { string Passwort = "a"; string Passwort2 = "a"; bool Pass = false; cout << "Bitte gib das Passwort ein!" ; cin >> Passwort; cout << "Bitte wiederhole das Passwort!" ; cin >> Passwort2; if (Passwort == Passwort2) { Pass = true; cout << "Super" ; r…

  • Prog geht sofort aus

    Ghosty - - C, C++ & Objective-C

    Beitrag

    Hi, ich bin beim Programmieren noch ein Anfänger :D. Deshalb hab ich ein Problem. Wenn ich bei diesem Prog: Zitat: „#include <iostream> using namespace std; int main() { int Zahleingabe; int Doppel; cout << "Bitte geben Sie eine Zahl ein!" << endl; cin >> Zahleingabe; Doppel = Zahleingabe * 2; cout << "Das Doppelte dieser Zahl ist " << Doppel << "." << endl; } “ eine Zahl eingebe geht das Programm sofort aus. Ich weiß das ist für bestimmt das einfachste Prrogramm der Welt aber trozdem stell ich …