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