48 / 4 / 0
Регистрация: 09.10.2012
Сообщений: 66
1

Классы и деревья

22.06.2013, 02:24. Показов 606. Ответов 6
Метки нет (Все метки)

Author24 — интернет-сервис помощи студентам
1.Проблема с удалением элемента из дерева.
(Когда удаляю элемент и вывожу дерево на экран программа зацикливается.)
2. При поиске , если вводить слово которого нет в дереве, некорректно работает.
Помогите очень срочно! Могу заплатить!

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
#include "stdafx.h"
#include "iostream"
#include <fstream>
#include <string>
using namespace std;
 
 
template <class Date>     //Шаблон класса для универсального типа хранимых данных
class Tree {
    struct node{
        string key;
        Date info;
        node *parent,*left,*right;
    };
 
private: 
    node *root;
    void printTree( node *root, int level=0 ){      
        if (root != 0){
            printTree( root->right, level + 1 );
            for ( int i = 0; i < level; i++ ) cout << "\t";
            cout << root->key <<endl;
            printTree( root->left, level + 1 );
        }
    };
    node * Leftmost( node *root ) {
        if (root == NULL)
            return NULL;
        if (root->left != NULL) {
            return Leftmost(root->left);
        }
        return root;
    };
    node * Rightmost( node *root ) {
        if (root == NULL)
            return NULL;
        if (root->right != NULL) {
            return Rightmost(root->right);
        }
        return root;
    };
 
 
public:
    //Обнуление указателя на корень
 
    Tree() {            
        this->root=0;
    };
 
    //Cоздание первого элемента
 
    void first( string Keyword, Date information ){     
        node *pf=new node;
        pf->key=Keyword;
        pf->info=information;
        pf->left=pf->right=pf->parent = 0;
        this->root=pf;
    };
 
    //Обход дерева
    void showTree(){         
        printTree( this->root, 0 );
    };
 
    //Добавление элемента(поиск места)
    node *addElement(string Key, Date information){
        node *pv = this->root,*prev;
        bool found = false;
        while ( pv && !found )
        {
            prev = pv;
            if ( pv->key == Key ) 
                found = true;
            else if ( pv->key > Key )
                pv = pv->left;
            else pv = pv->right;
        }
        if (found) {
            cout <<"Такой элемент уже существует"<<endl;
            return pv;
        }
 
        // Создание нового узла, если элемент не найден:
        node *pnew = new node;
        pnew->key=Key;
        pnew->info=information;
        pnew->left = 0;
        pnew->right = 0;
        pnew->parent = prev;
 
        if ( prev->key > Key )
            prev->left  = pnew;
        else
            prev->right = pnew;
 
        return pnew;
    };
 
    //Поиск
    node *search( string Key ){  
        node *pv = this->root;
        bool found = false;
        while ( pv && !found )
        {
            if ( pv->key == Key ) 
                found = true;
            else if ( pv->key > Key )
                pv = pv->left;
            else 
                pv  = pv->right;
        }
        if ( found )
            return pv;
        else return 0;
    };
 
    //Удаление корня
 
    void removeRoot(){
        node *r =this->root;
        if ( ( r->right == 0 ) && ( r->left == 0 ) )
        {   this->root = 0;
        delete (r);
        }
        else {
            this->root=Rightmost(r->left);
            this->root->parent=0;
 
            delete r; 
        }
    };
 
 
 
    //Удаление элемента
    void delElement( string Key ){
        node * n = search(Key); node *q;
        q=n;
        if ( n == 0 ){
            cout << "Value not found!" <<endl;
            return;
        }
        else if (n == this->root) {
            removeRoot();
        }
        else if (( n->left == 0) && (n->right == 0 )) {      //Если у элемента нету ни левого, ни правого ответвления
            if ( n->parent->left == n) 
                n->parent->left = 0;
            else      
                n->parent->right = 0;
            delete n;
        }
        else if ( n-> left == 0)  {
            n->right->parent = n->parent;
            if (n->parent->right == n)
            n->parent->right = n->right;
            else 
            n->parent->left = n->right;
            n=n->right;
            delete q;
        }
        else if ( n-> right == 0)  {
            n->left->parent = n->parent;
            if (n->parent->right == n)
            n->parent->right = n->left;
            else
            n->parent->left = n->left;
            n=n->left;
            delete q;
        }
        else{ 
            node *buf1, *buf2;
            node *f=Rightmost(n->left);
            if (n->parent->left == n) 
                n->parent->left = f;
            else n->parent->right = f;
            buf1=n->left;
            buf2=n->right;
            n=f;
            f->left=buf1;
            f->right=buf2;
            delete q;
 
        }
        cout << "Element has been seccessefully deleted" << endl;
    };
 
 
};
 
void ShowMenu(){
    system("cls");
    cout << " -------------------------------------------   " << endl;
    cout << "|     1. Create new tree                    |  " << endl;
    cout << "|     2. Read from keyboard                 |  " << endl;
    cout << "|     3. Read from file                     |  " << endl;
    cout << "|     4. Show translation of the word       |  " << endl;
    cout << "|     5. Delete element                     |  " << endl;
    cout << "|     6. Show the whole tree                |  " << endl;
    cout << "|     0. EXIT                               |  " << endl;
    cout << " -------------------------------------------   " << endl;
    cout << "Press number to continue                       " << endl;
};
 
int _tmain(int argc, _TCHAR* argv[]){
    setlocale(LC_ALL,"russian");     //Русская кодировка
    Tree <string> Slovar;
    string key,info;
    short int selector=255;
    for (;;){
        ShowMenu();
        cin >> (selector);
        switch (selector) {
        case 1: {
            string key,info;
            cout << "Enter word" << endl;
            cin >> key;
            cout << "Enter translation" << endl;
            cin >> info;
            Slovar.first(key,info);
            break;
                }
 
        case 2: { 
            short int i,j;
            cout <<"How much words you would like to add?" <<endl;
            cin >> j;
            for (i=0;i<j;i++) {
                cout << "Enter " << i+1 << " word" << endl;
                cin >> key;
                cout << "Enter " << key << " translation" << endl;
                cin >> info;
                Slovar.addElement(key,info);
            }
            break;
                }
 
        case 3: { 
            ifstream potok("note.txt");   // для работы со string'oм проще использовать stream, то есть поток; 
            string key,info;
            while(potok){
                getline(potok,key);
                getline(potok,info);
                if (Slovar.search(key) == 0 ){
                Slovar.addElement(key,info);
                }
            }
            break;
                }
 
        case 4: {
            string key;
            cout << "Enter the word" << endl;
            cin >> key;
            cout << key << " means " << Slovar.search(key)->info << endl;
            break;
                }
        case 5: {
            string key;
            cout << "Enter the word" << endl;
            cin >> key;
            Slovar.delElement(key);
            break;
                }
        case 6: {
            Slovar.showTree();
            break;
                }
        case 0: {
            return(0);
                }
        };
 
        system("pause");
    };
};
0
Programming
Эксперт
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
22.06.2013, 02:24
Ответы с готовыми решениями:

Классы, наследование, бинарное и n-арное деревья
&quot;Создать класс-родитель «бинарное дерево» и его класс-наследник «n-арное дерево». Предусмотреть...

Курсач по теме: Структуры данных. Двоичные деревья поиска. Красно-черные деревья
Здравствуйте, я первокурсник, преподавателя по информатике месяца 2 не было, потом появился, дал...

Деревья принятия решения (Деревья классификации)
Доброго времени суток! Столкнулся с такой проблемой: требуется написать программу на Pascal для...

Непонятна тема (Классы содержащие другие классы, как данные члены )
Изучаю книгу Джесс Либерти(в частности эту главу в данный момент) #include &lt;iostream&gt; class...

6
Форумчанин
Эксперт CЭксперт С++
8215 / 5045 / 1437
Регистрация: 29.11.2010
Сообщений: 13,453
22.06.2013, 02:35 2
А что, если в функции Search просто возвращать информацию сразу?
Дело в том, что указатель просто стирается при выходе с функции и становится невалидным на момент обращения. Возвращайте node, принимая по ссылке на константу, это продлевает время жизни объекта на стеке (в вашем случае локальной переменной pv), либо возвращайте сразу info.
1
48 / 4 / 0
Регистрация: 09.10.2012
Сообщений: 66
22.06.2013, 03:10  [ТС] 3
Цитата Сообщение от MrGluck Посмотреть сообщение
А что, если в функции Search просто возвращать информацию сразу?
Дело в том, что указатель просто стирается при выходе с функции и становится невалидным на момент обращения. Возвращайте node, принимая по ссылке на константу, это продлевает время жизни объекта на стеке (в вашем случае локальной переменной pv), либо возвращайте сразу info.
Посмотрите ЛС пожалуйста!
0
Форумчанин
Эксперт CЭксперт С++
8215 / 5045 / 1437
Регистрация: 29.11.2010
Сообщений: 13,453
22.06.2013, 03:23 4
в код не вникал, проверяйте. Решил обойтись "хаком", иначе у вас весь код менять надо будет
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
#include "iostream"
#include <fstream>
#include <string>
using namespace std;
 
 
template <class Date>     //Шаблон класса для универсального типа хранимых данных
class Tree {
    struct node{
        string key;
        Date info;
        node *parent,*left,*right;
    };
 
private: 
    node *root;
    void printTree( node *root, int level=0 ){      
        if (root != 0){
            printTree( root->right, level + 1 );
            for ( int i = 0; i < level; i++ ) cout << "\t";
            cout << root->key <<endl;
            printTree( root->left, level + 1 );
        }
    };
    node * Leftmost( node *root ) {
        if (root == NULL)
            return NULL;
        if (root->left != NULL) {
            return Leftmost(root->left);
        }
        return root;
    };
    node * Rightmost( node *root ) {
        if (root == NULL)
            return NULL;
        if (root->right != NULL) {
            return Rightmost(root->right);
        }
        return root;
    };
 
 
public:
    node *tmp; // для возврата значения с функции поиска
    //Обнуление указателя на корень
 
    Tree() {            
        this->root=0;
    };
 
    //Cоздание первого элемента
 
    void first( string Keyword, Date information ){     
        node *pf=new node;
        pf->key=Keyword;
        pf->info=information;
        pf->left=pf->right=pf->parent = 0;
        this->root=pf;
    };
 
    //Обход дерева
    void showTree(){         
        printTree( this->root, 0 );
    };
 
    //Добавление элемента(поиск места)
    node *addElement(string Key, Date information){
        node *pv = this->root,*prev;
        bool found = false;
        while ( pv && !found )
        {
            prev = pv;
            if ( pv->key == Key ) 
                found = true;
            else if ( pv->key > Key )
                pv = pv->left;
            else pv = pv->right;
        }
        if (found) {
            cout <<"Такой элемент уже существует"<<endl;
            return pv;
        }
 
        // Создание нового узла, если элемент не найден:
        node *pnew = new node;
        pnew->key=Key;
        pnew->info=information;
        pnew->left = 0;
        pnew->right = 0;
        pnew->parent = prev;
 
        if ( prev->key > Key )
            prev->left  = pnew;
        else
            prev->right = pnew;
 
        return pnew;
    };
 
    //Поиск
    node *search( string Key ){  
        tmp = this->root;
        bool found = false;
        while ( tmp && !found )
        {
            if ( tmp->key == Key ) 
                found = true;
            else if ( tmp->key > Key )
                tmp = tmp->left;
            else 
                tmp  = tmp->right;
        }
        if ( found )
            return tmp;
        else return 0;
    };
 
    //Удаление корня
 
    void removeRoot(){
        node *r =this->root;
        if ( ( r->right == 0 ) && ( r->left == 0 ) )
        {   this->root = 0;
        delete (r);
        }
        else {
            this->root=Rightmost(r->left);
            this->root->parent=0;
 
            delete r; 
        }
    };
 
 
 
    //Удаление элемента
    void delElement( string Key ){
        node * n = search(Key); node *q;
        q=n;
        if ( n == 0 ){
            cout << "Value not found!" <<endl;
            return;
        }
        else if (n == this->root) {
            removeRoot();
        }
        else if (( n->left == 0) && (n->right == 0 )) {      //Если у элемента нету ни левого, ни правого ответвления
            if ( n->parent->left == n) 
                n->parent->left = 0;
            else      
                n->parent->right = 0;
            delete n;
        }
        else if ( n-> left == 0)  {
            n->right->parent = n->parent;
            if (n->parent->right == n)
            n->parent->right = n->right;
            else 
            n->parent->left = n->right;
            n=n->right;
            delete q;
        }
        else if ( n-> right == 0)  {
            n->left->parent = n->parent;
            if (n->parent->right == n)
            n->parent->right = n->left;
            else
            n->parent->left = n->left;
            n=n->left;
            delete q;
        }
        else{ 
            node *buf1, *buf2;
            node *f=Rightmost(n->left);
            if (n->parent->left == n) 
                n->parent->left = f;
            else n->parent->right = f;
            buf1=n->left;
            buf2=n->right;
            n=f;
            f->left=buf1;
            f->right=buf2;
            delete q;
 
        }
        cout << "Element has been seccessefully deleted" << endl;
    };
 
 
};
 
void ShowMenu(){
    system("cls");
    cout << " -------------------------------------------   " << endl;
    cout << "|     1. Create new tree                    |  " << endl;
    cout << "|     2. Read from keyboard                 |  " << endl;
    cout << "|     3. Read from file                     |  " << endl;
    cout << "|     4. Show translation of the word       |  " << endl;
    cout << "|     5. Delete element                     |  " << endl;
    cout << "|     6. Show the whole tree                |  " << endl;
    cout << "|     0. EXIT                               |  " << endl;
    cout << " -------------------------------------------   " << endl;
    cout << "Press number to continue                       " << endl;
};
 
int main(){
    setlocale(LC_ALL,"russian");     //Русская кодировка
    Tree <string> Slovar;
    string key,info;
    short int selector=255;
    for (;;){
        ShowMenu();
        cin >> (selector);
        switch (selector) {
        case 1: {
            string key,info;
            cout << "Enter word" << endl;
            cin >> key;
            cout << "Enter translation" << endl;
            cin >> info;
            Slovar.first(key,info);
            break;
                }
 
        case 2: { 
            short int i,j;
            cout <<"How much words you would like to add?" <<endl;
            cin >> j;
            for (i=0;i<j;i++) {
                cout << "Enter " << i+1 << " word" << endl;
                cin >> key;
                cout << "Enter " << key << " translation" << endl;
                cin >> info;
                Slovar.addElement(key,info);
            }
            break;
                }
 
        case 3: { 
            ifstream potok("note.txt");   // для работы со string'oм проще использовать stream, то есть поток; 
            string key,info;
            while(potok){
                getline(potok,key);
                getline(potok,info);
                if (Slovar.search(key) == 0 ){
                Slovar.addElement(key,info);
                }
            }
            break;
                }
 
        case 4: {
            string key;
            cout << "Enter the word" << endl;
            cin >> key;
            cout << key << " means " << Slovar.search(key)->info << endl;
            break;
                }
        case 5: {
            string key;
            cout << "Enter the word" << endl;
            cin >> key;
            Slovar.delElement(key);
            break;
                }
        case 6: {
            Slovar.showTree();
            break;
                }
        case 0: {
            return(0);
                }
        };
 
        system("pause");
    };
}
Лс отослать не дает, много букв
0
48 / 4 / 0
Регистрация: 09.10.2012
Сообщений: 66
22.06.2013, 04:10  [ТС] 5
Не помогло(
0
2848 / 1997 / 986
Регистрация: 21.12.2010
Сообщений: 3,705
Записей в блоге: 10
22.06.2013, 10:26 6
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
#include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
using namespace std;
 
 
template <class Date>     //Шаблон класса для универсального типа хранимых данных
class Tree
{
public:
 
    struct node
    {
        node() : parent(0), left(0), right(0) {}
 
        node(string const& _key, Date const& _info) : key(_key), info(_info), parent(0), left(0), right(0) {}
 
        void insert(string const& _key, Date const& _info)
        {
            if(_key > key)
            {
                if(right)
                    right->insert(_key, _info);
                else
                {
                    right = new node(_key, _info);
                    right->parent = this;
                }
            }
            else if(_key < key)
            {
                if(left)
                    left->insert(_key, _info);
                else
                {
                    left = new node(_key, _info);
                    left->parent = this;
                }
            }
            else
                std::cerr << "Ключ уже существует\n";
        }
 
        string key;
        Date info;
        node *parent, *left, *right;
    };
 
    //Конструктор дерева
    Tree() : proot(0) {}
 
    //Обход дерева
    void showTree()
    {
        printTree( proot, 0 );
    }
 
    //Добавление уникального элемента
    void insert(string key, Date info)
    {
        if(!proot)
            proot = new node(key, info);
        else
            proot->insert(key, info);
    }
 
    //Поиск
    node *search( string Key )
    {
        node *pv = proot;
        bool found = false;
        while ( pv && !found )
        {
            if ( pv->key == Key )
                found = true;
            else if ( pv->key > Key )
                pv = pv->left;
            else
                pv  = pv->right;
        }
        return (found ? pv : 0);
    }
 
    //Удаление элемента
    void erase( string const& Key )
    {
        node * pfound = search(Key);
        if ( !pfound )
            cout << "Key not found" << endl;
        else // если узел в дереве найден
        {
            if(pfound->left)
            {
                node* prm = Rightmost(pfound->left);
                prm->right = pfound->right;
                pfound->left->parent = pfound->parent;
                if(pfound->parent)
                    pfound->parent->left == pfound ? pfound->parent->left = pfound->left : pfound->parent->right = pfound->left;
                else
                    proot = pfound->left;
                delete pfound;
                pfound = 0;
            }
            else if(pfound->right)
            {
                pfound->right->parent = pfound->parent;
                if(pfound->parent)
                    pfound->parent->left == pfound ? pfound->parent->left = pfound->right : pfound->parent->right = pfound->right;
                else
                    proot = pfound->right;
                delete pfound;
                pfound = 0;
            }
            else
            {
                if(pfound->parent)
                    pfound->parent->left == pfound ? pfound->parent->left = 0 : pfound->parent->right = 0;
                else
                    proot = 0;
                delete pfound;
                pfound = 0;
            }
            cout << "Element has been seccessefully deleted" << endl;
        }
    }
 
private:
    node *proot;
 
    void printTree( node *proot, int level=0 )
    {
        if (proot)
        {
            printTree( proot->right, level + 1 );
            for ( int i = 0; i < level; i++ ) cout << "\t";
            cout << proot->key << " - " << proot->info << endl;
            printTree( proot->left, level + 1 );
        }
    }
 
    node * Leftmost( node *proot )
    {
        if (proot->left)
            return Leftmost(proot->left);
        return proot;
    }
 
    node * Rightmost( node *proot )
    {
        if (proot->right)
            return Rightmost(proot->right);
        return proot;
    }
};
 
void ShowMenu()
{
    system("cls");
    cout << " -------------------------------------------   " << endl;
    cout << "|     1. Read from keyboard                 |  " << endl;
    cout << "|     2. Read from file                     |  " << endl;
    cout << "|     3. Translate word                     |  " << endl;
    cout << "|     4. Delete element                     |  " << endl;
    cout << "|     5. Show the whole tree                |  " << endl;
    cout << "|     0. EXIT                               |  " << endl;
    cout << " -------------------------------------------   " << endl;
    cout << "Input option: ";
};
 
int main()
{
    setlocale(LC_ALL,"rus");     //Русская кодировка
    Tree <string> Slovar;
    string key, info;
    short int selector = 255;
    while(true)
    {
        ShowMenu();
        cin >> (selector);
        switch (selector)
        {
            case 1:
            {
                string key, info;
                cout << "Enter word" << endl;
                cin >> key;
                cout << "Enter translation" << endl;
                cin >> info;
                Slovar.insert(key, info);
                break;
            }
            case 2:
            {
                ifstream ifs("dict.txt");   // для работы со string'oм проще использовать stream, то есть поток;
                if(ifs.is_open())
                {
                    string key, info;
                    while(ifs >> key >> info)
                        Slovar.insert(key, info);
                }
                else
                    std::cerr << "Unable to open input file\n";
                break;
            }
            case 3:
            {
                string key;
                cout << "Enter the word" << endl;
                cin >> key;
                Tree<string>::node* pfound = Slovar.search(key);
                if(pfound)
                    cout << key << " means " << pfound->info << endl;
                else
                    cout << "Key not found\n";
                break;
            }
            case 4:
            {
                string key;
                cout << "Enter the word" << endl;
                cin >> key;
                Slovar.erase(key);
                break;
            }
            case 5:
            {
                Slovar.showTree();
                break;
            }
            case 0:
                return 0;
        }
 
        system("pause");
    }
}
2
Форумчанин
Эксперт CЭксперт С++
8215 / 5045 / 1437
Регистрация: 29.11.2010
Сообщений: 13,453
22.06.2013, 18:34 7
del..
0
22.06.2013, 18:34
IT_Exp
Эксперт
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
22.06.2013, 18:34
Помогаю со студенческими работами здесь

Определить классы абстрактного выражения и классы для различных типов выражений
помогите Реализовать объектно-ориентированную модель, определяет математическое выражение,...

Работа с файловой системой: классы Directory и Filе и классы DirectoryInfo и FileInfo
Уважаемые форумчане помогите пожалуйста с практической работой. Программным путем: В папке...

Структуры данных, коллекции и классы-прототипы. Библиотечные классы коллекций
Ребят в чём ошибки? Нужно чтобы добавляло поля... которые я создал... далее вот продолжение...

Программа по классам, которая использует классы точек и прямых на плоскости, а, возможно, и другие классы
Нужно написать программу, которая использует классы точек и прямых на плоскости, а, возможно, и...


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

Или воспользуйтесь поиском по форуму:
7
Ответ Создать тему
Опции темы

КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2024, CyberForum.ru