С Новым годом! Форум программистов, компьютерный форум, киберфорум
C++/CLI Windows Forms
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 5.00/5: Рейтинг темы: голосов - 5, средняя оценка - 5.00
0 / 0 / 0
Регистрация: 05.06.2018
Сообщений: 1

Ошибки в Visual Studio 2015 при компиляции

05.06.2018, 16:11. Показов 1066. Ответов 1
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Всем здравствуйте. Столкнулся с проблемой при компиляции программы в VS2015. Друг скинул программу, у него нормально запускается и работает, у меня открывается проект, я его запускаю, компиляция проходит без ошибок и после этого программа не отвечает. Попробовал сделать всё сам и создать проект заново. Создал Пустой проект CLR, добавил в него форму, скопировал форму и скопировал код, запустил, теперь выдаёт 2 ошибки LNK2019 и LNK1120 и соответственно выдаёт ошибку что невозможно найти указанный файл для запуска. Помогите пожалуйста, очень надо, уже совсем не знаю что делать, голову ломаю 3-й день.
Вот коды файлов:
MyForm.cpp:
C++
1
2
3
4
5
6
7
8
9
10
#include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThreadAttribute]
void Main(array<String^>^ args) {
    Application::EnableVisualStyles();
    Application::SetCompatibleTextRenderingDefault(false);
    Pro2::MyForm form;
    Application::Run(%form);
}
MyForm.h:
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
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
#pragma once
 
namespace Pro2 {
 
    using namespace System;
    using namespace System::ComponentModel;
    using namespace System::Collections;
    using namespace System::Windows::Forms;
    using namespace System::Data;
    using namespace System::Drawing;
 
    /// <summary>
    /// Сводка для MyForm
    /// </summary>
    public ref class MyForm : public System::Windows::Forms::Form
    {
    public:
        MyForm(void)
        {
            InitializeComponent();
            //
            //TODO: добавьте код конструктора
            //
        }
 
    protected:
        /// <summary>
        /// Освободить все используемые ресурсы.
        /// </summary>
        ~MyForm()
        {
            if (components)
            {
                delete components;
            }
        }
    private: System::Windows::Forms::GroupBox^  groupBox2;
    protected:
    private: System::Windows::Forms::Label^  label22;
    private: System::Windows::Forms::Label^  label21;
    private: System::Windows::Forms::Label^  label20;
    private: System::Windows::Forms::Label^  label19;
    private: System::Windows::Forms::Label^  label18;
    private: System::Windows::Forms::Label^  label17;
    private: System::Windows::Forms::Label^  label16;
    private: System::Windows::Forms::Label^  label15;
    private: System::Windows::Forms::Label^  label14;
    private: System::Windows::Forms::Label^  label13;
    private: System::Windows::Forms::Label^  label12;
    private: System::Windows::Forms::Label^  label11;
    private: System::Windows::Forms::Label^  label10;
    private: System::Windows::Forms::Label^  label9;
    private: System::Windows::Forms::Label^  label8;
    private: System::Windows::Forms::Label^  label7;
    private: System::Windows::Forms::GroupBox^  groupBox1;
    private: System::Windows::Forms::Label^  label4;
    private: System::Windows::Forms::TextBox^  textBox4;
    private: System::Windows::Forms::Label^  label3;
    private: System::Windows::Forms::Label^  label2;
    private: System::Windows::Forms::TextBox^  textBox3;
    private: System::Windows::Forms::TextBox^  textBox2;
    private: System::Windows::Forms::TextBox^  textBox1;
    private: System::Windows::Forms::Label^  label1;
    private: System::Windows::Forms::Button^  button1;
 
    private:
        /// <summary>
        /// Обязательная переменная конструктора.
        /// </summary>
        System::ComponentModel::Container ^components;
 
#pragma region Windows Form Designer generated code
        /// <summary>
        /// Требуемый метод для поддержки конструктора — не изменяйте 
        /// содержимое этого метода с помощью редактора кода.
        /// </summary>
        void InitializeComponent(void)
        {
            this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
            this->label22 = (gcnew System::Windows::Forms::Label());
            this->label21 = (gcnew System::Windows::Forms::Label());
            this->label20 = (gcnew System::Windows::Forms::Label());
            this->label19 = (gcnew System::Windows::Forms::Label());
            this->label18 = (gcnew System::Windows::Forms::Label());
            this->label17 = (gcnew System::Windows::Forms::Label());
            this->label16 = (gcnew System::Windows::Forms::Label());
            this->label15 = (gcnew System::Windows::Forms::Label());
            this->label14 = (gcnew System::Windows::Forms::Label());
            this->label13 = (gcnew System::Windows::Forms::Label());
            this->label12 = (gcnew System::Windows::Forms::Label());
            this->label11 = (gcnew System::Windows::Forms::Label());
            this->label10 = (gcnew System::Windows::Forms::Label());
            this->label9 = (gcnew System::Windows::Forms::Label());
            this->label8 = (gcnew System::Windows::Forms::Label());
            this->label7 = (gcnew System::Windows::Forms::Label());
            this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
            this->label4 = (gcnew System::Windows::Forms::Label());
            this->textBox4 = (gcnew System::Windows::Forms::TextBox());
            this->label3 = (gcnew System::Windows::Forms::Label());
            this->label2 = (gcnew System::Windows::Forms::Label());
            this->textBox3 = (gcnew System::Windows::Forms::TextBox());
            this->textBox2 = (gcnew System::Windows::Forms::TextBox());
            this->textBox1 = (gcnew System::Windows::Forms::TextBox());
            this->label1 = (gcnew System::Windows::Forms::Label());
            this->button1 = (gcnew System::Windows::Forms::Button());
            this->groupBox2->SuspendLayout();
            this->groupBox1->SuspendLayout();
            this->SuspendLayout();
            // 
            // groupBox2
            // 
            this->groupBox2->Controls->Add(this->label22);
            this->groupBox2->Controls->Add(this->label21);
            this->groupBox2->Controls->Add(this->label20);
            this->groupBox2->Controls->Add(this->label19);
            this->groupBox2->Controls->Add(this->label18);
            this->groupBox2->Controls->Add(this->label17);
            this->groupBox2->Controls->Add(this->label16);
            this->groupBox2->Controls->Add(this->label15);
            this->groupBox2->Controls->Add(this->label14);
            this->groupBox2->Controls->Add(this->label13);
            this->groupBox2->Controls->Add(this->label12);
            this->groupBox2->Controls->Add(this->label11);
            this->groupBox2->Controls->Add(this->label10);
            this->groupBox2->Controls->Add(this->label9);
            this->groupBox2->Controls->Add(this->label8);
            this->groupBox2->Controls->Add(this->label7);
            this->groupBox2->Location = System::Drawing::Point(318, 30);
            this->groupBox2->Margin = System::Windows::Forms::Padding(4, 5, 4, 5);
            this->groupBox2->Name = L"groupBox2";
            this->groupBox2->Padding = System::Windows::Forms::Padding(4, 5, 4, 5);
            this->groupBox2->Size = System::Drawing::Size(489, 332);
            this->groupBox2->TabIndex = 14;
            this->groupBox2->TabStop = false;
            this->groupBox2->Text = L"Результат расчета";
            // 
            // label22
            // 
            this->label22->AutoSize = true;
            this->label22->Location = System::Drawing::Point(292, 294);
            this->label22->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label22->Name = L"label22";
            this->label22->Size = System::Drawing::Size(60, 20);
            this->label22->TabIndex = 15;
            this->label22->Text = L"label22";
            // 
            // label21
            // 
            this->label21->AutoSize = true;
            this->label21->Location = System::Drawing::Point(292, 255);
            this->label21->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label21->Name = L"label21";
            this->label21->Size = System::Drawing::Size(60, 20);
            this->label21->TabIndex = 14;
            this->label21->Text = L"label21";
            // 
            // label20
            // 
            this->label20->AutoSize = true;
            this->label20->Location = System::Drawing::Point(292, 220);
            this->label20->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label20->Name = L"label20";
            this->label20->Size = System::Drawing::Size(60, 20);
            this->label20->TabIndex = 13;
            this->label20->Text = L"label20";
            // 
            // label19
            // 
            this->label19->AutoSize = true;
            this->label19->Location = System::Drawing::Point(292, 186);
            this->label19->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label19->Name = L"label19";
            this->label19->Size = System::Drawing::Size(60, 20);
            this->label19->TabIndex = 12;
            this->label19->Text = L"label19";
            // 
            // label18
            // 
            this->label18->AutoSize = true;
            this->label18->Location = System::Drawing::Point(292, 158);
            this->label18->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label18->Name = L"label18";
            this->label18->Size = System::Drawing::Size(60, 20);
            this->label18->TabIndex = 11;
            this->label18->Text = L"label18";
            // 
            // label17
            // 
            this->label17->AutoSize = true;
            this->label17->Location = System::Drawing::Point(292, 112);
            this->label17->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label17->Name = L"label17";
            this->label17->Size = System::Drawing::Size(60, 20);
            this->label17->TabIndex = 10;
            this->label17->Text = L"label17";
            // 
            // label16
            // 
            this->label16->AutoSize = true;
            this->label16->Location = System::Drawing::Point(292, 71);
            this->label16->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label16->Name = L"label16";
            this->label16->Size = System::Drawing::Size(60, 20);
            this->label16->TabIndex = 9;
            this->label16->Text = L"label16";
            // 
            // label15
            // 
            this->label15->AutoSize = true;
            this->label15->Location = System::Drawing::Point(292, 34);
            this->label15->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label15->Name = L"label15";
            this->label15->Size = System::Drawing::Size(60, 20);
            this->label15->TabIndex = 8;
            this->label15->Text = L"label15";
            // 
            // label14
            // 
            this->label14->AutoSize = true;
            this->label14->Location = System::Drawing::Point(9, 294);
            this->label14->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label14->Name = L"label14";
            this->label14->Size = System::Drawing::Size(135, 20);
            this->label14->TabIndex = 7;
            this->label14->Text = L"H2=Tr2/T - КПД 2";
            // 
            // label13
            // 
            this->label13->AutoSize = true;
            this->label13->Location = System::Drawing::Point(9, 255);
            this->label13->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label13->Name = L"label13";
            this->label13->Size = System::Drawing::Size(177, 20);
            this->label13->TabIndex = 6;
            this->label13->Text = L"H1=(Tr1+Tr3)/T - КПД 1";
            // 
            // label12
            // 
            this->label12->AutoSize = true;
            this->label12->Location = System::Drawing::Point(9, 220);
            this->label12->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label12->Name = L"label12";
            this->label12->Size = System::Drawing::Size(249, 20);
            this->label12->TabIndex = 5;
            this->label12->Text = L"Tp2=T-Tr1-Tr3 - время простоя 2";
            // 
            // label11
            // 
            this->label11->AutoSize = true;
            this->label11->Location = System::Drawing::Point(9, 186);
            this->label11->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label11->Name = L"label11";
            this->label11->Size = System::Drawing::Size(221, 20);
            this->label11->TabIndex = 4;
            this->label11->Text = L"Tp1=T-Tr2 - время простоя 1";
            // 
            // label10
            // 
            this->label10->AutoSize = true;
            this->label10->Location = System::Drawing::Point(9, 158);
            this->label10->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label10->Name = L"label10";
            this->label10->Size = System::Drawing::Size(165, 20);
            this->label10->TabIndex = 3;
            this->label10->Text = L"Tr3 - время работы 3";
            // 
            // label9
            // 
            this->label9->AutoSize = true;
            this->label9->Location = System::Drawing::Point(9, 112);
            this->label9->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label9->Name = L"label9";
            this->label9->Size = System::Drawing::Size(165, 20);
            this->label9->TabIndex = 2;
            this->label9->Text = L"Tr2 - время работы 2";
            // 
            // label8
            // 
            this->label8->AutoSize = true;
            this->label8->Location = System::Drawing::Point(9, 71);
            this->label8->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label8->Name = L"label8";
            this->label8->Size = System::Drawing::Size(165, 20);
            this->label8->TabIndex = 1;
            this->label8->Text = L"Tr1 - время работы 1";
            // 
            // label7
            // 
            this->label7->AutoSize = true;
            this->label7->Location = System::Drawing::Point(9, 34);
            this->label7->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label7->Name = L"label7";
            this->label7->Size = System::Drawing::Size(260, 20);
            this->label7->TabIndex = 0;
            this->label7->Text = L"T - общее время работы системы\r\n";
            // 
            // groupBox1
            // 
            this->groupBox1->Controls->Add(this->label4);
            this->groupBox1->Controls->Add(this->textBox4);
            this->groupBox1->Controls->Add(this->label3);
            this->groupBox1->Controls->Add(this->label2);
            this->groupBox1->Controls->Add(this->textBox3);
            this->groupBox1->Controls->Add(this->textBox2);
            this->groupBox1->Controls->Add(this->textBox1);
            this->groupBox1->Controls->Add(this->label1);
            this->groupBox1->Location = System::Drawing::Point(10, 30);
            this->groupBox1->Margin = System::Windows::Forms::Padding(4, 5, 4, 5);
            this->groupBox1->Name = L"groupBox1";
            this->groupBox1->Padding = System::Windows::Forms::Padding(4, 5, 4, 5);
            this->groupBox1->Size = System::Drawing::Size(300, 206);
            this->groupBox1->TabIndex = 13;
            this->groupBox1->TabStop = false;
            this->groupBox1->Text = L"Входные данные";
            // 
            // label4
            // 
            this->label4->AutoSize = true;
            this->label4->Location = System::Drawing::Point(10, 158);
            this->label4->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label4->Name = L"label4";
            this->label4->Size = System::Drawing::Size(20, 20);
            this->label4->TabIndex = 16;
            this->label4->Text = L"N";
            // 
            // textBox4
            // 
            this->textBox4->Location = System::Drawing::Point(69, 154);
            this->textBox4->Margin = System::Windows::Forms::Padding(4, 5, 4, 5);
            this->textBox4->Name = L"textBox4";
            this->textBox4->Size = System::Drawing::Size(148, 26);
            this->textBox4->TabIndex = 15;
            // 
            // label3
            // 
            this->label3->AutoSize = true;
            this->label3->Location = System::Drawing::Point(10, 117);
            this->label3->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label3->Name = L"label3";
            this->label3->Size = System::Drawing::Size(29, 20);
            this->label3->TabIndex = 14;
            this->label3->Text = L"C3";
            // 
            // label2
            // 
            this->label2->AutoSize = true;
            this->label2->Location = System::Drawing::Point(10, 75);
            this->label2->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label2->Name = L"label2";
            this->label2->Size = System::Drawing::Size(29, 20);
            this->label2->TabIndex = 13;
            this->label2->Text = L"C2";
            // 
            // textBox3
            // 
            this->textBox3->Location = System::Drawing::Point(69, 112);
            this->textBox3->Margin = System::Windows::Forms::Padding(4, 5, 4, 5);
            this->textBox3->Name = L"textBox3";
            this->textBox3->Size = System::Drawing::Size(148, 26);
            this->textBox3->TabIndex = 12;
            // 
            // textBox2
            // 
            this->textBox2->Location = System::Drawing::Point(69, 71);
            this->textBox2->Margin = System::Windows::Forms::Padding(4, 5, 4, 5);
            this->textBox2->Name = L"textBox2";
            this->textBox2->Size = System::Drawing::Size(148, 26);
            this->textBox2->TabIndex = 11;
            // 
            // textBox1
            // 
            this->textBox1->Location = System::Drawing::Point(69, 29);
            this->textBox1->Margin = System::Windows::Forms::Padding(4, 5, 4, 5);
            this->textBox1->Name = L"textBox1";
            this->textBox1->Size = System::Drawing::Size(148, 26);
            this->textBox1->TabIndex = 10;
            // 
            // label1
            // 
            this->label1->AutoSize = true;
            this->label1->Location = System::Drawing::Point(10, 34);
            this->label1->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
            this->label1->Name = L"label1";
            this->label1->Size = System::Drawing::Size(29, 20);
            this->label1->TabIndex = 9;
            this->label1->Text = L"C1";
            // 
            // button1
            // 
            this->button1->Location = System::Drawing::Point(-4, 274);
            this->button1->Margin = System::Windows::Forms::Padding(4, 5, 4, 5);
            this->button1->Name = L"button1";
            this->button1->Size = System::Drawing::Size(314, 89);
            this->button1->TabIndex = 12;
            this->button1->Text = L"Расчитать";
            this->button1->UseVisualStyleBackColor = true;
            // 
            // MyForm
            // 
            this->AutoScaleDimensions = System::Drawing::SizeF(9, 20);
            this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
            this->ClientSize = System::Drawing::Size(832, 396);
            this->Controls->Add(this->groupBox2);
            this->Controls->Add(this->groupBox1);
            this->Controls->Add(this->button1);
            this->Name = L"MyForm";
            this->Text = L"MyForm";
            this->groupBox2->ResumeLayout(false);
            this->groupBox2->PerformLayout();
            this->groupBox1->ResumeLayout(false);
            this->groupBox1->PerformLayout();
            this->ResumeLayout(false);
 
        }
#pragma endregion
        private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
            button1->Text = "Производится расчет ";
            button1->Enabled = false;
            int n;
            int c1;
            int c2;
            int c3;
            int t = 0;
            int x1 = 0;
            int x2 = 0;
            int x3 = 0;
            int tr1 = 0;
            int tr2 = 0;
            int tr3 = 0;
            int a1 = 0;
            int a2 = 0;
            int a3 = 0;
            c1 = System::Convert::ToInt32(textBox1->Text);
            c2 = System::Convert::ToInt32(textBox2->Text);
            c3 = System::Convert::ToInt32(textBox3->Text);
            n = System::Convert::ToInt32(textBox4->Text);
            while (n != 0) {
                t = t + 1;
                //====================================================
                if (a1 >= 1) { a1 = a1 - 1; }
                else {
                    if (x2 > 0) { a1 = 0; }
                    else
                    {
                        if (x3 <= 1) { a1 = c1; }
                        else { a1 = 0; }
                    }
 
                }
 
                if (a1 > 0) { x1 = 0; }
                else {
                    if (a1 = 1) { x1 = 1; }
                    else { x1 = 2; }
                }
 
                //====================================================
                if (a2 >= 1) { a2 = a2 - 1; }
                else {
                    if (x3 > 0) { a2 = 0; }
                    else
                    {
                        if (x1 <= 1) { a2 = c2; }
                        else { a2 = 0; }
                    }
 
                }
 
                if (a2 > 0) { x2 = 0; }
                else {
                    if (a2 = 1) { x2 = 1; }
                    else { x2 = 2; }
                }
                //====================================================
                if (a3 >= 1) { a3 = a3 - 1; }
                else {
                    if (x1 > 0) { a3 = 0; }
                    else
                    {
                        if (x2 <= 1) { a3 = c1; }
                        else { a3 = 0; }
                    }
 
                }
 
                if (a3 > 0) { x3 = 0; }
                else {
                    if (a3 = 1) { x3 = 1; }
                    else { x3 = 2; }
                }
                //====================================================
                if (x1 > 0) { tr1 = tr1 + 1; }
                if (x2 > 0) { tr2 = tr2 + 1; }
                if (x3 > 0) { tr3 = tr3 + 1; }
                //===================================================
                if ((x1 = 2)&(x2 = 0)&(x3 = 0)) { n = n - 1; }
 
            }
            //================ вывод результатов ===============
 
            button1->Text = "Расчитать ";
            button1->Enabled = true;
            label15->Text = System::Convert::ToString(t);
            label16->Text = System::Convert::ToString(tr1);
            label17->Text = System::Convert::ToString(tr2);
            label18->Text = System::Convert::ToString(tr3);
            label19->Text = System::Convert::ToString(t - tr2);
            label20->Text = System::Convert::ToString(t - tr1 - tr2);
            label21->Text = System::Convert::ToString((tr1 + tr3) / t);
            label22->Text = System::Convert::ToString(tr2 / t);
        }
private: System::Void MyForm_Load(System::Object^  sender, System::EventArgs^  e) {
    label15->Text = "";
    label16->Text = "";
    label17->Text = "";
    label18->Text = "";
    label19->Text = "";
    label20->Text = "";
    label21->Text = "";
    label22->Text = "";
}
    };
}
Миниатюры
Ошибки в Visual Studio 2015 при компиляции   Ошибки в Visual Studio 2015 при компиляции   Ошибки в Visual Studio 2015 при компиляции  

0
IT_Exp
Эксперт
34794 / 4073 / 2104
Регистрация: 17.06.2006
Сообщений: 32,602
Блог
05.06.2018, 16:11
Ответы с готовыми решениями:

Создал поток в классе (visual studio 2015). Возникли ошибки. Как исправить?
На нижеуказанных скринах описаны ошибки. Помогите пожалуйста их исправить. Потому что взял эти куски из примеров из нета. И судя по всему...

Ошибка при компиляции игры в Visual Studio 2015
Столкнулся с проблемой при компиляции моей игры на Unrial Engine 4.11.2 в Visual Studio 2015. При выборе компилятора Dubug Game, Shipping...

Ошибки при компиляции проекта в Visual Studio
Всем привет. Помогите настроить VS Вот пошаговые действия: нажимаю создать проект и выбираю Консольное приложение WIN32, затем в...

1
 Аватар для Sklifosofsky
1085 / 915 / 213
Регистрация: 29.09.2015
Сообщений: 1,019
06.06.2018, 21:58
Создание графического приложения (Windows Forms) в Visual Studio
Почитайте, особенно ту часть, где нужно выполнить небольшие настройки в свойствах проекта
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
BasicMan
Эксперт
29316 / 5623 / 2384
Регистрация: 17.02.2009
Сообщений: 30,364
Блог
06.06.2018, 21:58
Помогаю со студенческими работами здесь

Visual Studio 2010 + Windows 7 x64. Ошибки при компиляции
Здравствуйте. Использую Visual Studio 2010 и Windows 7 x64 Компилю код. Получаю экзешник. На компьютере запускается нормально. Пробую...

Настроить Visual Studio, чтобы при компиляции проекта ошибки подчеркивались красным цветом
Как настроить Visual Studio чтобы при компиляции проекта ошибки компилляции подчеркивались красным цветом?? чтоб было видно в какой строчке...

Непонятные ошибки в MS Visual studio 2015 (комюнити)
Выводит ошибки которых не существует, примеры: &quot;идентификатор cin не определен&quot;, или вот еще &quot;идентификатор MoveLeft не...

Возникает ошибка при установке Visual C++ Redistributable for Visual Studio 2015
При установке visual c++ redistributable for visual studio 2015 возникает вот такая вот ошибка. Гугление положительного результата не...

В коде возникли ошибки при переходе с Visual studio 2013 на Visual studio 2017
Добрый день, решил попробовать поменять свою 2013 студию на 2017 и заметил такую проблему, при открытии проектов 13 года и даже копирования...


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

Или воспользуйтесь поиском по форуму:
2
Ответ Создать тему
Новые блоги и статьи
Учёным и волонтёрам проекта «Einstein@home» удалось обнаружить четыре гамма-лучевых пульсара в джете Млечного Пути
Programma_Boinc 01.01.2026
Учёным и волонтёрам проекта «Einstein@home» удалось обнаружить четыре гамма-лучевых пульсара в джете Млечного Пути Сочетание глобально распределённой вычислительной мощности и инновационных. . .
Советы по крайней бережливости. Внимание, это ОЧЕНЬ длинный пост.
Programma_Boinc 28.12.2025
Советы по крайней бережливости. Внимание, это ОЧЕНЬ длинный пост. Налог на собак: https:/ / **********/ gallery/ V06K53e Финансовый отчет в Excel: https:/ / **********/ gallery/ bKBkQFf Пост отсюда. . .
Кто-нибудь знает, где можно бесплатно получить настольный компьютер или ноутбук? США.
Programma_Boinc 26.12.2025
Нашел на реддите интересную статью под названием Anyone know where to get a free Desktop or Laptop? Ниже её машинный перевод. После долгих разбирательств я наконец-то вернула себе. . .
Thinkpad X220 Tablet — это лучший бюджетный ноутбук для учёбы, точка.
Programma_Boinc 23.12.2025
Рецензия / Мнение/ Перевод Нашел на реддите интересную статью под названием The Thinkpad X220 Tablet is the best budget school laptop period . Ниже её машинный перевод. Thinkpad X220 Tablet —. . .
PhpStorm 2025.3: WSL Terminal всегда стартует в ~
and_y87 14.12.2025
PhpStorm 2025. 3: WSL Terminal всегда стартует в ~ (home), игнорируя директорию проекта Симптом: После обновления до PhpStorm 2025. 3 встроенный терминал WSL открывается в домашней директории. . .
Как объединить две одинаковые БД Access с разными данными
VikBal 11.12.2025
Помогите пожалуйста !! Как объединить 2 одинаковые БД Access с разными данными.
Новый ноутбук
volvo 07.12.2025
Всем привет. По скидке в "черную пятницу" взял себе новый ноутбук Lenovo ThinkBook 16 G7 на Амазоне: Ryzen 5 7533HS 64 Gb DDR5 1Tb NVMe 16" Full HD Display Win11 Pro
Музыка, написанная Искусственным Интеллектом
volvo 04.12.2025
Всем привет. Некоторое время назад меня заинтересовало, что уже умеет ИИ в плане написания музыки для песен, и, собственно, исполнения этих самых песен. Стихов у нас много, уже вышли 4 книги, еще 3. . .
От async/await к виртуальным потокам в Python
IndentationError 23.11.2025
Армин Ронахер поставил под сомнение async/ await. Создатель Flask заявляет: цветные функции - провал, виртуальные потоки - решение. Не threading-динозавры, а новое поколение лёгких потоков. Откат?. . .
Поиск "дружественных имён" СОМ портов
Argus19 22.11.2025
Поиск "дружественных имён" СОМ портов На странице: https:/ / norseev. ru/ 2018/ 01/ 04/ comportlist_windows/ нашёл схожую тему. Там приведён код на С++, который показывает только имена СОМ портов, типа,. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru