[Dev-C++] Antw: Debugsession does not open a console window
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Frank W. <F.W...@wi...> - 2007-04-16 07:59:49
|
Hi again,
and thanks to churin for his reply, but I still get the problem.
For a little more information my code looks like this:
#include <string>
#include <fstream>
#include <iostream>
using namespace std;
char zeichen, endchar;
int line =3D 1, ans, mess, conf, mode, ANA_SW;
main()
{
string infilename;
ifstream infile;
=09
cout << "Dateiname? " << flush;
cin >> infilename;
infile.open(infilename.c_str(), ios::binary | ios::in);
while(infile.get(zeichen))
{
......so something=20
}
}
At normal execution at the line cout << ... a console window opens but not =
in debug mode.
I set breakpoints to at this line and at lines before and steped through =
the code in single step mode but when I reach the cout, cin line no =
console window appear so I'm not able to input a infilename.
I can't imagine where the problem is, maybe someone has a hint to look at.
Greetings
Frank
WIKA Alexander Wiegand GmbH & Co. KG=20
Alexander-Wiegand-Stra=DFe 30 - 63911 Klingenberg - Germany=20
Kommanditgesellschaft: Sitz Klingenberg - Amtsgericht Aschaffenburg HRA =
1819=20
Komplement=E4rin: WIKA Alexander Wiegand Verwaltungs GmbH - Sitz Klingenber=
g -=20
Amtsgericht Aschaffenburg HRB 306=20
Gesch=E4ftsf=FChrer: Alexander Wiegand=20
Telefon: (09372) 132-0=20
Internet: www.wika.com=20
---------------------------------------------------------------------------=
---------------------
The information contained in this E-mail and any attached files are =
strictly=20
confidential and may be subject to legal privilege. If you are not the=20
intended recipient, his representative or the person responsible for =
delivering=20
the message to the intended recipient, be advised that you have received =
this=20
message in error and that any dissemination, copying or use of this =
message=20
or attachment is strictly forbidden, as is the disclosure of the informatio=
n=20
therein. If you have received this E-mail in error, please notify us =
immediately=20
by E-mail or telephone and delete this message and all its attachments=20
subsequently. All reasonable precautions have been taken to ensure no=20
viruses are present in this E-mail.=20
---------------------------------------------------------------------------=
---------------------=20
=20
|