Форум программистов, компьютерный форум, киберфорум
С++ для начинающих
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.50/4: Рейтинг темы: голосов - 4, средняя оценка - 4.50
3 / 3 / 0
Регистрация: 02.04.2016
Сообщений: 127

Ошибка компиляции "This function or variable may be unsafe"

13.04.2017, 19:48. Показов 866. Ответов 11
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Здравствуйте! Подскажите пожалуйста, как исправить ошибку: error c4996: 'strcpy': Twhis function or variable may be unsafe...

C++
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
#include<iostream>
#include<fstream>
#include<algorithm>
#include<string.h>
#include<locale>
#include<queue>
#include<stdio.h>
#include<string>
#include<conio.h>
#include <ctime>
#include <windows.h>
#include <math.h>
#include <iterator>
using namespace std;
 
                                                                                                //Класс дата
class Date{
protected:
    int d, m, y;
public:
    Date(){ d = m = y = 0; }
    Date(int D, int M, int Y) : d(D), m(M), y(Y) {};
    virtual void setD(int x){ d = x; }
    virtual void setM(int x){ m = x; }
    virtual void setY(int x){ y = x; }
 
    virtual int getD(){ return d; }
    virtual int getM(){ return m; }
    virtual int getY(){ return y; }
 
    friend Date& operator-=(Date& obj, int kol);
    friend bool operator<(Date&, Date&);
    friend Date& operator+=(Date& obj, int kol);
    friend ostream &operator <<(ostream & stream, Date & obj);
    friend istream &operator >> (istream & stream, Date & obj);
 
    int operator -(Date &dd);
    Date& operator=(Date& obj);
 
    virtual void setdate();
    virtual void printdate();
};
                                                                                                //класс профель
class Profile :public Date
{
    char name[15];
    char surname[15];
    char gender[15];
public:
    
    void set(ifstream &);
    Profile() :Date()
    {
        strcpy(name, "");
        strcpy(surname, "");
        strcpy(gender, "");
        d = m = y = 0;
    }
    char* getname(){ return name; }
    char* getsurname(){ return surname; }
    char* getgender(){ return gender; }
 
    void setname(char *x){ strcpy(name, x); }
    void setsurname(char *x){ strcpy(surname, x); }
    void setgender(char *x){ strcpy(gender, x); }
 
    void set();
    void print();
    void print(ofstream &);
 
    friend bool comp(Profile &a, Profile &b, Profile &c, int n);
};
                                                                                                //Класс очередь
class Queue
{
    queue<Profile> q;
public:
    void Print();
    void Add();
    void Save();
    void Load();
    void Find();
    void Del();
    void Edit();
    void sort();
};
 
int Menu(void)
{
    int c = 0;
    struct tm *t;
    time_t ltime;
    time(&ltime);
    t = localtime(&ltime);
    cout << '\n' << t->tm_mday << '/' << t->tm_mon + 1 << '/' << 1900 + t->tm_year << endl;
    while ((c < '0' || c > '9') && c != 27)
    {
        cout << "\n------Меню------\n";
        cout << "----------------\n";
 
        cout << "[0] - Exit \n";
        cout << "[1] - Add \n";
        cout << "[2] - Save \n";
        cout << "[3] - Load \n";
        cout << "[4] - Print \n";
        cout << "[5] - Find \n";
        cout << "[6] - Del \n";
        cout << "[7] - Edit \n";
        cout << "[8] - Sort \n";
 
        cout << "----------------\n";
 
        c = getch();
        printf("%c\n", c);
    }
    return c;
}
int main()
{
    Queue os;
    system("cls");
    SetConsoleCP(1251);
    SetConsoleOutputCP(1251);
 
    int Selection;
    while ((Selection = Menu()) != '0' && Selection != 27)
        switch (Selection)
    {
        case '1': os.Add(); break;
        case '2': os.Save(); break;
        case '3': os.Load(); break;
        case '4': os.Print(); break;
        case '5': os.Find(); break;
        case '6': os.Del(); break;
        case '7': os.Edit(); break;
        case '8': os.sort(); break;
    }
 
    system("pause");
    return 0;
};
                                                                                                 //Дата
int Date::operator -(Date &dd)
{
    tm tm1 = { 0, 0, 0, d, m + 1, y - 1900, 0 };
    tm tm2 = { 0, 0, 0, dd.d, dd.m + 1, dd.y - 1900, 0 };
    return difftime(mktime(&tm1), mktime(&tm2)) / (24 * 60 * 60);
};
Date& Date::operator=(Date& obj)
{
    d = obj.d;
    m = obj.m;
    y = obj.y;
    return *this;
}
void Date::setdate()
{
    int day[2][12] = { { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },
    { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } };
    struct tm *t;
    time_t ltime;
    time(&ltime);
    t = localtime(&ltime);
m1:
    cout << "'d m yyyy'\n";
    cin >> d >> m >> y;
    if (m>12) { cout << "мiсяць!!!\n"; goto m1; }
    //if (y<1900 + t->tm_year) { cout << "рiк!!!\n"; goto m1; }
    if ((y % 4) == 0 && (d>day[0][m - 1])){ cout << "день!!!\n"; goto m1; }
    else if ((y % 4) != 0 && (d>day[1][m - 1])){ cout << "день!!!\n"; goto m1; }
}
void Date::printdate()
{
    cout << '\t' << d << '-' << m << '-' << y << endl;
}
Date& operator-=(Date& obj, int kol)
{
    obj.d -= kol;
    obj.m -= kol;
    obj.y -= kol;
    return obj;
}
Date& operator+=(Date& obj, int kol)
{
    obj.d += kol;
    obj.m += kol;
    obj.y += kol;
    return obj;
}
bool operator<(Date& t1, Date &t2)
{
    if (t1.y < t2.y &&t1.m < t2.m&&t1.m < t2.m) return true;
}
ostream &operator <<(ostream & stream, Date & obj)
{
    stream << obj.d << "." << obj.m << "." << obj.y << endl;
    return stream;
}
istream &operator >> (istream & stream, Date & obj)
{
    stream >> obj.d;
    stream >> obj.m;
    stream >> obj.y;
    return stream;
}
 
/*--------------------------------------------------------------------------------------------------------------------------------*/
bool comp(Profile &t1, Profile &t2, Profile &t3, int n)
{
    if (t1.y < t2.y &&t1.m < t2.m&&t1.m < t2.m) return true;
    /*
    if (n == 1)
    {
    if (strcmp(a.name, b.name)>0) return 0;
    else return 1;
    }
    if (n == 2) return a.stat < b.stat;
    if (n == 3) return a.cerrer< b.cerrer;
    */
}
/*--------------------------------------------------------------------------------------------------------------------------------*/
 
void Profile::set()
{
    cin.ignore();
    cout << "Введiть iм'я:          "; cin.getline(name, 50);
    cout << "Введiть прізвище:      "; cin.getline(surname, 50);
    cout << "Введiть стать:         "; cin.getline(gender, 50);
    cout << "Введiть дату становлення в чергу >"; setdate();
}
void Profile::set(ifstream &f)
{
    char str[100] = "";
    char *delim = "\t";
    char *ptr;
 
    f.getline(name, 50);
    f.getline(surname, 50);
    f.getline(gender, 50);
    f.getline(str, 100, '\n');
 
    ptr = strtok(str, delim); if (ptr) strcpy(gender, ptr);
    ptr = strtok(NULL, delim); if (ptr) setD(atoi(ptr));
    ptr = strtok(NULL, delim); if (ptr) setM(atoi(ptr));
    ptr = strtok(NULL, delim); if (ptr) setY(atoi(ptr));
}
void Profile::print(ofstream &f)
{
    f << name << '\n' << surname << '\n' << gender << '\t' << getD() << '\t' << getM() << '\t' << getY() << '\n';
}
void Profile::print()
{
    printf(name);
    printf(surname);
    printf(gender);
    printdate();
}
 
                                                                                                    //Очередь
void Queue::Print()//
{
    //queue <osoba>::iterator it;
    int i = 0;
    cout << "# Iм'я Рiд занять Стать Дата\n";
    cout << "-------------------------------------------------------------------\n";
    //it=os.begin();
    int n = q.size();
    queue <Profile> t = q;
    while (!t.empty())
    {
        cout << ++i;
        t.front().print();
        t.pop();
    }
}
void Queue::Load()
{
    char sn[5] = "";
    int n = 0;
    Profile dd;
    ifstream fi("text.txt", ios::in);
    fi.getline(sn, 5);
    n = atoi(sn);
    for (int i = 0; i < n; i++)
    {
        dd.set(fi);
        q.push(dd);
    }
}
void Queue::Save()
{
    ofstream f("text.txt", ios::out); //ff.close();
    f << q.size() << '\n';
    queue<Profile> t = q;
    while (!t.empty())
    {
        t.front().print(f);
        t.pop();
    }
    f.close();
}
void Queue::Add()//vector <osoba> &os)
{
    Profile dd;
    dd.set();
    q.push(dd);
}
void Queue::Edit()//
{
    int i = 0, n;
    Print();
    cout << "Введите номер редактируемого элемента > ";
    cin >> n;
    if (n < 1 || n > q.size())
    {
        fprintf(stderr, "Элемент с номером %d не существует\n", n); return;
    }
    n--;
    queue<Profile> f, f2;
    Profile dd;
    while (i < n)
    {
        f.push(q.front());
        q.pop();
        i++;
        //f.back().print();
    }
    dd = q.front();
    q.pop();
    dd.set();
    while (!q.empty())
    {
        f2.push(q.front());
        q.pop();
    }
    while (!f.empty())
    {
        q.push(f.front());
        f.pop();
    }
    q.push(dd);
    while (!f2.empty())
    {
        q.push(f2.front());
        f2.pop();
    }
}
void Queue::Del()//vector <Profile> &os)
{
    int i = 0, n;
    Print();
    cout << "Введите номер удаляемого элемента > ";
    cin >> n;
    if (n < 1 || n > q.size())
    {
        fprintf(stderr, "Элемент с номером %d не существует\n", n); return;
    }
    n--;
    queue<Profile> f, f2;
    while (i < n)
    {
        f.push(q.front());
        q.pop();
        i++;
        //f.back().print();
    }
    q.pop();
    while (!q.empty())
    {
        f2.push(q.front());
        q.pop();
    }
    while (!f.empty())
    {
        q.push(f.front());
        f.pop();
    }
    while (!f2.empty())
    {
        q.push(f2.front());
        f2.pop();
    }
}
void Queue::Find()
{
    int i = 0, n;
    char str[50];
    Print();
    cout << "Введите Фамилию> ";
    cin >> str;
    queue<Profile> f = q;
    while (!f.empty())
    {
        if (strstr(f.front().getname(), str))
        {
            f.front().print(); i++;
        }
        f.pop();
        if (i == 0) cout << "Нет записей удолетворяющих условие!" << endl;
    }
}
/*int fun(Date d)
{
struct tm *t;
time_t ltime;
time(&ltime);
t = localtime(&ltime);
}*/
void Queue::sort()
{
    queue<Profile> f = q, f1;
    int n, i;
    struct tm *tim;
    time_t tt = time(NULL);
    tim = localtime(&tt);
    //printf("%d.%d.%d", tim->tm_mday, tim->tm_mon, tim->tm_year + 1900);
    int min = f.front().getY();
    while (f1.size() < q.size())
    {
        queue<Profile> f2, f3;
        n = 0;
        min = f.front().getY();
        for (i = 0; !f.empty(); i++)//поиск мин
        {
            if (f.front().getY() < min)
            {
                min = f.front().getY(); n = i;
            }
            f3.push(f.front());
            f.pop();
        }
        for (i = 0; i < n; i++)
        {
            f2.push(f3.front());
            f3.pop();
        }
        f1.push(f3.front());
        f3.pop();
        while (!f2.empty())
        {
            f3.push(f2.front());
            f2.pop();
        }
        f.swap(f3);
    }
    q.swap(f1);
}
Миниатюры
Ошибка компиляции "This function or variable may be unsafe"  
0
Programming
Эксперт
39485 / 9562 / 3019
Регистрация: 12.04.2006
Сообщений: 41,671
Блог
13.04.2017, 19:48
Ответы с готовыми решениями:

Ошибка C4996: 'gets': This function or variable may be unsafe
#include &lt;iostream&gt; #include &lt;iostream&gt; #include &lt;conio.h&gt; #include &lt;string.h&gt; #include &lt;windows.h&gt; #include &lt;stdio.h&gt; using...

Ошибка: 'strcpy': This function or variable may be unsafe
error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use...

Ошибка C4996 'strcpy': This function or variable may be unsafe
ругается на strcpy помогите пожалуйста суть программы(. Следующая программа EMPCLASS.CPP создает два объекта класса employee. Используя...

11
"C with Classes"
2022 / 1404 / 523
Регистрация: 16.08.2014
Сообщений: 5,885
Записей в блоге: 1
13.04.2017, 20:11
DmitriyStroy,
C++
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
#define _CRT_SECURE_NO_WARNINGS // добавил
 
 
#include<iostream>
#include<fstream>
#include<algorithm>
#include<string.h>
#include<locale>
#include<queue>
#include<stdio.h>
#include<string>
#include<conio.h>
#include <ctime>
#include <windows.h>
#include <math.h>
#include <iterator>
using namespace std;
                                                                                                //Класс дата
class Date{
protected:
    int d, m, y;
public:
    Date(){ d = m = y = 0; }
    Date(int D, int M, int Y) : d(D), m(M), y(Y) {};
    virtual void setD(int x){ d = x; }
    virtual void setM(int x){ m = x; }
    virtual void setY(int x){ y = x; }
 
    virtual int getD(){ return d; }
    virtual int getM(){ return m; }
    virtual int getY(){ return y; }
 
    friend Date& operator-=(Date& obj, int kol);
    friend bool operator<(Date&, Date&);
    friend Date& operator+=(Date& obj, int kol);
    friend ostream &operator <<(ostream & stream, Date & obj);
    friend istream &operator >> (istream & stream, Date & obj);
 
    int operator -(Date &dd);
    Date& operator=(Date& obj);
 
    virtual void setdate();
    virtual void printdate();
};
                                                                                                //класс профель
class Profile :public Date
{
    char name[15];
    char surname[15];
    char gender[15];
public:
    
    void set(ifstream &);
    Profile() :Date()
    {
        strcpy(name, "");
        strcpy(surname, "");
        strcpy(gender, "");
        d = m = y = 0;
    }
    char* getname(){ return name; }
    char* getsurname(){ return surname; }
    char* getgender(){ return gender; }
 
    void setname(char *x){ strcpy(name, x); }
    void setsurname(char *x){ strcpy(surname, x); }
    void setgender(char *x){ strcpy(gender, x); }
 
    void set();
    void print();
    void print(ofstream &);
 
    friend bool comp(Profile &a, Profile &b, Profile &c, int n);
};
                                                                                                //Класс очередь
class Queue
{
    queue<Profile> q;
public:
    void Print();
    void Add();
    void Save();
    void Load();
    void Find();
    void Del();
    void Edit();
    void sort();
};
 
int Menu(void)
{
    int c = 0;
    struct tm *t;
    time_t ltime;
    time(&ltime);
    t = localtime(&ltime);
    cout << '\n' << t->tm_mday << '/' << t->tm_mon + 1 << '/' << 1900 + t->tm_year << endl;
    while ((c < '0' || c > '9') && c != 27)
    {
        cout << "\n------Меню------\n";
        cout << "----------------\n";
 
        cout << "[0] - Exit \n";
        cout << "[1] - Add \n";
        cout << "[2] - Save \n";
        cout << "[3] - Load \n";
        cout << "[4] - Print \n";
        cout << "[5] - Find \n";
        cout << "[6] - Del \n";
        cout << "[7] - Edit \n";
        cout << "[8] - Sort \n";
 
        cout << "----------------\n";
 
        c = getchar();  // поправил вместо getch
        printf("%c\n", c);
    }
    return c;
}
int main()
{
    Queue os;
    system("cls");
    SetConsoleCP(1251);
    SetConsoleOutputCP(1251);
 
    int Selection;
    while ((Selection = Menu()) != '0' && Selection != 27)
        switch (Selection)
    {
        case '1': os.Add(); break;
        case '2': os.Save(); break;
        case '3': os.Load(); break;
        case '4': os.Print(); break;
        case '5': os.Find(); break;
        case '6': os.Del(); break;
        case '7': os.Edit(); break;
        case '8': os.sort(); break;
    }
 
    system("pause");
    return 0;
};
                                                                                                 //Дата
int Date::operator -(Date &dd)
{
    tm tm1 = { 0, 0, 0, d, m + 1, y - 1900, 0 };
    tm tm2 = { 0, 0, 0, dd.d, dd.m + 1, dd.y - 1900, 0 };
    return difftime(mktime(&tm1), mktime(&tm2)) / (24 * 60 * 60);
};
Date& Date::operator=(Date& obj)
{
    d = obj.d;
    m = obj.m;
    y = obj.y;
    return *this;
}
void Date::setdate()
{
    int day[2][12] = { { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },
    { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } };
    struct tm *t;
    time_t ltime;
    time(&ltime);
    t = localtime(&ltime);
m1:
    cout << "'d m yyyy'\n";
    cin >> d >> m >> y;
    if (m>12) { cout << "мiсяць!!!\n"; goto m1; }
    //if (y<1900 + t->tm_year) { cout << "рiк!!!\n"; goto m1; }
    if ((y % 4) == 0 && (d>day[0][m - 1])){ cout << "день!!!\n"; goto m1; }
    else if ((y % 4) != 0 && (d>day[1][m - 1])){ cout << "день!!!\n"; goto m1; }
}
void Date::printdate()
{
    cout << '\t' << d << '-' << m << '-' << y << endl;
}
Date& operator-=(Date& obj, int kol)
{
    obj.d -= kol;
    obj.m -= kol;
    obj.y -= kol;
    return obj;
}
Date& operator+=(Date& obj, int kol)
{
    obj.d += kol;
    obj.m += kol;
    obj.y += kol;
    return obj;
}
bool operator<(Date& t1, Date &t2)
{
    if (t1.y < t2.y &&t1.m < t2.m&&t1.m < t2.m) return true;
}
ostream &operator <<(ostream & stream, Date & obj)
{
    stream << obj.d << "." << obj.m << "." << obj.y << endl;
    return stream;
}
istream &operator >> (istream & stream, Date & obj)
{
    stream >> obj.d;
    stream >> obj.m;
    stream >> obj.y;
    return stream;
}
 
/*--------------------------------------------------------------------------------------------------------------------------------*/
bool comp(Profile &t1, Profile &t2, Profile &t3, int n)
{
    if (t1.y < t2.y &&t1.m < t2.m&&t1.m < t2.m) return true;
    /*
    if (n == 1)
    {
    if (strcmp(a.name, b.name)>0) return 0;
    else return 1;
    }
    if (n == 2) return a.stat < b.stat;
    if (n == 3) return a.cerrer< b.cerrer;
    */
}
/*--------------------------------------------------------------------------------------------------------------------------------*/
 
void Profile::set()
{
    cin.ignore();
    cout << "Введiть iм'я:          "; cin.getline(name, 50);
    cout << "Введiть прізвище:      "; cin.getline(surname, 50);
    cout << "Введiть стать:         "; cin.getline(gender, 50);
    cout << "Введiть дату становлення в чергу >"; setdate();
}
void Profile::set(ifstream &f)
{
    char str[100] = "";
    char *delim = "\t";
    char *ptr;
 
    f.getline(name, 50);
    f.getline(surname, 50);
    f.getline(gender, 50);
    f.getline(str, 100, '\n');
 
    ptr = strtok(str, delim); if (ptr) strcpy(gender, ptr);
    ptr = strtok(NULL, delim); if (ptr) setD(atoi(ptr));
    ptr = strtok(NULL, delim); if (ptr) setM(atoi(ptr));
    ptr = strtok(NULL, delim); if (ptr) setY(atoi(ptr));
}
void Profile::print(ofstream &f)
{
    f << name << '\n' << surname << '\n' << gender << '\t' << getD() << '\t' << getM() << '\t' << getY() << '\n';
}
void Profile::print()
{
    printf(name);
    printf(surname);
    printf(gender);
    printdate();
}
 
                                                                                                    //Очередь
void Queue::Print()//
{
    //queue <osoba>::iterator it;
    int i = 0;
    cout << "# Iм'я Рiд занять Стать Дата\n";
    cout << "-------------------------------------------------------------------\n";
    //it=os.begin();
    int n = q.size();
    queue <Profile> t = q;
    while (!t.empty())
    {
        cout << ++i;
        t.front().print();
        t.pop();
    }
}
void Queue::Load()
{
    char sn[5] = "";
    int n = 0;
    Profile dd;
    ifstream fi("text.txt", ios::in);
    fi.getline(sn, 5);
    n = atoi(sn);
    for (int i = 0; i < n; i++)
    {
        dd.set(fi);
        q.push(dd);
    }
}
void Queue::Save()
{
    ofstream f("text.txt", ios::out); //ff.close();
    f << q.size() << '\n';
    queue<Profile> t = q;
    while (!t.empty())
    {
        t.front().print(f);
        t.pop();
    }
    f.close();
}
void Queue::Add()//vector <osoba> &os)
{
    Profile dd;
    dd.set();
    q.push(dd);
}
void Queue::Edit()//
{
    int i = 0, n;
    Print();
    cout << "Введите номер редактируемого элемента > ";
    cin >> n;
    if (n < 1 || n > q.size())
    {
        fprintf(stderr, "Элемент с номером %d не существует\n", n); return;
    }
    n--;
    queue<Profile> f, f2;
    Profile dd;
    while (i < n)
    {
        f.push(q.front());
        q.pop();
        i++;
        //f.back().print();
    }
    dd = q.front();
    q.pop();
    dd.set();
    while (!q.empty())
    {
        f2.push(q.front());
        q.pop();
    }
    while (!f.empty())
    {
        q.push(f.front());
        f.pop();
    }
    q.push(dd);
    while (!f2.empty())
    {
        q.push(f2.front());
        f2.pop();
    }
}
void Queue::Del()//vector <Profile> &os)
{
    int i = 0, n;
    Print();
    cout << "Введите номер удаляемого элемента > ";
    cin >> n;
    if (n < 1 || n > q.size())
    {
        fprintf(stderr, "Элемент с номером %d не существует\n", n); return;
    }
    n--;
    queue<Profile> f, f2;
    while (i < n)
    {
        f.push(q.front());
        q.pop();
        i++;
        //f.back().print();
    }
    q.pop();
    while (!q.empty())
    {
        f2.push(q.front());
        q.pop();
    }
    while (!f.empty())
    {
        q.push(f.front());
        f.pop();
    }
    while (!f2.empty())
    {
        q.push(f2.front());
        f2.pop();
    }
}
void Queue::Find()
{
    int i = 0, n;
    char str[50];
    Print();
    cout << "Введите Фамилию> ";
    cin >> str;
    queue<Profile> f = q;
    while (!f.empty())
    {
        if (strstr(f.front().getname(), str))
        {
            f.front().print(); i++;
        }
        f.pop();
        if (i == 0) cout << "Нет записей удолетворяющих условие!" << endl;
    }
}
/*int fun(Date d)
{
struct tm *t;
time_t ltime;
time(&ltime);
t = localtime(&ltime);
}*/
void Queue::sort()
{
    queue<Profile> f = q, f1;
    int n, i;
    struct tm *tim;
    time_t tt = time(NULL);
    tim = localtime(&tt);
    //printf("%d.%d.%d", tim->tm_mday, tim->tm_mon, tim->tm_year + 1900);
    int min = f.front().getY();
    while (f1.size() < q.size())
    {
        queue<Profile> f2, f3;
        n = 0;
        min = f.front().getY();
        for (i = 0; !f.empty(); i++)//поиск мин
        {
            if (f.front().getY() < min)
            {
                min = f.front().getY(); n = i;
            }
            f3.push(f.front());
            f.pop();
        }
        for (i = 0; i < n; i++)
        {
            f2.push(f3.front());
            f3.pop();
        }
        f1.push(f3.front());
        f3.pop();
        while (!f2.empty())
        {
            f3.push(f2.front());
            f2.pop();
        }
        f.swap(f3);
    }
    q.swap(f1);
}
0
3 / 3 / 0
Регистрация: 02.04.2016
Сообщений: 127
13.04.2017, 20:28  [ТС]
_stanislav, я сделал немного по другому и тоже перестало выдавать ошибку эту, по крайней мере в этом месте:
C++
1
2
3
4
5
6
{
    strcpy_s(name, "");
    strcpy_s(surname, "");
    strcpy_s(gender, "");
    d = m = y = 0;
}
0
"C with Classes"
2022 / 1404 / 523
Регистрация: 16.08.2014
Сообщений: 5,885
Записей в блоге: 1
13.04.2017, 20:29
DmitriyStroy, твой вариант безопаснее.
0
3 / 3 / 0
Регистрация: 02.04.2016
Сообщений: 127
13.04.2017, 20:41  [ТС]
_stanislav, у меня происходит зацикливание( что не так?
0
"C with Classes"
2022 / 1404 / 523
Регистрация: 16.08.2014
Сообщений: 5,885
Записей в блоге: 1
13.04.2017, 20:47
DmitriyStroy, где примерно?
0
3 / 3 / 0
Регистрация: 02.04.2016
Сообщений: 127
13.04.2017, 20:55  [ТС]
_stanislav, судя по всему здесь:

C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
int Menu(void)
{
    int c = 0;
    while ((c < '0' || c > '9') && c != 27)
    {
        cout << "\n------Меню------\n";
        cout << "----------------\n";
 
        cout << "[0] - Exit \n";
        cout << "[1] - Add \n";
        cout << "[2] - Save \n";
        cout << "[3] - Load \n";
        cout << "[4] - Print \n";
        cout << "[5] - Find \n";
        cout << "[6] - Del \n";
        cout << "[7] - Edit \n";
        cout << "[8] - Sort \n";
 
        cout << "----------------\n";
    }
    return c;
}
0
3 / 3 / 0
Регистрация: 02.04.2016
Сообщений: 127
13.04.2017, 21:02  [ТС]
_stanislav, такая вот фигня(
Миниатюры
Ошибка компиляции "This function or variable may be unsafe"  
0
"C with Classes"
2022 / 1404 / 523
Регистрация: 16.08.2014
Сообщений: 5,885
Записей в блоге: 1
13.04.2017, 21:05
DmitriyStroy, это у тебя по условию цикла, если меньше ноля или больше девяти и не ровно 27 повторять вывод
0
3 / 3 / 0
Регистрация: 02.04.2016
Сообщений: 127
13.04.2017, 21:10  [ТС]
_stanislav, по идеи все верно же, но я нечего не ввожу, оно при запуске начинает сразу зацикливаться
0
"C with Classes"
2022 / 1404 / 523
Регистрация: 16.08.2014
Сообщений: 5,885
Записей в блоге: 1
13.04.2017, 21:13
DmitriyStroy, у тебя в 419 строке обращение к не существующему элементу. в остальном у меня все нормально.
C++
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
#define _CRT_SECURE_NO_WARNINGS // добавил
 
 
#include<iostream>
#include<fstream>
#include<algorithm>
#include<string.h>
#include<locale>
#include<queue>
#include<stdio.h>
#include<string>
#include<conio.h>
#include <ctime>
#include <windows.h>
#include <math.h>
#include <iterator>
using namespace std;
                                                                                                //Класс дата
class Date{
protected:
    int d, m, y;
public:
    Date(){ d = m = y = 0; }
    Date(int D, int M, int Y) : d(D), m(M), y(Y) {};
    virtual void setD(int x){ d = x; }
    virtual void setM(int x){ m = x; }
    virtual void setY(int x){ y = x; }
 
    virtual int getD(){ return d; }
    virtual int getM(){ return m; }
    virtual int getY(){ return y; }
 
    friend Date& operator-=(Date& obj, int kol);
    friend bool operator<(Date&, Date&);
    friend Date& operator+=(Date& obj, int kol);
    friend ostream &operator <<(ostream & stream, Date & obj);
    friend istream &operator >> (istream & stream, Date & obj);
 
    int operator -(Date &dd);
    Date& operator=(Date& obj);
 
    virtual void setdate();
    virtual void printdate();
};
                                                                                                //класс профель
class Profile :public Date
{
    char name[15];
    char surname[15];
    char gender[15];
public:
    
    void set(ifstream &);
    Profile() :Date()
    {
        strcpy(name, "");
        strcpy(surname, "");
        strcpy(gender, "");
        d = m = y = 0;
    }
    char* getname(){ return name; }
    char* getsurname(){ return surname; }
    char* getgender(){ return gender; }
 
    void setname(char *x){ strcpy(name, x); }
    void setsurname(char *x){ strcpy(surname, x); }
    void setgender(char *x){ strcpy(gender, x); }
 
    void set();
    void print();
    void print(ofstream &);
 
    friend bool comp(Profile &a, Profile &b, Profile &c, int n);
};
                                                                                                //Класс очередь
class Queue
{
    queue<Profile> q;
public:
    void Print();
    void Add();
    void Save();
    void Load();
    void Find();
    void Del();
    void Edit();
    void sort();
};
 
int Menu(void)
{
    int c = 0;
    struct tm *t;
    time_t ltime;
    time(&ltime);
    t = localtime(&ltime);
    cout << '\n' << t->tm_mday << '/' << t->tm_mon + 1 << '/' << 1900 + t->tm_year << endl;
    while ((c < '0' || c > '9') && c != 27)
    {
        cout << "\n------Меню------\n";
        cout << "----------------\n";
 
        cout << "[0] - Exit \n";
        cout << "[1] - Add \n";
        cout << "[2] - Save \n";
        cout << "[3] - Load \n";
        cout << "[4] - Print \n";
        cout << "[5] - Find \n";
        cout << "[6] - Del \n";
        cout << "[7] - Edit \n";
        cout << "[8] - Sort \n";
 
        cout << "----------------\n";
 
        c = getchar();  // поправил вместо getch
        printf("%c\n", c);
    }
    return c;
}
int main()
{
    Queue os;
    system("cls");
    SetConsoleCP(1251);
    SetConsoleOutputCP(1251);
 
    int Selection;
    while ((Selection = Menu()) != '0' && Selection != 27)
        switch (Selection)
    {
        case '1': os.Add(); break;
        case '2': os.Save(); break;
        case '3': os.Load(); break;
        case '4': os.Print(); break;
        case '5': os.Find(); break;
        case '6': os.Del(); break;
        case '7': os.Edit(); break;
        case '8': os.sort(); break;
    }
 
    system("pause");
    return 0;
};
                                                                                                 //Дата
int Date::operator -(Date &dd)
{
    tm tm1 = { 0, 0, 0, d, m + 1, y - 1900, 0 };
    tm tm2 = { 0, 0, 0, dd.d, dd.m + 1, dd.y - 1900, 0 };
    return difftime(mktime(&tm1), mktime(&tm2)) / (24 * 60 * 60);
};
Date& Date::operator=(Date& obj)
{
    d = obj.d;
    m = obj.m;
    y = obj.y;
    return *this;
}
void Date::setdate()
{
    int day[2][12] = { { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },
    { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } };
    struct tm *t;
    time_t ltime;
    time(&ltime);
    t = localtime(&ltime);
m1:
    cout << "'d m yyyy'\n";
    cin >> d >> m >> y;
    if (m>12) { cout << "мiсяць!!!\n"; goto m1; }
    //if (y<1900 + t->tm_year) { cout << "рiк!!!\n"; goto m1; }
    if ((y % 4) == 0 && (d>day[0][m - 1])){ cout << "день!!!\n"; goto m1; }
    else if ((y % 4) != 0 && (d>day[1][m - 1])){ cout << "день!!!\n"; goto m1; }
}
void Date::printdate()
{
    cout << '\t' << d << '-' << m << '-' << y << endl;
}
Date& operator-=(Date& obj, int kol)
{
    obj.d -= kol;
    obj.m -= kol;
    obj.y -= kol;
    return obj;
}
Date& operator+=(Date& obj, int kol)
{
    obj.d += kol;
    obj.m += kol;
    obj.y += kol;
    return obj;
}
bool operator<(Date& t1, Date &t2)
{
    if (t1.y < t2.y &&t1.m < t2.m&&t1.m < t2.m) return true;
}
ostream &operator <<(ostream & stream, Date & obj)
{
    stream << obj.d << "." << obj.m << "." << obj.y << endl;
    return stream;
}
istream &operator >> (istream & stream, Date & obj)
{
    stream >> obj.d;
    stream >> obj.m;
    stream >> obj.y;
    return stream;
}
 
/*--------------------------------------------------------------------------------------------------------------------------------*/
bool comp(Profile &t1, Profile &t2, Profile &t3, int n)
{
    if (t1.y < t2.y &&t1.m < t2.m&&t1.m < t2.m) return true;
    /*
    if (n == 1)
    {
    if (strcmp(a.name, b.name)>0) return 0;
    else return 1;
    }
    if (n == 2) return a.stat < b.stat;
    if (n == 3) return a.cerrer< b.cerrer;
    */
}
/*--------------------------------------------------------------------------------------------------------------------------------*/
 
void Profile::set()
{
    cin.ignore();
    cout << "Введiть iм'я:          "; cin.getline(name, 50);
    cout << "Введiть прізвище:      "; cin.getline(surname, 50);
    cout << "Введiть стать:         "; cin.getline(gender, 50);
    cout << "Введiть дату становлення в чергу >"; setdate();
}
void Profile::set(ifstream &f)
{
    char str[100] = "";
    char *delim = "\t";
    char *ptr;
 
    f.getline(name, 50);
    f.getline(surname, 50);
    f.getline(gender, 50);
    f.getline(str, 100, '\n');
 
    ptr = strtok(str, delim); if (ptr) strcpy(gender, ptr);
    ptr = strtok(NULL, delim); if (ptr) setD(atoi(ptr));
    ptr = strtok(NULL, delim); if (ptr) setM(atoi(ptr));
    ptr = strtok(NULL, delim); if (ptr) setY(atoi(ptr));
}
void Profile::print(ofstream &f)
{
    f << name << '\n' << surname << '\n' << gender << '\t' << getD() << '\t' << getM() << '\t' << getY() << '\n';
}
void Profile::print()
{
    printf(name);
    printf(surname);
    printf(gender);
    printdate();
}
 
                                                                                                    //Очередь
void Queue::Print()//
{
    //queue <osoba>::iterator it;
    int i = 0;
    cout << "# Iм'я Рiд занять Стать Дата\n";
    cout << "-------------------------------------------------------------------\n";
    //it=os.begin();
    int n = q.size();
    queue <Profile> t = q;
    while (!t.empty())
    {
        cout << ++i;
        t.front().print();
        t.pop();
    }
}
void Queue::Load()
{
    char sn[5] = "";
    int n = 0;
    Profile dd;
    ifstream fi("text.txt", ios::in);
    fi.getline(sn, 5);
    n = atoi(sn);
    for (int i = 0; i < n; i++)
    {
        dd.set(fi);
        q.push(dd);
    }
}
void Queue::Save()
{
    ofstream f("text.txt", ios::out); //ff.close();
    f << q.size() << '\n';
    queue<Profile> t = q;
    while (!t.empty())
    {
        t.front().print(f);
        t.pop();
    }
    f.close();
}
void Queue::Add()//vector <osoba> &os)
{
    Profile dd;
    dd.set();
    q.push(dd);
}
void Queue::Edit()//
{
    int i = 0, n;
    Print();
    cout << "Введите номер редактируемого элемента > ";
    cin >> n;
    if (n < 1 || n > q.size())
    {
        fprintf(stderr, "Элемент с номером %d не существует\n", n); return;
    }
    n--;
    queue<Profile> f, f2;
    Profile dd;
    while (i < n)
    {
        f.push(q.front());
        q.pop();
        i++;
        //f.back().print();
    }
    dd = q.front();
    q.pop();
    dd.set();
    while (!q.empty())
    {
        f2.push(q.front());
        q.pop();
    }
    while (!f.empty())
    {
        q.push(f.front());
        f.pop();
    }
    q.push(dd);
    while (!f2.empty())
    {
        q.push(f2.front());
        f2.pop();
    }
}
void Queue::Del()//vector <Profile> &os)
{
    int i = 0, n;
    Print();
    cout << "Введите номер удаляемого элемента > ";
    cin >> n;
    if (n < 1 || n > q.size())
    {
        fprintf(stderr, "Элемент с номером %d не существует\n", n); return;
    }
    n--;
    queue<Profile> f, f2;
    while (i < n)
    {
        f.push(q.front());
        q.pop();
        i++;
        //f.back().print();
    }
    q.pop();
    while (!q.empty())
    {
        f2.push(q.front());
        q.pop();
    }
    while (!f.empty())
    {
        q.push(f.front());
        f.pop();
    }
    while (!f2.empty())
    {
        q.push(f2.front());
        f2.pop();
    }
}
void Queue::Find()
{
    int i = 0, n;
    char str[50];
    Print();
    cout << "Введите Фамилию> ";
    cin >> str;
    queue<Profile> f = q;
    while (!f.empty())
    {
        if (strstr(f.front().getname(), str))
        {
            f.front().print(); i++;
        }
        f.pop();
        if (i == 0) cout << "Нет записей удолетворяющих условие!" << endl;
    }
}
/*int fun(Date d)
{
struct tm *t;
time_t ltime;
time(&ltime);
t = localtime(&ltime);
}*/
void Queue::sort()
{
    queue<Profile> f = q, f1;
    int n, i;
    struct tm *tim;
    time_t tt = time(NULL);
    tim = localtime(&tt);
    //printf("%d.%d.%d", tim->tm_mday, tim->tm_mon, tim->tm_year + 1900);
    int min = f.front().getY();
    while (f1.size() < q.size())
    {
        queue<Profile> f2, f3;
        n = 0;
        min = f.front().getY();
        for (i = 0; !f.empty(); i++)//поиск мин
        {
            if (f.front().getY() < min)
            {
                min = f.front().getY(); n = i;
            }
            f3.push(f.front());
            f.pop();
        }
        for (i = 0; i < n; i++)
        {
            f2.push(f3.front());
            f3.pop();
        }
        f1.push(f3.front());
        f3.pop();
        while (!f2.empty())
        {
            f3.push(f2.front());
            f2.pop();
        }
        f.swap(f3);
    }
    q.swap(f1);
}
0
Модератор
Эксперт С++
 Аватар для zss
13781 / 10974 / 6491
Регистрация: 18.12.2011
Сообщений: 29,259
13.04.2017, 21:58
Цитата Сообщение от DmitriyStroy Посмотреть сообщение
strcpy_s(name, "");
Это ДРУГАЯ функция и Вы обязаны смотреть ее синтаксис
C++
1
strcpy_s(name, 15,"");
Хотя, для того, чтобы задать нулевую строку достаточно
C++
1
name[0]=0;
И еще
This function or variable may be unsafe
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
inter-admin
Эксперт
29715 / 6470 / 2152
Регистрация: 06.03.2009
Сообщений: 28,500
Блог
13.04.2017, 21:58
Помогаю со студенческими работами здесь

Ошибка C4996 'strtok': This function or variable may be unsafe. Consider using strtok_s instead
При запуске программы выдаёт ошибку: Ошибка C4996 'strtok': This function or variable may be unsafe. Consider using strtok_s instead....

Ошибка 1 error C4996: 'scanf': This function or variable may be unsafe
Здравствуйте , подскажите пожалуйста с задачками) есть 2 задачки по массивам с ошибкой не могу понять в чем дело !) 1. #include...

Ошибка error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead
#include &lt;iostream&gt; #include &lt;cstring&gt; #include &lt;fstream&gt; #include&lt;string&gt; #include&lt;iomanip&gt; using namespace std; struct...

Ошибка при работе с файлами: C4996: 'fopen': This function or variable may be unsafe
Помогите пожалуйста. писал программу, по данному заданию. вроде как все написал, но с файлами получился косяк. не могу разобраться в чем...

Ошибка C4996 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, u
Здравствуйте! В процессе написания программы возникла данная ошибка. Вот код программы:#include &lt;stdio.h&gt; /* секунды в минуты...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
12
Ответ Создать тему
Новые блоги и статьи
Валидация и контроль данных табличной части документа перед записью
Maks 22.04.2026
Алгоритм из решения ниже реализован на примере нетипового документа, разработанного в КА2. Задача: контроль и валидация данных табличной части документа перед записью с учетом регламента компании. . .
Отчёт о затраченных материалах за определенный период с макетом печатной формы
Maks 21.04.2026
Отчёт из решения ниже размещён в конфигурации КА2. Задача: разработка отчёта по затраченным материалам за определённый период, с возможностью вывода печатной формы отчёта с шапкой и подвалом. В. . .
Отчёт о спецтехнике находящейся в ремонте
Maks 20.04.2026
Отчёт из решения ниже размещен в конфигурации КА2. Задача: отобразить спецтехнику, которая на данный момент находится в ремонте. Есть нетиповой документ "Заявка на ремонт спецтехники" который. . .
Памятка для бота и "визитка" для читателей "Semantic Universe Layer (Слой семантической вселенной)"
Hrethgir 19.04.2026
Сгенерировано для краткого описания по случаю сборки и компиляции скелета серверного приложения. И пусть после этого скажут, что статьи сгенерированные AI - туфта и не интересно. И это не реклама -. . .
Запрет удаления строк ТЧ документа при определённом условии
Maks 19.04.2026
Алгоритм из решения ниже реализован на примере нетипового документа "Аккумуляторы", разработанного в конфигурации КА2. У данного документа есть ТЧ, в которой в зависимости от прав доступа. . .
Модель заражения группы наркоманов
alhaos 17.04.2026
Условия задачи сформулированы тут Суть: - Группа наркоманов из 10 человек. - Только один инфицирован ВИЧ. - Колются одной иглой. - Колются раз в день. - Колются последовательно через. . .
Мысли в слух. Про "навсегда".
kumehtar 16.04.2026
Подумалось тут, что наверное очень глупо использовать во всяких своих установках понятие "навсегда". Это очень сильное понятие, и я только начинаю понимать край его смысла, не смотря на то что давно. . .
My Business CRM
MaGz GoLd 16.04.2026
Всем привет, недавно возникла потребность создать CRM, для личных нужд. Собственно программа предоставляет из себя базу данных клиентов, в которой можно фиксировать звонки, стадии сделки, а также. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru