Schriftzug



  • Hallo ich habe einen schriftzug,den ich gerne in ein programm machen würde,allerdingd wird er in der konsole nicht richtig angezeigt....

    Was ist falsch?
    Cpp code

    #include <iostream>
    using namespace std;
    
    int main()
    {
    
    cout << "+++++++++++++++++++++++++++++++" <<    "+++++++++++++++++++++++++++++++" <<   "++++++++++++++++++++++++" <<       "+++++++++++++++++++++++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++" << endl;
    cout << "+++++++++++++++++++++++++++++++" <<             "+++++++++" <<				   "++" <<							   "+++          ++++++++++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++                 +++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++                 +++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++                 +++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++                 +++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++                 +++" << endl;
    cout << "+++++++++++++++" <<                             "+++++++++" <<				   "++" <<							   "+++                 +++" << endl;
    cout << "+++++++++++++++++++++++++++++++" <<             "+++++++++" <<				   "++++++++++++++++++++++++" <<	   "+++++++++++++++++++++++" << endl;
    system("PAUSE");
    return 0;
    }
    

    Kosolenausgabe

    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++++++++++++++++++          ++++++++++
    +++++++++++++++++++++++++++++                 +++
    +++++++++++++++++++++++++++++                 +++
    +++++++++++++++++++++++++++++                 +++
    +++++++++++++++++++++++++++++                 +++
    +++++++++++++++++++++++++++++                 +++
    +++++++++++++++++++++++++++++                 +++
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    +++++++
    Drücken Sie eine beliebige Taste . . .
    

    Könnte man ihn evtl auzch verkleinern


  • Administrator

    Pharao_Atem schrieb:

    Was ist falsch?

    Ist die Frage ernst gemeint? Da fehlen natürlich jeweils die Leerzeichen! Es wird nur das ausgegeben, was du zwischen den Gänsefüsschen hast und das sind fast nur '+' Zeichen.

    Grüssli



  • 😃


Anmelden zum Antworten