Brauche Strucktogramm für folgendes Prog. gute bezahlung!!



  • Hi brauche ein Strucktogramm für dieses Programm! Bin bereit euch dafür zu bezahlen 😉 Für einen Programmierer sind das noch nicht mal 10 min also
    PLEASE HELP!

    // ASCII-Code-Übersicht
    
    #include <conio.h>
    #include <iostream.h>
    #include <stdio.h>
    #include <ctype.h>
    
    void eingabe();
    void ausgabe1();
    void ausgabe2();
    
    int zahl, x, y;
    char antw, zeichen, lage, format;
    
    void main()
    {
     do
       {
        window(1,1,80,3);
        textcolor(WHITE);
        textbackground(BLACK);
        clrscr();
        gotoxy(25,2);
        cout << "**** ASCII-CODE-ÜBERSICHT ****";
        eingabe();
        clrscr();
        _setcursortype(2);
        do
          {
           gotoxy(3,4);
           cout << "Nochmals ? [J/N]";
           antw=toupper(getch());
          }
        while (antw!='J' && antw!='N');
       }
     while (antw!='N');
     window(1,1,80,25);
     textcolor(WHITE);
     textbackground(BLACK);
     clrscr();
    }
    
    void eingabe()
    {
     window(1,4,80,25);
     textcolor(BLACK);
     textbackground(WHITE);
     clrscr();
     gotoxy(1,5);
     cout << "Senkrecht oder waagrecht [S/W] ?";
     lage=toupper(getch());
     cout << "\n\nDezimal oder Hexadezimal [D/H] ?";
     format=toupper(getch());
     if (lage=='S') ausgabe1();
     else ausgabe2();
    }
    
    void ausgabe1()
    {
     clrscr();
     _setcursortype(0);
     x=1; y=0;
     for (zahl=32,zeichen=32; zahl<=255; zahl++,zeichen++)
        {
         y++;
         gotoxy(x,y);
         if (format=='D')
    	printf ("%5i=%c",zahl,zeichen);
         else
    	printf ("%5X=%c",zahl,zeichen);
    
         if (y==21)
           { y=0; x+=7; }
        }
      getch();
    }
    
    void ausgabe2()
    {
     clrscr();
     _setcursortype(0);
     x=0;
     for (zahl=32,zeichen=32; zahl<=255; zahl++,zeichen++)
        {
         x++;
         if (format=='D')
           printf ("%5i=%c",zahl,zeichen);
         else
           printf ("%5X=%c",zahl,zeichen);
    
         if (x==11)
           { x=0; cout << "\n"; }
        }
      getch();
    }
    


  • was heißt "gute bezahlung"?



  • Ja wieviel stellst du dir denn vor?? 😃
    15 € wären doch ok 😉



  • Dieser Thread wurde von Moderator/in evilissimo aus dem Forum C++ in das Forum Projekte verschoben.

    Im Zweifelsfall bitte auch folgende Hinweise beachten:
    C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?

    Dieses Posting wurde automatisch erzeugt.


Anmelden zum Antworten