Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 16:23

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



MVS Problem

Discussion on MVS Problem within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
MVS Problem

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 !
szymek111 is offline  
Old 12/30/2013, 11:10   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Maybe the problem is in your source? Give us a little example where it happens.
alpines is offline  
Old 12/30/2013, 11:28   #3
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
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 .
szymek111 is offline  
Old 12/30/2013, 14:13   #4


 
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
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.
Mostey is offline  
Old 12/30/2013, 15:00   #5
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
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;


}
szymek111 is offline  
Old 12/30/2013, 16:25   #6

 
snow's Avatar
 
elite*gold: 724
Join Date: Mar 2011
Posts: 10,479
Received Thanks: 3,318
"int main();" - remove that semicolon.
snow is offline  
Old 12/30/2013, 17:46   #7
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
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
szymek111 is offline  
Old 12/31/2013, 02:11   #8
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Try to use other characters. It produces some errors on machines.
alpines is offline  
Old 01/02/2014, 00:05   #9
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
Anyone have solution ? It just stop working in debugging ;/
szymek111 is offline  
Reply




All times are GMT +1. The time now is 16:24.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.