MVS Problem

12/30/2013 10:39 szymek111#1
Hi guys ! I have problem with debugging programs in mvs this doesnt matter if i download mvs 2010 or 2013 i have same problem . When i click F5 Or Debug then i can wait 5 h to let this program to show but this dont show ! I cant click anywhere in MVS i cant close it i cant stop debugging i only can terminate process with task manager and when i terminate process denv .exe then there is still debug process example Show.exe i cant terminate this and when i terminate this denv.exe i have also problem with closing windows . It dont close but it is stopping in continue logging or something sorry my english is not perfect . Please help solve this problem !
12/30/2013 11:10 alpines#2
Maybe the problem is in your source? Give us a little example where it happens.
12/30/2013 11:28 szymek111#3
This is no problem with source because it is compiling with 0 errors . And i am still learning c++ soo i am not making too many pieces of code.

This problem is starting when there is 0 errors and program should show but this dont show . I see in mvs that this is still debugging because i cant click anything .
12/30/2013 14:13 Mostey#4
Quote:
Originally Posted by szymek111 View Post
This is no problem with source because it is compiling with 0 errors . And i am still learning c++ soo i am not making too many pieces of code.

This problem is starting when there is 0 errors and program should show but this dont show . I see in mvs that this is still debugging because i cant click anything .
No errors in your program doesn't stand for correctness. Maybe you got a loop which never ends, hence this could block some functions to get executed.

How about trying to make a testproject with just a simple main function and some console outputs. You'll see that this works like a charm.
12/30/2013 15:00 szymek111#5
Yes ... It is no working. Just simple calculator that want 2 numbers .

#include <iostream>
#include <conio.h>

using namespace std;




int main()

{

float a,b;

cout << " Podaj pierwszą liczbę" << endl;

cin >> a;

cout << " Podaj drugą liczbę " << endl;

cin >> b;

float suma;

suma = a+b;

cout << " Suma wynosi:" << suma << endl;


system("pause");


return 0;


}
12/30/2013 16:25 snow#6
"int main();" - remove that semicolon.
12/30/2013 17:46 szymek111#7
I just typed it wrong because i writed this in mobile not in computer while i am not seeing source . Soo this means that this dont works.

Edit@I compiled this one time and in 2 time i get this error ;/

1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
12/31/2013 02:11 alpines#8
Try to use other characters. It produces some errors on machines.
01/02/2014 00:05 szymek111#9
Anyone have solution ? It just stop working in debugging ;/