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++

  1. #1
    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
    Points : 3
    Points
    3
    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:nduriri@voila.fr">nduriri@voila.fr</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 habitué 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
    Points : 133
    Points
    133
    Par défaut
    Je parie qu'a ce moment ta résolution ton problème d’interface

  3. #3
    Expert éminent sénior
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 369
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

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

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 369
    Points : 41 519
    Points
    41 519
    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 habitué 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
    Points : 133
    Points
    133
    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