Форум программистов, компьютерный форум, киберфорум
С++ для начинающих
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск  
 
 
Рейтинг 4.72/18: Рейтинг темы: голосов - 18, средняя оценка - 4.72
KeM6Pug}I{a
49 / 49 / 1
Регистрация: 23.08.2013
Сообщений: 202

Эксперты обобщенного программирования

25.08.2013, 21:37. Показов 4690. Ответов 40
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Прошу подсказать в чем тут ошибка ?
Вот часть когда куда указывают ошибки:
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
template < class ArrayList<T>> class Iterator
{
public:
    Itrator(ArrayList<T>&);
    bool hasNext();
    T &operator++();
    T &operator--();
    T &operator()(int);
    T &remove();
 
private:
    int seek;
    ArrayList<T> *obj;
}; 
 
template < class <ArrayList<T>> Iterator<ArrayList<T>> :: Iterator(ArrayList<T>& obj)
{
    this -> obj = &obj;
}
 
template < class <ArrayList<T>> bool Iterator< ArrayList<T>> :: hasNext()
{
    return seek < obj -> size();
}
 
template < class <ArrayList<T>> T &Iterator< ArrayList<T>>  :: operator++()
{
    return obj -> get(seek++);
}
 
template < class <ArrayList<T>> T &Iterator< ArrayList<T>> :: operator--()
{
    return obj -> get(--seek);
}
 
template < class <ArrayList<T>> T &Iterator <ArrayList<T>> :: operator()(int index)
{
    return obj -> get(index);
}
 
template < class <ArrayList<T>> T &Iterator <ArrayList<T>> :: remove()
{
    return obj -> remove(seek);
}
Ошибки:

Ошибка 38 error C2039: --: не является членом "`global namespace'" d:\vc c++ temp\arraylist\arraylist\arraylist.h 251 1 ArrayList

Ошибка 48 error C2039: (): не является членом "`global namespace'" d:\vc c++ temp\arraylist\arraylist\arraylist.h 256 1 ArrayList

Ошибка 34 error C2039: ++: не является членом "`global namespace'" d:\vc c++ temp\arraylist\arraylist\arraylist.h 246 1 ArrayList

Ошибка 24 error C2039: hasNext: не является членом "`global namespace'" d:\vc c++ temp\arraylist\arraylist\arraylist.h 241 1 ArrayList


Вот полный код программы :

(Проблема в самом конце)

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
#ifndef ArrayList_H
#define ArrayList_H
 
#include <stdexcept>
using std::runtime_error;
 
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
using std::ostream;
 
 
struct IllegalModificationException : public runtime_error
{
public:
    IllegalModificationException() : runtime_error( "IllegalModificationException" ) {}
    IllegalModificationException(char * ch) : runtime_error( ch ) {}
};
 
 
template<class T> class ArrayList 
{
 
friend class Iterator < ArrayList<T>>;
friend ostream &operator<<(ostream &,ArrayList &);
 
public:
    explicit ArrayList(int = 10);
    virtual ~ArrayList();
    void add(T&);
    int size();
    T &get(int);
    T &get(int) const;
    bool contains(const T&);
    T &remove(int);
    Iterator < ArrayList<T>> &iterator();
    typedef Iterator< ArrayList <T>> *ListIterator;
 
 
private:
    int lenght;
    T ** mas;
    void setSize(int);
    void initMas();
    int seek;
    float shift;
    void removeHelper(T **temp,int index,int count,int count2);
};
 
template< class T > ArrayList < T > :: ArrayList(int d)
{
    setSize(d);
    shift = 2.0;
    seek = 0;
}
 
template< class T > ArrayList < T > :: ~ArrayList()
{
    delete [] mas;
}
 
template< class T > void ArrayList < T > :: initMas()
{
    mas = new T*[lenght];
}
 
template< class T > void ArrayList < T > :: setSize(int size)
{
    if(size > 0)
     lenght = size;
    else
       lenght = 10;
 
    initMas();
}
 
template< class T > int ArrayList < T > :: size()
{
    return seek;
}
 
template< class T> void ArrayList < T > :: add(T &obj)
{
 
    if(lenght == seek)
    {
        T ** temp = mas;
 
        lenght*= shift;
 
        mas = new T*[lenght];
 
        for(int i = 0; i < seek; i++)
        {
            mas[i] = temp[i];
        }
 
        delete [] temp;
 
    }
    mas[seek++] = &obj;
}
 
 
template < class T > T &ArrayList < T > :: get(int index) throw (IllegalModificationException)
{
    if(!(index > seek || index < 0))
    {
        return *mas[index];
    }
    else
    {
        throw IllegalModificationException("Illegal invoke");
    }
}
 
template < class T> T &ArrayList < T > :: get(int index) const throw (IllegalModificationException) 
{
    if(!(index > seek || index < 0))
    {
        return mas[index];
    }
    else
    {
        throw IllegalModificationException("Illegal invoke");
    }
}
 
template < class T > bool ArrayList < T > :: contains(const T &obj)
{
    for(int i = 0; i < seek; i++)
    {
        if(mas[i] == obj)
        {
            return true;
        }
    }
 
    return false;
}
 
template < class T > T &ArrayList < T > :: remove(int index) throw (IllegalModificationException)
{
    if(index > seek || index < 0)
    {
        throw IllegalModificationException();
    }
    else
    {
      T *tmp;
      T **temp = new T*[size()-1];
      for(int i = 0,j = 0; i < size()-1;)
      {
          if(j != index)
          {
              temp[i++] = mas[j++];
          }
          else
          {
              tmp = mas[j++];
              j++;
          }
      }
 
      for(int i = 0; i < size()-1;i++)
      {
          mas[i] = temp[i];
      }
 
      seek--; 
 
      delete [] temp;
 
      return tmp;  
    }
}
 
template < class T > void ArrayList < T > :: removeHelper(T **temp,int index,int count,int count2)
{
 
    if(count < (size()-1))
    {
        if(count2 != index)
        {
            temp[count] = mas[count2]; 
            cout << "temp[count++] = mas[count2++]; == " << count << " :: " << count2 << endl;
            count++;
            count2++;
        }
        else
        {
            count2++;
        }
        removeHelper(temp,index,count,count2);
 
    }
}
 
template < class T > ostream &operator<<(ostream &out,ArrayList<T> &d)
{
    for(int i = 0; i < d.size(); i++)
    {
        out << "["<< i << "]" << " :: " << *d.mas[i] << " ";
        if((i + 1) % 5 == 0)
        {
            out << endl;
        }
    }
 
    return out;
}
 
template < class T > Iterator<ArrayList<T>> &ArrayList < T > :: iterator()
{
    return new Iterator<ArrayList<T>>(this);
}
 
 
template < class ArrayList<T>> class Iterator
{
public:
    Itrator(ArrayList<T>&);
    bool hasNext();
    T &operator++();
    T &operator--();
    T &operator()(int);
    T &remove();
 
private:
    int seek;
    ArrayList<T> *obj;
}; 
 
template < class <ArrayList<T>> Iterator<ArrayList<T>> :: Iterator(ArrayList<T>& obj)
{
    this -> obj = &obj;
}
 
template < class <ArrayList<T>> bool Iterator< ArrayList<T>> :: hasNext()
{
    return seek < obj -> size();
}
 
template < class <ArrayList<T>> T &Iterator< ArrayList<T>>  :: operator++()
{
    return obj -> get(seek++);
}
 
template < class <ArrayList<T>> T &Iterator< ArrayList<T>> :: operator--()
{
    return obj -> get(--seek);
}
 
template < class <ArrayList<T>> T &Iterator <ArrayList<T>> :: operator()(int index)
{
    return obj -> get(index);
}
 
template < class <ArrayList<T>> T &Iterator <ArrayList<T>> :: remove()
{
    return obj -> remove(seek);
}
 
#endif
Добавлено через 6 минут
ПЫСЫ Класс ArrayList отлажен, нужно отладить только класс Itreator ... Вроде правильно я реализовал шаблон Iterator??
0
Programming
Эксперт
39485 / 9562 / 3019
Регистрация: 12.04.2006
Сообщений: 41,671
Блог
25.08.2013, 21:37
Ответы с готовыми решениями:

По ходу вирусняк. Эксперты помогайте!
По ходу поймал вирус. В общем, сам виноват, подозрения на скачиваемый файл были, и убедительные... (архив распаковывал) Позже провел...

Эксперты Pascal 'я, что не так?
Необходимо получить сумму из введенных чисел в файле, но программа даже не запускается. program number_5; var c, sum: integer; ...

Эксперты, просьба оценить сборку
День добрый, друзья. Решил я собрать системник, хочу обратиться за помощью, присмотрел уже пару вещей, постараюсь подробно изложить и жду...

40
KeM6Pug}I{a
49 / 49 / 1
Регистрация: 23.08.2013
Сообщений: 202
28.08.2013, 03:28  [ТС]
Студворк — интернет-сервис помощи студентам
Цитата Сообщение от lemegeton Посмотреть сообщение
Итераторы в С++ реализуются совершенно по-другому, нежели класс Iterator в Java. Так исторически сложилось.

Т.е. итератор это абстрактный объект, для которого переопределены некоторые операторы. Не обязательно даже отдельный класс.
В примитиве, для ArrayList'ов это может быть банальным указателем, т.к. в С++ есть арифметика для указателей.

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
#include <stdexcept>
#include <iostream>
 
template <class T>
class ArrayList {
 public:
  typedef T* Iterator;
  typedef T const *ConstIterator;
  ArrayList() : capacity(10), size(0), data(new T[capacity]) {}
  virtual ~ArrayList() {
    delete [] data;
  }
  void add(const T &value) {
    if (size < capacity) {
      data[size++] = value;
    } else {
      throw std::overflow_error("");
    }
  }
  Iterator begin() {
    return data;
  }
  Iterator end() {
    return data + size;
  }
  ConstIterator begin() const {
    return data;
  }
  ConstIterator end() const {
    return data + size;
  }
 private:
  int capacity;
  int size;
  T *data;
};
 
int main(int, char**) {
  ArrayList<int> arrayList;
 
  arrayList.add(1);
  arrayList.add(3);
  arrayList.add(2);
  
  for (ArrayList<int>::ConstIterator i = arrayList.begin();
    i != arrayList.end(); ++i) {
    std::cout << *i << std::endl;
  }
}
Вот такая гибкость языка.
И это очень хорошо ) Но я писал это просто что бы как-то вникнуть в шаблоны в с++ (хоть не много). Поэтому хотелось что-нибудь посложнее чем итератор в стиле c++.

Добавлено через 5 минут
Кстати кто решает задачки по Дейтлу то там есть задание создать свой контейнер на основе массивов. Ну я решил
сделать Список на основе динамически расширяющегося массива.
Вот полный код (добавил всякой ерунды):

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
#ifndef ArrayList_H
#define ArrayList_H
 
#include <stdexcept>
using std::runtime_error;
 
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
using std::ostream;
 
 
struct IllegalModificationException : public runtime_error
{
public:
    IllegalModificationException() : runtime_error( "IllegalModificationException" ) {}
    IllegalModificationException(char * ch) : runtime_error( ch ) {}
};
 
 
template <typename T> class IteratorR;
 
template<class T> class ArrayList 
{
 
friend class IteratorR<T>;
friend ostream &operator<<(ostream &,ArrayList &);
 
public:
    explicit ArrayList(int = 10);
    virtual ~ArrayList();
    void add(T&);
    int size();
    T &get(int);
    T &get(int) const;
    bool contains(const T&);
    T &remove(int);
    IteratorR<T> *iterator();
    typedef IteratorR<T> *ListIterator;
    void clear();
    void clearAndDeleteAll();
    void DeleteAll();
 
 
private:
    int lenght;
    T ** mas;
    void setSize(int);
    void initMas();
    int seek;
    float shift;
    void removeHelper(T **temp,int index,int count,int count2);
};
 
template< class T > ArrayList < T > :: ArrayList(int d)
{
    setSize(d);
    shift = 2.0;
    seek = 0;
}
 
template< class T > ArrayList < T > :: ~ArrayList()
{
    delete [] mas;
}
 
template< class T > void ArrayList < T > :: initMas()
{
    mas = new T*[lenght];
}
 
template< class T > void ArrayList < T > :: setSize(int size)
{
    if(size > 0)
     lenght = size;
    else
       lenght = 10;
 
    initMas();
}
 
template< class T > int ArrayList < T > :: size()
{
    return seek;
}
 
template< class T> void ArrayList < T > :: add(T &obj)
{
 
    if(lenght == seek)
    {
        T ** temp = mas;
 
        lenght*= shift;
 
        mas = new T*[lenght];
 
        for(int i = 0; i < seek; i++)
        {
            mas[i] = temp[i];
        }
 
        delete [] temp;
 
    }
    mas[seek++] = &obj;
}
 
 
template < class T > T &ArrayList < T > :: get(int index) throw (IllegalModificationException)
{
    if(!(index > seek || index < 0))
    {
        return *mas[index];
    }
    else
    {
        throw IllegalModificationException("Illegal invoke");
    }
}
 
template < class T> T &ArrayList < T > :: get(int index) const throw (IllegalModificationException) 
{
    if(!(index > seek || index < 0))
    {
        return mas[index];
    }
    else
    {
        throw IllegalModificationException("Illegal invoke");
    }
}
 
template < class T > bool ArrayList < T > :: contains(const T &obj)
{
    for(int i = 0; i < seek; i++)
    {
        if(mas[i] == obj)
        {
            return true;
        }
    }
 
    return false;
}
 
template < class T > T &ArrayList < T > :: remove(int index) throw (IllegalModificationException)
{
    if(index > seek || index < 0)
    {
        throw IllegalModificationException();
    }
    else
    {
      T *tmp;
      T **temp = new T*[size()-1];
      for(int i = 0,j = 0; i < size()-1;)
      {
          if(j != index)
          {
              temp[i++] = mas[j++];
          }
          else
          {
              tmp = mas[j++];
              j++;
          }
      }
 
      for(int i = 0; i < size()-1;i++)
      {
          mas[i] = temp[i];
      }
 
      seek--; 
 
      delete [] temp;
 
      return tmp;  
    }
}
 
//Работает не корректно!
/*
template < class T > void ArrayList < T > :: removeHelper(T **temp,int index,int count,int count2)
{
 
    if(count < (size()-1))
    {
        if(count2 != index)
        {
            temp[count] = mas[count2]; 
            count++;
            count2++;
        }
        else
        {
            count2++;
        }
        removeHelper(temp,index,count,count2);
 
    }
}
*/
 
template < class T > ostream &operator<<(ostream &out,ArrayList<T> &d)
{
    for(int i = 0; i < d.size(); i++)
    {
        out << "["<< i << "]" << " :: " << *d.mas[i] << " ";
        if((i + 1) % 5 == 0)
        {
            out << endl;
        }
    }
 
    return out;
}
 
template < class T > IteratorR<T> *ArrayList < T > :: iterator()
{
    return new IteratorR<T>(this);
}
 
template < class T > void ArrayList < T > :: clear()
{
    seek = 0;
    lenght = 10;
 
    T **temp = mas;
    mas = new T*[lenght];
 
    delete [] temp;
}
 
template < class T > void ArrayList < T > :: clearAndDeleteAll()
{
    for(int i = 0; i < size(); i++)
    {
        delete mas[i];
    }
 
    clear();
}
 
template < class T > void ArrayList < T > :: DeleteAll()
{
    for(int i = 0; i < size(); i++)
    {
        delete mas[i];
    }
}
 
 
template < class T> class IteratorR
{
public:
    IteratorR(ArrayList<T> *);
    bool hasNext();
    T &operator++();
    T &operator++(int);
    T &operator--();
    T &operator--(int);
    T &operator()(int);
    T &remove();
    void clearSeek();
 
private:
    int seek;
    ArrayList<T> *obj;
}; 
 
template < class T> IteratorR<T> :: IteratorR(ArrayList<T>* obj)
{
    this -> obj = obj;
    seek = 0;
}
 
template < class T> bool IteratorR<T> :: hasNext()
{
    return seek < obj -> size();
}
 
template < class T> T &IteratorR<T>  :: operator++()
{
    return obj -> get(seek++);
}
 
template < class T> T &IteratorR<T> :: operator--()
{
    return obj -> get(--seek);
}
 
template < class T> T &IteratorR <T> :: operator()(int index)
{
    return obj -> get(index);
}
 
template < class T> T &IteratorR <T> :: remove()
{
    return obj -> remove(seek);
}
 
template < class T > T &IteratorR <T> :: operator++(int unused)
{
    T &temp = obj -> get(seek++);
    return temp;
}
 
template < class T > T &IteratorR <T> :: operator--(int unused)
{
    T &temp = obj -> get(seek--);
    return temp;
}
 
 
template < class T > void IteratorR <T> :: clearSeek()
{
    seek = 0;
}
 
#endif

TestDrive:
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
#include <iostream>
#include "ArrayList.h"
 
 
 
using namespace std;
 
 
 
 
int main()
{
    
    /*
    const int size = 20;
    ArrayList <int> list;
 
    cout << "start init list!" << endl;
    for(int i = 0; i < size; i++)
    {
        list.add(*new int(i));
    }
    cout << list << endl;
 
 
    cout << "SIZE == " << list.size() << endl;
 
    cout << "list.remove(0);!" << endl;
    list.remove(3);
 
    cout << list << endl;
 
 
    cout << "list.get!!!!" << endl;
    for(int i = 0; i < list.size(); i++)
    {
        cout << list.get(i) << endl;
    }
 
        cout << "list.remove!!!!" << endl;
    for(int i = 0; i < list.size(); i++)
    {
        delete &list.get(i);
    }
 
    */
 
    
    
    ArrayList<int> list1;
    ArrayList<int>:: ListIterator iter = list1.iterator();
 
    for(int i = 0; i < 5; i++)
    {
        list1.add(*new int(i));
    }
 
    while(iter -> hasNext())
    {
        cout << ++(*iter) << endl;
    }
 
    iter -> clearSeek();
 
    list1.clearAndDeleteAll();
 
    
    delete iter;
 
    
 
 
 
 
    
    system("pause");
    return 0;
}
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
inter-admin
Эксперт
29715 / 6470 / 2152
Регистрация: 06.03.2009
Сообщений: 28,500
Блог
28.08.2013, 03:28

Нужны эксперты в проверке кода
Вот нашкрябал код, но хотелось бы узнать у знающих и разбирающихся в этом людей: код можно уменьшить или так сойдёт? Все ADODB.Recordset...

Эксперты, где ошибка в TCP - пакете?
Добрый день всем. В поисках ответа забрел на Ваш форум. Кто сможет, подскажите пожалуйста куда копать. Пишу стек протоколов для...

Access 2000, Запрос, Помогите ув. Эксперты!!!
У меня есть 2 таблицы: 1)тбл_Заказчик_Инфо, содержит2 поля: -Заказчик_ИД -Заказчик_имя 2)тбл_родственники_инфо, содержит: ...

Синий экран смерти Приглашаются эксперты
Добрый день! Помогите пожалуйста. Стал выключаться комп. Да, старенький, Windows XP SP3/ Иногда просто гаснет монитор, а сам комп...

Эксперты сишки, для вас интересная задачка
Хэй хэй трусишники помогите студенту остаться со стипухой, а вам взамен предлагаю интересно потратить время или сотен на пив4ански, в общем...


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

Или воспользуйтесь поиском по форуму:
41
Ответ Создать тему
Новые блоги и статьи
Транслитерация текста с кириллицы на латиницу (вариант №5)
Maks 17.11.2026
Дабы оставить позади все споры о том, какая буква каким образом должна транслитерироваться на латиницу - решил таки доработать данное решение и довести его до мало-мальски логического завершения. . . .
Просмотровщик HLP и конвертер в CHM
Argus19 16.11.2026
Просмотровщик HLP и конвертер в CHM Давно хотел переделать справку Microsoft® Win32® Programmer's Reference, чтобы иметь её под рукой. Но использовать несколько программ не удобно. Искал другие. . .
BitTorrent (версия 7.11 English) и Меню Настройки
russiannick 15.11.2026
Пункты, отвечающие за отключение обновлений в BitTorrent версии 7. 11 (английской) Options Preferences General Language
Транслитерация текста с кириллицы на латиницу (вариант №4)
Maks 15.11.2026
Что-то я перемудрил с предыдущими версиями, в этот раз сделал всё проще, обратившись к функции "СтрокаЛатиницей" из типового общего модуля "СтроковыеФункцииКлиент". В данной функции нет апострофов,. . .
BitTorrent (версия 4.3.9) и Меню Настройки
russiannick 15.11.2026
В меню Настройки можно отключить автоматическое обновление программы. Карта этого меню приложена ниже. Нужный пункт выделен красным. Сервис Настройки Поведение
Транслитерация текста с кириллицы на латиницу (вариант №3)
Maks 15.11.2026
Обновленная версия предыдущей обработки. Изменения коснулись букв: Ъ, Ы, Ь, Э, отображения которых зависят от положения реквизита "Транслитерация имён". Изменено отображение буквы Й. Добавлена. . .
Транслитерация текста с кириллицы на латиницу (вариант №2)
Maks 13.11.2026
Обновленная версия ранее созданной обработки. Добавлено: - Проверка исходного текста на кириллицу, через обращение к стандартной функции "ТолькоКириллицаВСтроке" из общего модуля. . .
Часы с термометром и праздничным календарем
yariko 12.11.2026
Сегодня мы рассмотрим как можно сделать отличные многофункциональные часы. Итак, поставим конкретную задачу: разработать часы с календарем, двумя термодатчиками, выводом поздравительных сообщений. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru