IdentifiantMot de passe
Loading...
Mot de passe oubli� ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les r�ponses en temps r�el, voter pour les messages, poser vos propres questions et recevoir la newsletter

Dev-C++ Discussion :

Interface graphique en C/C++


Sujet :

Dev-C++

Vue hybride

Message pr�c�dent Message pr�c�dent   Message suivant Message suivant
  1. #1
    Nouveau candidat au Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    1
    D�tails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 1
    Par d�faut Interface graphique en C/C++
    J'ai fait un petit programme mais je suis nul en interface graphique. Est-ce quelqu'un peut me faire une interface graphique avec un menu d�filent contre une petite r�mun�ration. voila le programme.
    Code : S�lectionner tout - Visualiser dans une fen�tre � part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    #include <istream>
    #include <stdlib.h>   
    #include <string.h> 
    #include <stdio.h>
    #include <math.h>
    #include <ctype.h> 
    #include <sys\stat.h> 
    #include <fcntl.h>
    #include <io.h>
    #include <conio.h>
    #include <errno.h>
    #include <cstring>
    #include <fstream>
    #include <windows.h>
    #include <unistd.h>
    //==============================================================
    int restart;
    char xfile[81];
    char xfile1[81];
    char code1[10000] = "0123456789";
    char next[10];
    char input[50] = "word1.doc";
    char output[50] = "word2.doc";
    unsigned char code,coded,recoded,unsigneddata,data,erase1 = 44;
    unsigned doublecode = 150;
    char lettre,size,bell1=07;
    char char1,choice1[1];
    FILE *text_file1 = NULL;
    FILE *text_file2 = NULL;
    int choice,len_input,len_output,flag;
    int n,n2,length_code, end_file;
    double length_file,max_size=3000000;
    //=====================
    inline void get();
    //==============================================================
    // this function gets the in put and output
    inline void get()
    {
        SYSTEMTIME t;
        GetSystemTime(&t);
        printf("%d-%d-%d %d:%d:%d \n",t.wDay,t.wMonth,t.wYear,t.wHour,t.wMinute,t.wSecond);
     
        start4:;
        printf ("====>minimum size 10 characters, maximum size 10000 characters \n");
        printf ("====>Type the vector then enter\n");
        fgets(code1, sizeof(code1),stdin);
        length_code = strlen(code1)-1;
        if ((length_code> 9)&& (length_code<10001)) {goto start2;};
     
        system("cls"); printf("\n");
        printf("====>The length of vector is equal to %d\n",length_code );
        printf("\n");
        goto start4;
        start2:
        choice = 0;
        printf("\n");printf("\n");
        printf ("====>Type 1 for process 1 or type 2 for process 2 and then enter\n");
        printf ("====>Type 3 to exit\n");
        scanf("%d", &choice);
        while (getchar()!= '\n');// empty buffer
        if (  choice == 1 ){goto ahead1;}
        if (  choice == 2 ){goto ahead1;}
        printf("\n");printf("\n");
        system("cls");
        printf("====>Wrong choice \n");
        goto start4;
        ahead1:
        //=========================================================
        start3:
        printf("\n");
        if (choice == 1)  
        {
           printf ("====>Type the name of the input file, EXAMPLE name1.doc then enter\n");
           scanf("%s", &input);
           printf ("====>The name of the input is %s\n",input);
        };
        if (choice == 2)  
        {
           printf ("====>Type the name of the output file, EXAMPLE name2.doc then enter\n");
           scanf("%s", &output);
           printf ("====>The name of the input is %s\n",output);
        };
     
    } 
    //==============================================================
    // the main program
    //==============================================================
    int main()
    {
        printf("\n");
        printf("============================\n");
        printf("\n");
        printf("DESIGNED BY JOSEPH NDURIRI TOULOUSE FRANCE\n");
        printf("Email <a href="mailto:[email protected]">[email protected]</a>\n");
        printf("Phone +33(0)679922232 FRANCE\n");
        printf("\n");
        printf("============================\n");
        SYSTEMTIME t;
        GetSystemTime(&t);
        printf("%d-%d-%d %d:%d:%d \n",t.wDay,t.wMonth,t.wYear,t.wHour,t.wMinute,t.wSecond);
        start1:;    
        get();
        printf("====>end ++++++++++++++++++++++++++++++++++\n");
        printf("====>To go on type a character to start once more\n");
        scanf("%s", xfile1);
        while (getchar()!= '\n');// empty buffer
        system("cls"); //clear screen
        goto start1;
        return 0; 
    }
    merci de me contacter
    Nduriri

  2. #2
    Membre actif Avatar de Abacar94
    Homme Profil pro
    L2 Math-informatique
    Inscrit en
    Novembre 2015
    Messages
    103
    D�tails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Niger

    Informations professionnelles :
    Activit� : L2 Math-informatique

    Informations forums :
    Inscription : Novembre 2015
    Messages : 103
    Par d�faut
    Je parie qu'a ce moment ta r�solution ton probl�me d�interface

  3. #3
    Expert �minent
    Avatar de M�dinoc
    Homme Profil pro
    D�veloppeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 397
    D�tails du profil
    Informations personnelles :
    Sexe : Homme
    �ge : 41
    Localisation : France

    Informations professionnelles :
    Activit� : D�veloppeur informatique
    Secteur : High Tech - �diteur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 397
    Par d�faut
    Quelle �tait la raison de d�terrer ce sujet vieux de deux ans?
    SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parl� avant.

    "Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
    Apparently everyone.
    -- Raymond Chen.
    Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.

  4. #4
    Membre actif Avatar de Abacar94
    Homme Profil pro
    L2 Math-informatique
    Inscrit en
    Novembre 2015
    Messages
    103
    D�tails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Niger

    Informations professionnelles :
    Activit� : L2 Math-informatique

    Informations forums :
    Inscription : Novembre 2015
    Messages : 103
    Par d�faut
    Par ce que tu na pas mis pour faire savoir que c'est clos et en plus j'ai vus que sa a fait 2 ans du coup je me suis dit "Je parie qu'a ce moment ta r�solution ton probl�me d�interface".........

Discussions similaires

  1. R�ponses: 2
    Dernier message: 29/03/2004, 18h29
  2. interface graphique utilisateur, que faut-il utiliser?
    Par Missvan dans le forum PostgreSQL
    R�ponses: 3
    Dernier message: 01/03/2004, 12h18
  3. Application multiplateforme avec interface graphique
    Par TNorth dans le forum Choisir un environnement de d�veloppement
    R�ponses: 2
    Dernier message: 31/01/2004, 18h55
  4. [Kylix] Interface graphique pour lognes de commande linux
    Par lecharcutierdelinux dans le forum EDI
    R�ponses: 6
    Dernier message: 29/08/2003, 10h20
  5. plugin interface graphique
    Par jocelyn dans le forum Eclipse Java
    R�ponses: 2
    Dernier message: 13/08/2003, 09h49

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo